@azure/arm-avs 4.0.0-alpha.20240617.1 → 5.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 (292) hide show
  1. package/CHANGELOG.md +195 -7
  2. package/LICENSE +1 -1
  3. package/dist/index.js +9636 -7986
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/addonsCreateOrUpdateSample.js +20 -20
  8. package/dist-esm/samples-dev/addonsCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/addonsDeleteSample.js +3 -3
  10. package/dist-esm/samples-dev/addonsGetSample.js +12 -12
  11. package/dist-esm/samples-dev/addonsListSample.js +3 -3
  12. package/dist-esm/samples-dev/authorizationsCreateOrUpdateSample.js +4 -4
  13. package/dist-esm/samples-dev/authorizationsCreateOrUpdateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/authorizationsDeleteSample.js +3 -3
  15. package/dist-esm/samples-dev/authorizationsGetSample.js +3 -3
  16. package/dist-esm/samples-dev/authorizationsListSample.js +3 -3
  17. package/dist-esm/samples-dev/cloudLinksCreateOrUpdateSample.js +4 -4
  18. package/dist-esm/samples-dev/cloudLinksDeleteSample.js +3 -3
  19. package/dist-esm/samples-dev/cloudLinksGetSample.js +3 -3
  20. package/dist-esm/samples-dev/cloudLinksListSample.js +3 -3
  21. package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js +3 -3
  22. package/dist-esm/samples-dev/clustersDeleteSample.js +3 -3
  23. package/dist-esm/samples-dev/clustersGetSample.js +3 -3
  24. package/dist-esm/samples-dev/clustersListSample.js +3 -3
  25. package/dist-esm/samples-dev/clustersListZonesSample.js +6 -6
  26. package/dist-esm/samples-dev/clustersListZonesSample.js.map +1 -1
  27. package/dist-esm/samples-dev/clustersUpdateSample.js +3 -3
  28. package/dist-esm/samples-dev/datastoresCreateOrUpdateSample.js +5 -5
  29. package/dist-esm/samples-dev/datastoresCreateOrUpdateSample.js.map +1 -1
  30. package/dist-esm/samples-dev/datastoresDeleteSample.js +3 -3
  31. package/dist-esm/samples-dev/datastoresGetSample.js +3 -3
  32. package/dist-esm/samples-dev/datastoresListSample.js +3 -3
  33. package/dist-esm/samples-dev/globalReachConnectionsCreateOrUpdateSample.js +4 -4
  34. package/dist-esm/samples-dev/globalReachConnectionsDeleteSample.js +3 -3
  35. package/dist-esm/samples-dev/globalReachConnectionsGetSample.js +3 -3
  36. package/dist-esm/samples-dev/globalReachConnectionsListSample.js +3 -3
  37. package/dist-esm/samples-dev/hcxEnterpriseSitesCreateOrUpdateSample.js +3 -3
  38. package/dist-esm/samples-dev/hcxEnterpriseSitesDeleteSample.js +3 -3
  39. package/dist-esm/samples-dev/hcxEnterpriseSitesGetSample.js +3 -3
  40. package/dist-esm/samples-dev/hcxEnterpriseSitesListSample.js +3 -3
  41. package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.js +40 -0
  44. package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.js.map +1 -0
  45. package/dist-esm/samples-dev/iscsiPathsDeleteSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/iscsiPathsDeleteSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/iscsiPathsDeleteSample.js +39 -0
  48. package/dist-esm/samples-dev/iscsiPathsDeleteSample.js.map +1 -0
  49. package/dist-esm/samples-dev/iscsiPathsGetSample.d.ts +2 -0
  50. package/dist-esm/samples-dev/iscsiPathsGetSample.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/iscsiPathsGetSample.js +39 -0
  52. package/dist-esm/samples-dev/iscsiPathsGetSample.js.map +1 -0
  53. package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.d.ts +2 -0
  54. package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.js +55 -0
  56. package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.js.map +1 -0
  57. package/dist-esm/samples-dev/locationsCheckQuotaAvailabilitySample.js +1 -1
  58. package/dist-esm/samples-dev/locationsCheckTrialAvailabilitySample.js +3 -3
  59. package/dist-esm/samples-dev/locationsCheckTrialAvailabilitySample.js.map +1 -1
  60. package/dist-esm/samples-dev/operationsListSample.js +3 -3
  61. package/dist-esm/samples-dev/placementPoliciesCreateOrUpdateSample.js +7 -7
  62. package/dist-esm/samples-dev/placementPoliciesDeleteSample.js +3 -3
  63. package/dist-esm/samples-dev/placementPoliciesGetSample.js +3 -3
  64. package/dist-esm/samples-dev/placementPoliciesListSample.js +3 -3
  65. package/dist-esm/samples-dev/placementPoliciesUpdateSample.js +6 -6
  66. package/dist-esm/samples-dev/privateCloudsCreateOrUpdateSample.js +8 -8
  67. package/dist-esm/samples-dev/privateCloudsDeleteSample.js +3 -3
  68. package/dist-esm/samples-dev/privateCloudsGetSample.js +6 -6
  69. package/dist-esm/samples-dev/privateCloudsListAdminCredentialsSample.js +1 -1
  70. package/dist-esm/samples-dev/privateCloudsListInSubscriptionSample.js +6 -6
  71. package/dist-esm/samples-dev/privateCloudsListSample.js +6 -6
  72. package/dist-esm/samples-dev/privateCloudsRotateNsxtPasswordSample.js +1 -1
  73. package/dist-esm/samples-dev/privateCloudsRotateVcenterPasswordSample.js +1 -1
  74. package/dist-esm/samples-dev/privateCloudsUpdateSample.js +10 -10
  75. package/dist-esm/samples-dev/scriptCmdletsGetSample.js +3 -3
  76. package/dist-esm/samples-dev/scriptCmdletsListSample.js +3 -3
  77. package/dist-esm/samples-dev/scriptExecutionsCreateOrUpdateSample.js +8 -8
  78. package/dist-esm/samples-dev/scriptExecutionsDeleteSample.js +3 -3
  79. package/dist-esm/samples-dev/scriptExecutionsGetExecutionLogsSample.js +4 -4
  80. package/dist-esm/samples-dev/scriptExecutionsGetExecutionLogsSample.js.map +1 -1
  81. package/dist-esm/samples-dev/scriptExecutionsGetSample.js +3 -3
  82. package/dist-esm/samples-dev/scriptExecutionsListSample.js +3 -3
  83. package/dist-esm/samples-dev/scriptPackagesGetSample.js +3 -3
  84. package/dist-esm/samples-dev/scriptPackagesListSample.js +3 -3
  85. package/dist-esm/samples-dev/virtualMachinesGetSample.js +5 -5
  86. package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +1 -1
  87. package/dist-esm/samples-dev/virtualMachinesListSample.js +5 -5
  88. package/dist-esm/samples-dev/virtualMachinesListSample.js.map +1 -1
  89. package/dist-esm/samples-dev/virtualMachinesRestrictMovementSample.js +5 -5
  90. package/dist-esm/samples-dev/virtualMachinesRestrictMovementSample.js.map +1 -1
  91. package/dist-esm/samples-dev/workloadNetworksCreateDhcpSample.js +5 -5
  92. package/dist-esm/samples-dev/workloadNetworksCreateDnsServiceSample.js +5 -5
  93. package/dist-esm/samples-dev/workloadNetworksCreateDnsServiceSample.js.map +1 -1
  94. package/dist-esm/samples-dev/workloadNetworksCreateDnsZoneSample.js +4 -4
  95. package/dist-esm/samples-dev/workloadNetworksCreatePortMirroringSample.js +5 -5
  96. package/dist-esm/samples-dev/workloadNetworksCreatePortMirroringSample.js.map +1 -1
  97. package/dist-esm/samples-dev/workloadNetworksCreatePublicIPSample.js +5 -5
  98. package/dist-esm/samples-dev/workloadNetworksCreatePublicIPSample.js.map +1 -1
  99. package/dist-esm/samples-dev/workloadNetworksCreateSegmentsSample.js +5 -5
  100. package/dist-esm/samples-dev/workloadNetworksCreateVMGroupSample.js +4 -4
  101. package/dist-esm/samples-dev/workloadNetworksDeleteDhcpSample.js +3 -3
  102. package/dist-esm/samples-dev/workloadNetworksDeleteDnsServiceSample.js +3 -3
  103. package/dist-esm/samples-dev/workloadNetworksDeleteDnsZoneSample.js +3 -3
  104. package/dist-esm/samples-dev/workloadNetworksDeletePortMirroringSample.js +3 -3
  105. package/dist-esm/samples-dev/workloadNetworksDeletePublicIPSample.js +3 -3
  106. package/dist-esm/samples-dev/workloadNetworksDeleteSegmentSample.js +3 -3
  107. package/dist-esm/samples-dev/workloadNetworksDeleteVMGroupSample.js +3 -3
  108. package/dist-esm/samples-dev/workloadNetworksGetDhcpSample.js +3 -3
  109. package/dist-esm/samples-dev/workloadNetworksGetDnsServiceSample.js +3 -3
  110. package/dist-esm/samples-dev/workloadNetworksGetDnsZoneSample.js +3 -3
  111. package/dist-esm/samples-dev/workloadNetworksGetGatewaySample.js +3 -3
  112. package/dist-esm/samples-dev/workloadNetworksGetPortMirroringSample.js +3 -3
  113. package/dist-esm/samples-dev/workloadNetworksGetPublicIPSample.js +3 -3
  114. package/dist-esm/samples-dev/workloadNetworksGetSample.js +4 -5
  115. package/dist-esm/samples-dev/workloadNetworksGetSample.js.map +1 -1
  116. package/dist-esm/samples-dev/workloadNetworksGetSegmentSample.js +3 -3
  117. package/dist-esm/samples-dev/workloadNetworksGetVMGroupSample.js +3 -3
  118. package/dist-esm/samples-dev/workloadNetworksGetVirtualMachineSample.js +3 -3
  119. package/dist-esm/samples-dev/workloadNetworksListDhcpSample.js +3 -3
  120. package/dist-esm/samples-dev/workloadNetworksListDnsServicesSample.js +3 -3
  121. package/dist-esm/samples-dev/workloadNetworksListDnsZonesSample.js +3 -3
  122. package/dist-esm/samples-dev/workloadNetworksListGatewaysSample.js +3 -3
  123. package/dist-esm/samples-dev/workloadNetworksListPortMirroringSample.js +3 -3
  124. package/dist-esm/samples-dev/workloadNetworksListPublicIPsSample.js +3 -3
  125. package/dist-esm/samples-dev/workloadNetworksListSample.js +3 -3
  126. package/dist-esm/samples-dev/workloadNetworksListSegmentsSample.js +3 -3
  127. package/dist-esm/samples-dev/workloadNetworksListVMGroupsSample.js +3 -3
  128. package/dist-esm/samples-dev/workloadNetworksListVirtualMachinesSample.js +3 -3
  129. package/dist-esm/samples-dev/workloadNetworksUpdateDhcpSample.js +6 -6
  130. package/dist-esm/samples-dev/workloadNetworksUpdateDhcpSample.js.map +1 -1
  131. package/dist-esm/samples-dev/workloadNetworksUpdateDnsServiceSample.js +5 -5
  132. package/dist-esm/samples-dev/workloadNetworksUpdateDnsServiceSample.js.map +1 -1
  133. package/dist-esm/samples-dev/workloadNetworksUpdateDnsZoneSample.js +5 -5
  134. package/dist-esm/samples-dev/workloadNetworksUpdateDnsZoneSample.js.map +1 -1
  135. package/dist-esm/samples-dev/workloadNetworksUpdatePortMirroringSample.js +5 -5
  136. package/dist-esm/samples-dev/workloadNetworksUpdatePortMirroringSample.js.map +1 -1
  137. package/dist-esm/samples-dev/workloadNetworksUpdateSegmentsSample.js +6 -6
  138. package/dist-esm/samples-dev/workloadNetworksUpdateSegmentsSample.js.map +1 -1
  139. package/dist-esm/samples-dev/workloadNetworksUpdateVMGroupSample.js +5 -5
  140. package/dist-esm/samples-dev/workloadNetworksUpdateVMGroupSample.js.map +1 -1
  141. package/dist-esm/src/azureVMwareSolutionAPI.d.ts +11 -10
  142. package/dist-esm/src/azureVMwareSolutionAPI.d.ts.map +1 -1
  143. package/dist-esm/src/azureVMwareSolutionAPI.js +19 -18
  144. package/dist-esm/src/azureVMwareSolutionAPI.js.map +1 -1
  145. package/dist-esm/src/lroImpl.js +1 -1
  146. package/dist-esm/src/models/index.d.ts +2510 -1892
  147. package/dist-esm/src/models/index.d.ts.map +1 -1
  148. package/dist-esm/src/models/index.js +546 -424
  149. package/dist-esm/src/models/index.js.map +1 -1
  150. package/dist-esm/src/models/mappers.d.ts +130 -77
  151. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  152. package/dist-esm/src/models/mappers.js +3128 -2072
  153. package/dist-esm/src/models/mappers.js.map +1 -1
  154. package/dist-esm/src/models/parameters.d.ts +34 -29
  155. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  156. package/dist-esm/src/models/parameters.js +290 -255
  157. package/dist-esm/src/models/parameters.js.map +1 -1
  158. package/dist-esm/src/operations/addons.d.ts +16 -16
  159. package/dist-esm/src/operations/addons.js +56 -54
  160. package/dist-esm/src/operations/addons.js.map +1 -1
  161. package/dist-esm/src/operations/authorizations.d.ts +16 -16
  162. package/dist-esm/src/operations/authorizations.js +57 -55
  163. package/dist-esm/src/operations/authorizations.js.map +1 -1
  164. package/dist-esm/src/operations/cloudLinks.d.ts +16 -16
  165. package/dist-esm/src/operations/cloudLinks.js +57 -55
  166. package/dist-esm/src/operations/cloudLinks.js.map +1 -1
  167. package/dist-esm/src/operations/clusters.d.ts +23 -23
  168. package/dist-esm/src/operations/clusters.js +82 -79
  169. package/dist-esm/src/operations/clusters.js.map +1 -1
  170. package/dist-esm/src/operations/datastores.d.ts +22 -22
  171. package/dist-esm/src/operations/datastores.js +64 -62
  172. package/dist-esm/src/operations/datastores.js.map +1 -1
  173. package/dist-esm/src/operations/globalReachConnections.d.ts +16 -16
  174. package/dist-esm/src/operations/globalReachConnections.js +59 -57
  175. package/dist-esm/src/operations/globalReachConnections.js.map +1 -1
  176. package/dist-esm/src/operations/hcxEnterpriseSites.d.ts +10 -10
  177. package/dist-esm/src/operations/hcxEnterpriseSites.js +38 -38
  178. package/dist-esm/src/operations/hcxEnterpriseSites.js.map +1 -1
  179. package/dist-esm/src/operations/index.d.ts +9 -8
  180. package/dist-esm/src/operations/index.d.ts.map +1 -1
  181. package/dist-esm/src/operations/index.js +9 -8
  182. package/dist-esm/src/operations/index.js.map +1 -1
  183. package/dist-esm/src/operations/iscsiPaths.d.ts +76 -0
  184. package/dist-esm/src/operations/iscsiPaths.d.ts.map +1 -0
  185. package/dist-esm/src/operations/iscsiPaths.js +350 -0
  186. package/dist-esm/src/operations/iscsiPaths.js.map +1 -0
  187. package/dist-esm/src/operations/locations.d.ts +7 -7
  188. package/dist-esm/src/operations/locations.js +26 -26
  189. package/dist-esm/src/operations/locations.js.map +1 -1
  190. package/dist-esm/src/operations/operations.d.ts +2 -2
  191. package/dist-esm/src/operations/operations.js +11 -11
  192. package/dist-esm/src/operations/operations.js.map +1 -1
  193. package/dist-esm/src/operations/placementPolicies.d.ts +30 -37
  194. package/dist-esm/src/operations/placementPolicies.d.ts.map +1 -1
  195. package/dist-esm/src/operations/placementPolicies.js +86 -90
  196. package/dist-esm/src/operations/placementPolicies.js.map +1 -1
  197. package/dist-esm/src/operations/privateClouds.d.ts +38 -38
  198. package/dist-esm/src/operations/privateClouds.d.ts.map +1 -1
  199. package/dist-esm/src/operations/privateClouds.js +189 -168
  200. package/dist-esm/src/operations/privateClouds.js.map +1 -1
  201. package/dist-esm/src/operations/scriptCmdlets.d.ts +8 -11
  202. package/dist-esm/src/operations/scriptCmdlets.d.ts.map +1 -1
  203. package/dist-esm/src/operations/scriptCmdlets.js +26 -29
  204. package/dist-esm/src/operations/scriptCmdlets.js.map +1 -1
  205. package/dist-esm/src/operations/scriptExecutions.d.ts +17 -17
  206. package/dist-esm/src/operations/scriptExecutions.js +64 -62
  207. package/dist-esm/src/operations/scriptExecutions.js.map +1 -1
  208. package/dist-esm/src/operations/scriptPackages.d.ts +4 -4
  209. package/dist-esm/src/operations/scriptPackages.js +20 -20
  210. package/dist-esm/src/operations/scriptPackages.js.map +1 -1
  211. package/dist-esm/src/operations/virtualMachines.d.ts +17 -17
  212. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
  213. package/dist-esm/src/operations/virtualMachines.js +53 -45
  214. package/dist-esm/src/operations/virtualMachines.js.map +1 -1
  215. package/dist-esm/src/operations/workloadNetworks.d.ts +256 -269
  216. package/dist-esm/src/operations/workloadNetworks.d.ts.map +1 -1
  217. package/dist-esm/src/operations/workloadNetworks.js +1062 -1056
  218. package/dist-esm/src/operations/workloadNetworks.js.map +1 -1
  219. package/dist-esm/src/operationsInterfaces/addons.d.ts +15 -15
  220. package/dist-esm/src/operationsInterfaces/authorizations.d.ts +15 -15
  221. package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts +15 -15
  222. package/dist-esm/src/operationsInterfaces/clusters.d.ts +22 -22
  223. package/dist-esm/src/operationsInterfaces/datastores.d.ts +19 -19
  224. package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts +15 -15
  225. package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts +9 -9
  226. package/dist-esm/src/operationsInterfaces/index.d.ts +9 -8
  227. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  228. package/dist-esm/src/operationsInterfaces/index.js +9 -8
  229. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  230. package/dist-esm/src/operationsInterfaces/iscsiPaths.d.ts +51 -0
  231. package/dist-esm/src/operationsInterfaces/iscsiPaths.d.ts.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/iscsiPaths.js +9 -0
  233. package/dist-esm/src/operationsInterfaces/iscsiPaths.js.map +1 -0
  234. package/dist-esm/src/operationsInterfaces/locations.d.ts +7 -7
  235. package/dist-esm/src/operationsInterfaces/operations.d.ts +1 -1
  236. package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts +27 -34
  237. package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts.map +1 -1
  238. package/dist-esm/src/operationsInterfaces/privateClouds.d.ts +26 -26
  239. package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -1
  240. package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts +5 -7
  241. package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts.map +1 -1
  242. package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts +16 -16
  243. package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts +3 -3
  244. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +14 -14
  245. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
  246. package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts +195 -208
  247. package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts.map +1 -1
  248. package/package.json +9 -9
  249. package/review/arm-avs.api.md +774 -284
  250. package/src/azureVMwareSolutionAPI.ts +53 -48
  251. package/src/lroImpl.ts +3 -3
  252. package/src/models/index.ts +2838 -2095
  253. package/src/models/mappers.ts +3359 -2221
  254. package/src/models/parameters.ts +320 -273
  255. package/src/operations/addons.ts +94 -98
  256. package/src/operations/authorizations.ts +95 -99
  257. package/src/operations/cloudLinks.ts +95 -99
  258. package/src/operations/clusters.ts +134 -140
  259. package/src/operations/datastores.ts +103 -107
  260. package/src/operations/globalReachConnections.ts +97 -101
  261. package/src/operations/hcxEnterpriseSites.ts +60 -64
  262. package/src/operations/index.ts +9 -8
  263. package/src/operations/iscsiPaths.ts +481 -0
  264. package/src/operations/locations.ts +32 -34
  265. package/src/operations/operations.ts +18 -18
  266. package/src/operations/placementPolicies.ts +136 -148
  267. package/src/operations/privateClouds.ts +312 -286
  268. package/src/operations/scriptCmdlets.ts +43 -48
  269. package/src/operations/scriptExecutions.ts +105 -110
  270. package/src/operations/scriptPackages.ts +36 -38
  271. package/src/operations/virtualMachines.ts +94 -81
  272. package/src/operations/workloadNetworks.ts +1729 -1779
  273. package/src/operationsInterfaces/addons.ts +22 -22
  274. package/src/operationsInterfaces/authorizations.ts +22 -22
  275. package/src/operationsInterfaces/cloudLinks.ts +22 -22
  276. package/src/operationsInterfaces/clusters.ts +32 -32
  277. package/src/operationsInterfaces/datastores.ts +26 -26
  278. package/src/operationsInterfaces/globalReachConnections.ts +22 -22
  279. package/src/operationsInterfaces/hcxEnterpriseSites.ts +14 -14
  280. package/src/operationsInterfaces/index.ts +9 -8
  281. package/src/operationsInterfaces/iscsiPaths.ts +99 -0
  282. package/src/operationsInterfaces/locations.ts +12 -12
  283. package/src/operationsInterfaces/operations.ts +2 -2
  284. package/src/operationsInterfaces/placementPolicies.ts +36 -43
  285. package/src/operationsInterfaces/privateClouds.ts +61 -49
  286. package/src/operationsInterfaces/scriptCmdlets.ts +8 -10
  287. package/src/operationsInterfaces/scriptExecutions.ts +24 -24
  288. package/src/operationsInterfaces/scriptPackages.ts +6 -6
  289. package/src/operationsInterfaces/virtualMachines.ts +24 -18
  290. package/src/operationsInterfaces/workloadNetworks.ts +453 -462
  291. package/src/pagingHelper.ts +1 -1
  292. package/types/arm-avs.d.ts +2197 -1466
@@ -10,7 +10,7 @@ import { setContinuationToken } from "../pagingHelper";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { createHttpPoller } from "@azure/core-lro";
13
+ import { createHttpPoller, } from "@azure/core-lro";
14
14
  import { createLroSpec } from "../lroImpl";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing WorkloadNetworks operations. */
@@ -23,7 +23,7 @@ export class WorkloadNetworksImpl {
23
23
  this.client = client;
24
24
  }
25
25
  /**
26
- * List of workload networks in a private cloud.
26
+ * List WorkloadNetwork resources by PrivateCloud
27
27
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
28
  * @param privateCloudName Name of the private cloud
29
29
  * @param options The options parameters.
@@ -42,7 +42,7 @@ export class WorkloadNetworksImpl {
42
42
  throw new Error("maxPageSize is not supported by this operation.");
43
43
  }
44
44
  return this.listPagingPage(resourceGroupName, privateCloudName, options, settings);
45
- }
45
+ },
46
46
  };
47
47
  }
48
48
  listPagingPage(resourceGroupName, privateCloudName, options, settings) {
@@ -86,13 +86,13 @@ export class WorkloadNetworksImpl {
86
86
  });
87
87
  }
88
88
  /**
89
- * List of segments in a private cloud workload network.
89
+ * List WorkloadNetworkDhcp resources by WorkloadNetwork
90
90
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
91
  * @param privateCloudName Name of the private cloud
92
92
  * @param options The options parameters.
93
93
  */
94
- listSegments(resourceGroupName, privateCloudName, options) {
95
- const iter = this.listSegmentsPagingAll(resourceGroupName, privateCloudName, options);
94
+ listDhcp(resourceGroupName, privateCloudName, options) {
95
+ const iter = this.listDhcpPagingAll(resourceGroupName, privateCloudName, options);
96
96
  return {
97
97
  next() {
98
98
  return iter.next();
@@ -104,23 +104,23 @@ export class WorkloadNetworksImpl {
104
104
  if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
105
105
  throw new Error("maxPageSize is not supported by this operation.");
106
106
  }
107
- return this.listSegmentsPagingPage(resourceGroupName, privateCloudName, options, settings);
108
- }
107
+ return this.listDhcpPagingPage(resourceGroupName, privateCloudName, options, settings);
108
+ },
109
109
  };
110
110
  }
111
- listSegmentsPagingPage(resourceGroupName, privateCloudName, options, settings) {
112
- return __asyncGenerator(this, arguments, function* listSegmentsPagingPage_1() {
111
+ listDhcpPagingPage(resourceGroupName, privateCloudName, options, settings) {
112
+ return __asyncGenerator(this, arguments, function* listDhcpPagingPage_1() {
113
113
  let result;
114
114
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
115
115
  if (!continuationToken) {
116
- result = yield __await(this._listSegments(resourceGroupName, privateCloudName, options));
116
+ result = yield __await(this._listDhcp(resourceGroupName, privateCloudName, options));
117
117
  let page = result.value || [];
118
118
  continuationToken = result.nextLink;
119
119
  setContinuationToken(page, continuationToken);
120
120
  yield yield __await(page);
121
121
  }
122
122
  while (continuationToken) {
123
- result = yield __await(this._listSegmentsNext(resourceGroupName, privateCloudName, continuationToken, options));
123
+ result = yield __await(this._listDhcpNext(resourceGroupName, privateCloudName, continuationToken, options));
124
124
  continuationToken = result.nextLink;
125
125
  let page = result.value || [];
126
126
  setContinuationToken(page, continuationToken);
@@ -128,11 +128,11 @@ export class WorkloadNetworksImpl {
128
128
  }
129
129
  });
130
130
  }
131
- listSegmentsPagingAll(resourceGroupName, privateCloudName, options) {
132
- return __asyncGenerator(this, arguments, function* listSegmentsPagingAll_1() {
131
+ listDhcpPagingAll(resourceGroupName, privateCloudName, options) {
132
+ return __asyncGenerator(this, arguments, function* listDhcpPagingAll_1() {
133
133
  var _a, e_2, _b, _c;
134
134
  try {
135
- for (var _d = true, _e = __asyncValues(this.listSegmentsPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
135
+ for (var _d = true, _e = __asyncValues(this.listDhcpPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
136
136
  _c = _f.value;
137
137
  _d = false;
138
138
  const page = _c;
@@ -149,13 +149,13 @@ export class WorkloadNetworksImpl {
149
149
  });
150
150
  }
151
151
  /**
152
- * List dhcp in a private cloud workload network.
152
+ * List WorkloadNetworkDnsService resources by WorkloadNetwork
153
153
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
154
154
  * @param privateCloudName Name of the private cloud
155
155
  * @param options The options parameters.
156
156
  */
157
- listDhcp(resourceGroupName, privateCloudName, options) {
158
- const iter = this.listDhcpPagingAll(resourceGroupName, privateCloudName, options);
157
+ listDnsServices(resourceGroupName, privateCloudName, options) {
158
+ const iter = this.listDnsServicesPagingAll(resourceGroupName, privateCloudName, options);
159
159
  return {
160
160
  next() {
161
161
  return iter.next();
@@ -167,23 +167,23 @@ export class WorkloadNetworksImpl {
167
167
  if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
168
168
  throw new Error("maxPageSize is not supported by this operation.");
169
169
  }
170
- return this.listDhcpPagingPage(resourceGroupName, privateCloudName, options, settings);
171
- }
170
+ return this.listDnsServicesPagingPage(resourceGroupName, privateCloudName, options, settings);
171
+ },
172
172
  };
173
173
  }
174
- listDhcpPagingPage(resourceGroupName, privateCloudName, options, settings) {
175
- return __asyncGenerator(this, arguments, function* listDhcpPagingPage_1() {
174
+ listDnsServicesPagingPage(resourceGroupName, privateCloudName, options, settings) {
175
+ return __asyncGenerator(this, arguments, function* listDnsServicesPagingPage_1() {
176
176
  let result;
177
177
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
178
178
  if (!continuationToken) {
179
- result = yield __await(this._listDhcp(resourceGroupName, privateCloudName, options));
179
+ result = yield __await(this._listDnsServices(resourceGroupName, privateCloudName, options));
180
180
  let page = result.value || [];
181
181
  continuationToken = result.nextLink;
182
182
  setContinuationToken(page, continuationToken);
183
183
  yield yield __await(page);
184
184
  }
185
185
  while (continuationToken) {
186
- result = yield __await(this._listDhcpNext(resourceGroupName, privateCloudName, continuationToken, options));
186
+ result = yield __await(this._listDnsServicesNext(resourceGroupName, privateCloudName, continuationToken, options));
187
187
  continuationToken = result.nextLink;
188
188
  let page = result.value || [];
189
189
  setContinuationToken(page, continuationToken);
@@ -191,11 +191,11 @@ export class WorkloadNetworksImpl {
191
191
  }
192
192
  });
193
193
  }
194
- listDhcpPagingAll(resourceGroupName, privateCloudName, options) {
195
- return __asyncGenerator(this, arguments, function* listDhcpPagingAll_1() {
194
+ listDnsServicesPagingAll(resourceGroupName, privateCloudName, options) {
195
+ return __asyncGenerator(this, arguments, function* listDnsServicesPagingAll_1() {
196
196
  var _a, e_3, _b, _c;
197
197
  try {
198
- for (var _d = true, _e = __asyncValues(this.listDhcpPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
198
+ for (var _d = true, _e = __asyncValues(this.listDnsServicesPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
199
199
  _c = _f.value;
200
200
  _d = false;
201
201
  const page = _c;
@@ -212,13 +212,13 @@ export class WorkloadNetworksImpl {
212
212
  });
213
213
  }
214
214
  /**
215
- * List of gateways in a private cloud workload network.
215
+ * List WorkloadNetworkDnsZone resources by WorkloadNetwork
216
216
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
217
217
  * @param privateCloudName Name of the private cloud
218
218
  * @param options The options parameters.
219
219
  */
220
- listGateways(resourceGroupName, privateCloudName, options) {
221
- const iter = this.listGatewaysPagingAll(resourceGroupName, privateCloudName, options);
220
+ listDnsZones(resourceGroupName, privateCloudName, options) {
221
+ const iter = this.listDnsZonesPagingAll(resourceGroupName, privateCloudName, options);
222
222
  return {
223
223
  next() {
224
224
  return iter.next();
@@ -230,23 +230,23 @@ export class WorkloadNetworksImpl {
230
230
  if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
231
231
  throw new Error("maxPageSize is not supported by this operation.");
232
232
  }
233
- return this.listGatewaysPagingPage(resourceGroupName, privateCloudName, options, settings);
234
- }
233
+ return this.listDnsZonesPagingPage(resourceGroupName, privateCloudName, options, settings);
234
+ },
235
235
  };
236
236
  }
237
- listGatewaysPagingPage(resourceGroupName, privateCloudName, options, settings) {
238
- return __asyncGenerator(this, arguments, function* listGatewaysPagingPage_1() {
237
+ listDnsZonesPagingPage(resourceGroupName, privateCloudName, options, settings) {
238
+ return __asyncGenerator(this, arguments, function* listDnsZonesPagingPage_1() {
239
239
  let result;
240
240
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
241
241
  if (!continuationToken) {
242
- result = yield __await(this._listGateways(resourceGroupName, privateCloudName, options));
242
+ result = yield __await(this._listDnsZones(resourceGroupName, privateCloudName, options));
243
243
  let page = result.value || [];
244
244
  continuationToken = result.nextLink;
245
245
  setContinuationToken(page, continuationToken);
246
246
  yield yield __await(page);
247
247
  }
248
248
  while (continuationToken) {
249
- result = yield __await(this._listGatewaysNext(resourceGroupName, privateCloudName, continuationToken, options));
249
+ result = yield __await(this._listDnsZonesNext(resourceGroupName, privateCloudName, continuationToken, options));
250
250
  continuationToken = result.nextLink;
251
251
  let page = result.value || [];
252
252
  setContinuationToken(page, continuationToken);
@@ -254,11 +254,11 @@ export class WorkloadNetworksImpl {
254
254
  }
255
255
  });
256
256
  }
257
- listGatewaysPagingAll(resourceGroupName, privateCloudName, options) {
258
- return __asyncGenerator(this, arguments, function* listGatewaysPagingAll_1() {
257
+ listDnsZonesPagingAll(resourceGroupName, privateCloudName, options) {
258
+ return __asyncGenerator(this, arguments, function* listDnsZonesPagingAll_1() {
259
259
  var _a, e_4, _b, _c;
260
260
  try {
261
- for (var _d = true, _e = __asyncValues(this.listGatewaysPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
261
+ for (var _d = true, _e = __asyncValues(this.listDnsZonesPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
262
262
  _c = _f.value;
263
263
  _d = false;
264
264
  const page = _c;
@@ -275,13 +275,13 @@ export class WorkloadNetworksImpl {
275
275
  });
276
276
  }
277
277
  /**
278
- * List of port mirroring profiles in a private cloud workload network.
278
+ * List WorkloadNetworkGateway resources by WorkloadNetwork
279
279
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
280
280
  * @param privateCloudName Name of the private cloud
281
281
  * @param options The options parameters.
282
282
  */
283
- listPortMirroring(resourceGroupName, privateCloudName, options) {
284
- const iter = this.listPortMirroringPagingAll(resourceGroupName, privateCloudName, options);
283
+ listGateways(resourceGroupName, privateCloudName, options) {
284
+ const iter = this.listGatewaysPagingAll(resourceGroupName, privateCloudName, options);
285
285
  return {
286
286
  next() {
287
287
  return iter.next();
@@ -293,23 +293,23 @@ export class WorkloadNetworksImpl {
293
293
  if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
294
294
  throw new Error("maxPageSize is not supported by this operation.");
295
295
  }
296
- return this.listPortMirroringPagingPage(resourceGroupName, privateCloudName, options, settings);
297
- }
296
+ return this.listGatewaysPagingPage(resourceGroupName, privateCloudName, options, settings);
297
+ },
298
298
  };
299
299
  }
300
- listPortMirroringPagingPage(resourceGroupName, privateCloudName, options, settings) {
301
- return __asyncGenerator(this, arguments, function* listPortMirroringPagingPage_1() {
300
+ listGatewaysPagingPage(resourceGroupName, privateCloudName, options, settings) {
301
+ return __asyncGenerator(this, arguments, function* listGatewaysPagingPage_1() {
302
302
  let result;
303
303
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
304
304
  if (!continuationToken) {
305
- result = yield __await(this._listPortMirroring(resourceGroupName, privateCloudName, options));
305
+ result = yield __await(this._listGateways(resourceGroupName, privateCloudName, options));
306
306
  let page = result.value || [];
307
307
  continuationToken = result.nextLink;
308
308
  setContinuationToken(page, continuationToken);
309
309
  yield yield __await(page);
310
310
  }
311
311
  while (continuationToken) {
312
- result = yield __await(this._listPortMirroringNext(resourceGroupName, privateCloudName, continuationToken, options));
312
+ result = yield __await(this._listGatewaysNext(resourceGroupName, privateCloudName, continuationToken, options));
313
313
  continuationToken = result.nextLink;
314
314
  let page = result.value || [];
315
315
  setContinuationToken(page, continuationToken);
@@ -317,11 +317,11 @@ export class WorkloadNetworksImpl {
317
317
  }
318
318
  });
319
319
  }
320
- listPortMirroringPagingAll(resourceGroupName, privateCloudName, options) {
321
- return __asyncGenerator(this, arguments, function* listPortMirroringPagingAll_1() {
320
+ listGatewaysPagingAll(resourceGroupName, privateCloudName, options) {
321
+ return __asyncGenerator(this, arguments, function* listGatewaysPagingAll_1() {
322
322
  var _a, e_5, _b, _c;
323
323
  try {
324
- for (var _d = true, _e = __asyncValues(this.listPortMirroringPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
324
+ for (var _d = true, _e = __asyncValues(this.listGatewaysPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
325
325
  _c = _f.value;
326
326
  _d = false;
327
327
  const page = _c;
@@ -338,13 +338,13 @@ export class WorkloadNetworksImpl {
338
338
  });
339
339
  }
340
340
  /**
341
- * List of vm groups in a private cloud workload network.
341
+ * List WorkloadNetworkPortMirroring resources by WorkloadNetwork
342
342
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
343
343
  * @param privateCloudName Name of the private cloud
344
344
  * @param options The options parameters.
345
345
  */
346
- listVMGroups(resourceGroupName, privateCloudName, options) {
347
- const iter = this.listVMGroupsPagingAll(resourceGroupName, privateCloudName, options);
346
+ listPortMirroring(resourceGroupName, privateCloudName, options) {
347
+ const iter = this.listPortMirroringPagingAll(resourceGroupName, privateCloudName, options);
348
348
  return {
349
349
  next() {
350
350
  return iter.next();
@@ -356,23 +356,23 @@ export class WorkloadNetworksImpl {
356
356
  if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
357
357
  throw new Error("maxPageSize is not supported by this operation.");
358
358
  }
359
- return this.listVMGroupsPagingPage(resourceGroupName, privateCloudName, options, settings);
360
- }
359
+ return this.listPortMirroringPagingPage(resourceGroupName, privateCloudName, options, settings);
360
+ },
361
361
  };
362
362
  }
363
- listVMGroupsPagingPage(resourceGroupName, privateCloudName, options, settings) {
364
- return __asyncGenerator(this, arguments, function* listVMGroupsPagingPage_1() {
363
+ listPortMirroringPagingPage(resourceGroupName, privateCloudName, options, settings) {
364
+ return __asyncGenerator(this, arguments, function* listPortMirroringPagingPage_1() {
365
365
  let result;
366
366
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
367
367
  if (!continuationToken) {
368
- result = yield __await(this._listVMGroups(resourceGroupName, privateCloudName, options));
368
+ result = yield __await(this._listPortMirroring(resourceGroupName, privateCloudName, options));
369
369
  let page = result.value || [];
370
370
  continuationToken = result.nextLink;
371
371
  setContinuationToken(page, continuationToken);
372
372
  yield yield __await(page);
373
373
  }
374
374
  while (continuationToken) {
375
- result = yield __await(this._listVMGroupsNext(resourceGroupName, privateCloudName, continuationToken, options));
375
+ result = yield __await(this._listPortMirroringNext(resourceGroupName, privateCloudName, continuationToken, options));
376
376
  continuationToken = result.nextLink;
377
377
  let page = result.value || [];
378
378
  setContinuationToken(page, continuationToken);
@@ -380,11 +380,11 @@ export class WorkloadNetworksImpl {
380
380
  }
381
381
  });
382
382
  }
383
- listVMGroupsPagingAll(resourceGroupName, privateCloudName, options) {
384
- return __asyncGenerator(this, arguments, function* listVMGroupsPagingAll_1() {
383
+ listPortMirroringPagingAll(resourceGroupName, privateCloudName, options) {
384
+ return __asyncGenerator(this, arguments, function* listPortMirroringPagingAll_1() {
385
385
  var _a, e_6, _b, _c;
386
386
  try {
387
- for (var _d = true, _e = __asyncValues(this.listVMGroupsPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
387
+ for (var _d = true, _e = __asyncValues(this.listPortMirroringPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
388
388
  _c = _f.value;
389
389
  _d = false;
390
390
  const page = _c;
@@ -401,13 +401,13 @@ export class WorkloadNetworksImpl {
401
401
  });
402
402
  }
403
403
  /**
404
- * List of virtual machines in a private cloud workload network.
404
+ * List WorkloadNetworkPublicIP resources by WorkloadNetwork
405
405
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
406
406
  * @param privateCloudName Name of the private cloud
407
407
  * @param options The options parameters.
408
408
  */
409
- listVirtualMachines(resourceGroupName, privateCloudName, options) {
410
- const iter = this.listVirtualMachinesPagingAll(resourceGroupName, privateCloudName, options);
409
+ listPublicIPs(resourceGroupName, privateCloudName, options) {
410
+ const iter = this.listPublicIPsPagingAll(resourceGroupName, privateCloudName, options);
411
411
  return {
412
412
  next() {
413
413
  return iter.next();
@@ -419,23 +419,23 @@ export class WorkloadNetworksImpl {
419
419
  if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
420
420
  throw new Error("maxPageSize is not supported by this operation.");
421
421
  }
422
- return this.listVirtualMachinesPagingPage(resourceGroupName, privateCloudName, options, settings);
423
- }
422
+ return this.listPublicIPsPagingPage(resourceGroupName, privateCloudName, options, settings);
423
+ },
424
424
  };
425
425
  }
426
- listVirtualMachinesPagingPage(resourceGroupName, privateCloudName, options, settings) {
427
- return __asyncGenerator(this, arguments, function* listVirtualMachinesPagingPage_1() {
426
+ listPublicIPsPagingPage(resourceGroupName, privateCloudName, options, settings) {
427
+ return __asyncGenerator(this, arguments, function* listPublicIPsPagingPage_1() {
428
428
  let result;
429
429
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
430
430
  if (!continuationToken) {
431
- result = yield __await(this._listVirtualMachines(resourceGroupName, privateCloudName, options));
431
+ result = yield __await(this._listPublicIPs(resourceGroupName, privateCloudName, options));
432
432
  let page = result.value || [];
433
433
  continuationToken = result.nextLink;
434
434
  setContinuationToken(page, continuationToken);
435
435
  yield yield __await(page);
436
436
  }
437
437
  while (continuationToken) {
438
- result = yield __await(this._listVirtualMachinesNext(resourceGroupName, privateCloudName, continuationToken, options));
438
+ result = yield __await(this._listPublicIPsNext(resourceGroupName, privateCloudName, continuationToken, options));
439
439
  continuationToken = result.nextLink;
440
440
  let page = result.value || [];
441
441
  setContinuationToken(page, continuationToken);
@@ -443,11 +443,11 @@ export class WorkloadNetworksImpl {
443
443
  }
444
444
  });
445
445
  }
446
- listVirtualMachinesPagingAll(resourceGroupName, privateCloudName, options) {
447
- return __asyncGenerator(this, arguments, function* listVirtualMachinesPagingAll_1() {
446
+ listPublicIPsPagingAll(resourceGroupName, privateCloudName, options) {
447
+ return __asyncGenerator(this, arguments, function* listPublicIPsPagingAll_1() {
448
448
  var _a, e_7, _b, _c;
449
449
  try {
450
- for (var _d = true, _e = __asyncValues(this.listVirtualMachinesPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
450
+ for (var _d = true, _e = __asyncValues(this.listPublicIPsPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
451
451
  _c = _f.value;
452
452
  _d = false;
453
453
  const page = _c;
@@ -464,13 +464,13 @@ export class WorkloadNetworksImpl {
464
464
  });
465
465
  }
466
466
  /**
467
- * List of DNS services in a private cloud workload network.
467
+ * List WorkloadNetworkSegment resources by WorkloadNetwork
468
468
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
469
469
  * @param privateCloudName Name of the private cloud
470
470
  * @param options The options parameters.
471
471
  */
472
- listDnsServices(resourceGroupName, privateCloudName, options) {
473
- const iter = this.listDnsServicesPagingAll(resourceGroupName, privateCloudName, options);
472
+ listSegments(resourceGroupName, privateCloudName, options) {
473
+ const iter = this.listSegmentsPagingAll(resourceGroupName, privateCloudName, options);
474
474
  return {
475
475
  next() {
476
476
  return iter.next();
@@ -482,23 +482,23 @@ export class WorkloadNetworksImpl {
482
482
  if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
483
483
  throw new Error("maxPageSize is not supported by this operation.");
484
484
  }
485
- return this.listDnsServicesPagingPage(resourceGroupName, privateCloudName, options, settings);
486
- }
485
+ return this.listSegmentsPagingPage(resourceGroupName, privateCloudName, options, settings);
486
+ },
487
487
  };
488
488
  }
489
- listDnsServicesPagingPage(resourceGroupName, privateCloudName, options, settings) {
490
- return __asyncGenerator(this, arguments, function* listDnsServicesPagingPage_1() {
489
+ listSegmentsPagingPage(resourceGroupName, privateCloudName, options, settings) {
490
+ return __asyncGenerator(this, arguments, function* listSegmentsPagingPage_1() {
491
491
  let result;
492
492
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
493
493
  if (!continuationToken) {
494
- result = yield __await(this._listDnsServices(resourceGroupName, privateCloudName, options));
494
+ result = yield __await(this._listSegments(resourceGroupName, privateCloudName, options));
495
495
  let page = result.value || [];
496
496
  continuationToken = result.nextLink;
497
497
  setContinuationToken(page, continuationToken);
498
498
  yield yield __await(page);
499
499
  }
500
500
  while (continuationToken) {
501
- result = yield __await(this._listDnsServicesNext(resourceGroupName, privateCloudName, continuationToken, options));
501
+ result = yield __await(this._listSegmentsNext(resourceGroupName, privateCloudName, continuationToken, options));
502
502
  continuationToken = result.nextLink;
503
503
  let page = result.value || [];
504
504
  setContinuationToken(page, continuationToken);
@@ -506,11 +506,11 @@ export class WorkloadNetworksImpl {
506
506
  }
507
507
  });
508
508
  }
509
- listDnsServicesPagingAll(resourceGroupName, privateCloudName, options) {
510
- return __asyncGenerator(this, arguments, function* listDnsServicesPagingAll_1() {
509
+ listSegmentsPagingAll(resourceGroupName, privateCloudName, options) {
510
+ return __asyncGenerator(this, arguments, function* listSegmentsPagingAll_1() {
511
511
  var _a, e_8, _b, _c;
512
512
  try {
513
- for (var _d = true, _e = __asyncValues(this.listDnsServicesPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
513
+ for (var _d = true, _e = __asyncValues(this.listSegmentsPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
514
514
  _c = _f.value;
515
515
  _d = false;
516
516
  const page = _c;
@@ -527,13 +527,13 @@ export class WorkloadNetworksImpl {
527
527
  });
528
528
  }
529
529
  /**
530
- * List of DNS zones in a private cloud workload network.
530
+ * List WorkloadNetworkVirtualMachine resources by WorkloadNetwork
531
531
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
532
532
  * @param privateCloudName Name of the private cloud
533
533
  * @param options The options parameters.
534
534
  */
535
- listDnsZones(resourceGroupName, privateCloudName, options) {
536
- const iter = this.listDnsZonesPagingAll(resourceGroupName, privateCloudName, options);
535
+ listVirtualMachines(resourceGroupName, privateCloudName, options) {
536
+ const iter = this.listVirtualMachinesPagingAll(resourceGroupName, privateCloudName, options);
537
537
  return {
538
538
  next() {
539
539
  return iter.next();
@@ -545,23 +545,23 @@ export class WorkloadNetworksImpl {
545
545
  if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
546
546
  throw new Error("maxPageSize is not supported by this operation.");
547
547
  }
548
- return this.listDnsZonesPagingPage(resourceGroupName, privateCloudName, options, settings);
549
- }
548
+ return this.listVirtualMachinesPagingPage(resourceGroupName, privateCloudName, options, settings);
549
+ },
550
550
  };
551
551
  }
552
- listDnsZonesPagingPage(resourceGroupName, privateCloudName, options, settings) {
553
- return __asyncGenerator(this, arguments, function* listDnsZonesPagingPage_1() {
552
+ listVirtualMachinesPagingPage(resourceGroupName, privateCloudName, options, settings) {
553
+ return __asyncGenerator(this, arguments, function* listVirtualMachinesPagingPage_1() {
554
554
  let result;
555
555
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
556
556
  if (!continuationToken) {
557
- result = yield __await(this._listDnsZones(resourceGroupName, privateCloudName, options));
557
+ result = yield __await(this._listVirtualMachines(resourceGroupName, privateCloudName, options));
558
558
  let page = result.value || [];
559
559
  continuationToken = result.nextLink;
560
560
  setContinuationToken(page, continuationToken);
561
561
  yield yield __await(page);
562
562
  }
563
563
  while (continuationToken) {
564
- result = yield __await(this._listDnsZonesNext(resourceGroupName, privateCloudName, continuationToken, options));
564
+ result = yield __await(this._listVirtualMachinesNext(resourceGroupName, privateCloudName, continuationToken, options));
565
565
  continuationToken = result.nextLink;
566
566
  let page = result.value || [];
567
567
  setContinuationToken(page, continuationToken);
@@ -569,11 +569,11 @@ export class WorkloadNetworksImpl {
569
569
  }
570
570
  });
571
571
  }
572
- listDnsZonesPagingAll(resourceGroupName, privateCloudName, options) {
573
- return __asyncGenerator(this, arguments, function* listDnsZonesPagingAll_1() {
572
+ listVirtualMachinesPagingAll(resourceGroupName, privateCloudName, options) {
573
+ return __asyncGenerator(this, arguments, function* listVirtualMachinesPagingAll_1() {
574
574
  var _a, e_9, _b, _c;
575
575
  try {
576
- for (var _d = true, _e = __asyncValues(this.listDnsZonesPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
576
+ for (var _d = true, _e = __asyncValues(this.listVirtualMachinesPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
577
577
  _c = _f.value;
578
578
  _d = false;
579
579
  const page = _c;
@@ -590,13 +590,13 @@ export class WorkloadNetworksImpl {
590
590
  });
591
591
  }
592
592
  /**
593
- * List of Public IP Blocks in a private cloud workload network.
593
+ * List WorkloadNetworkVMGroup resources by WorkloadNetwork
594
594
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
595
595
  * @param privateCloudName Name of the private cloud
596
596
  * @param options The options parameters.
597
597
  */
598
- listPublicIPs(resourceGroupName, privateCloudName, options) {
599
- const iter = this.listPublicIPsPagingAll(resourceGroupName, privateCloudName, options);
598
+ listVMGroups(resourceGroupName, privateCloudName, options) {
599
+ const iter = this.listVMGroupsPagingAll(resourceGroupName, privateCloudName, options);
600
600
  return {
601
601
  next() {
602
602
  return iter.next();
@@ -608,23 +608,23 @@ export class WorkloadNetworksImpl {
608
608
  if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
609
609
  throw new Error("maxPageSize is not supported by this operation.");
610
610
  }
611
- return this.listPublicIPsPagingPage(resourceGroupName, privateCloudName, options, settings);
612
- }
611
+ return this.listVMGroupsPagingPage(resourceGroupName, privateCloudName, options, settings);
612
+ },
613
613
  };
614
614
  }
615
- listPublicIPsPagingPage(resourceGroupName, privateCloudName, options, settings) {
616
- return __asyncGenerator(this, arguments, function* listPublicIPsPagingPage_1() {
615
+ listVMGroupsPagingPage(resourceGroupName, privateCloudName, options, settings) {
616
+ return __asyncGenerator(this, arguments, function* listVMGroupsPagingPage_1() {
617
617
  let result;
618
618
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
619
619
  if (!continuationToken) {
620
- result = yield __await(this._listPublicIPs(resourceGroupName, privateCloudName, options));
620
+ result = yield __await(this._listVMGroups(resourceGroupName, privateCloudName, options));
621
621
  let page = result.value || [];
622
622
  continuationToken = result.nextLink;
623
623
  setContinuationToken(page, continuationToken);
624
624
  yield yield __await(page);
625
625
  }
626
626
  while (continuationToken) {
627
- result = yield __await(this._listPublicIPsNext(resourceGroupName, privateCloudName, continuationToken, options));
627
+ result = yield __await(this._listVMGroupsNext(resourceGroupName, privateCloudName, continuationToken, options));
628
628
  continuationToken = result.nextLink;
629
629
  let page = result.value || [];
630
630
  setContinuationToken(page, continuationToken);
@@ -632,11 +632,11 @@ export class WorkloadNetworksImpl {
632
632
  }
633
633
  });
634
634
  }
635
- listPublicIPsPagingAll(resourceGroupName, privateCloudName, options) {
636
- return __asyncGenerator(this, arguments, function* listPublicIPsPagingAll_1() {
635
+ listVMGroupsPagingAll(resourceGroupName, privateCloudName, options) {
636
+ return __asyncGenerator(this, arguments, function* listVMGroupsPagingAll_1() {
637
637
  var _a, e_10, _b, _c;
638
638
  try {
639
- for (var _d = true, _e = __asyncValues(this.listPublicIPsPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
639
+ for (var _d = true, _e = __asyncValues(this.listVMGroupsPagingPage(resourceGroupName, privateCloudName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
640
640
  _c = _f.value;
641
641
  _d = false;
642
642
  const page = _c;
@@ -653,52 +653,51 @@ export class WorkloadNetworksImpl {
653
653
  });
654
654
  }
655
655
  /**
656
- * Get a private cloud workload network.
656
+ * List WorkloadNetwork resources by PrivateCloud
657
657
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
658
658
  * @param privateCloudName Name of the private cloud
659
- * @param workloadNetworkName Name for the workload network in the private cloud
660
659
  * @param options The options parameters.
661
660
  */
662
- get(resourceGroupName, privateCloudName, workloadNetworkName, options) {
663
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, workloadNetworkName, options }, getOperationSpec);
661
+ _list(resourceGroupName, privateCloudName, options) {
662
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listOperationSpec);
664
663
  }
665
664
  /**
666
- * List of workload networks in a private cloud.
665
+ * Get a WorkloadNetwork
667
666
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
668
667
  * @param privateCloudName Name of the private cloud
669
668
  * @param options The options parameters.
670
669
  */
671
- _list(resourceGroupName, privateCloudName, options) {
672
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listOperationSpec);
670
+ get(resourceGroupName, privateCloudName, options) {
671
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, getOperationSpec);
673
672
  }
674
673
  /**
675
- * List of segments in a private cloud workload network.
674
+ * List WorkloadNetworkDhcp resources by WorkloadNetwork
676
675
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
677
676
  * @param privateCloudName Name of the private cloud
678
677
  * @param options The options parameters.
679
678
  */
680
- _listSegments(resourceGroupName, privateCloudName, options) {
681
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listSegmentsOperationSpec);
679
+ _listDhcp(resourceGroupName, privateCloudName, options) {
680
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listDhcpOperationSpec);
682
681
  }
683
682
  /**
684
- * Get a segment by id in a private cloud workload network.
683
+ * Get a WorkloadNetworkDhcp
685
684
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
685
+ * @param dhcpId The ID of the DHCP configuration
686
686
  * @param privateCloudName Name of the private cloud
687
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name
688
687
  * @param options The options parameters.
689
688
  */
690
- getSegment(resourceGroupName, privateCloudName, segmentId, options) {
691
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, segmentId, options }, getSegmentOperationSpec);
689
+ getDhcp(resourceGroupName, dhcpId, privateCloudName, options) {
690
+ return this.client.sendOperationRequest({ resourceGroupName, dhcpId, privateCloudName, options }, getDhcpOperationSpec);
692
691
  }
693
692
  /**
694
- * Create a segment by id in a private cloud workload network.
693
+ * Create a WorkloadNetworkDhcp
695
694
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
696
695
  * @param privateCloudName Name of the private cloud
697
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name
698
- * @param workloadNetworkSegment NSX Segment
696
+ * @param dhcpId The ID of the DHCP configuration
697
+ * @param workloadNetworkDhcp Resource create parameters.
699
698
  * @param options The options parameters.
700
699
  */
701
- beginCreateSegments(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options) {
700
+ beginCreateDhcp(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options) {
702
701
  return __awaiter(this, void 0, void 0, function* () {
703
702
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
704
703
  return this.client.sendOperationRequest(args, spec);
@@ -718,8 +717,8 @@ export class WorkloadNetworksImpl {
718
717
  rawResponse: {
719
718
  statusCode: currentRawResponse.status,
720
719
  body: currentRawResponse.parsedBody,
721
- headers: currentRawResponse.headers.toJSON()
722
- }
720
+ headers: currentRawResponse.headers.toJSON(),
721
+ },
723
722
  };
724
723
  });
725
724
  const lro = createLroSpec({
@@ -727,43 +726,44 @@ export class WorkloadNetworksImpl {
727
726
  args: {
728
727
  resourceGroupName,
729
728
  privateCloudName,
730
- segmentId,
731
- workloadNetworkSegment,
732
- options
729
+ dhcpId,
730
+ workloadNetworkDhcp,
731
+ options,
733
732
  },
734
- spec: createSegmentsOperationSpec
733
+ spec: createDhcpOperationSpec,
735
734
  });
736
735
  const poller = yield createHttpPoller(lro, {
737
736
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
738
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
737
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
738
+ resourceLocationConfig: "azure-async-operation",
739
739
  });
740
740
  yield poller.poll();
741
741
  return poller;
742
742
  });
743
743
  }
744
744
  /**
745
- * Create a segment by id in a private cloud workload network.
745
+ * Create a WorkloadNetworkDhcp
746
746
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
747
747
  * @param privateCloudName Name of the private cloud
748
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name
749
- * @param workloadNetworkSegment NSX Segment
748
+ * @param dhcpId The ID of the DHCP configuration
749
+ * @param workloadNetworkDhcp Resource create parameters.
750
750
  * @param options The options parameters.
751
751
  */
752
- beginCreateSegmentsAndWait(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options) {
752
+ beginCreateDhcpAndWait(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options) {
753
753
  return __awaiter(this, void 0, void 0, function* () {
754
- const poller = yield this.beginCreateSegments(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options);
754
+ const poller = yield this.beginCreateDhcp(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options);
755
755
  return poller.pollUntilDone();
756
756
  });
757
757
  }
758
758
  /**
759
- * Create or update a segment by id in a private cloud workload network.
759
+ * Update a WorkloadNetworkDhcp
760
760
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
761
761
  * @param privateCloudName Name of the private cloud
762
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name
763
- * @param workloadNetworkSegment NSX Segment
762
+ * @param dhcpId The ID of the DHCP configuration
763
+ * @param workloadNetworkDhcp The resource properties to be updated.
764
764
  * @param options The options parameters.
765
765
  */
766
- beginUpdateSegments(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options) {
766
+ beginUpdateDhcp(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options) {
767
767
  return __awaiter(this, void 0, void 0, function* () {
768
768
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
769
769
  return this.client.sendOperationRequest(args, spec);
@@ -783,8 +783,8 @@ export class WorkloadNetworksImpl {
783
783
  rawResponse: {
784
784
  statusCode: currentRawResponse.status,
785
785
  body: currentRawResponse.parsedBody,
786
- headers: currentRawResponse.headers.toJSON()
787
- }
786
+ headers: currentRawResponse.headers.toJSON(),
787
+ },
788
788
  };
789
789
  });
790
790
  const lro = createLroSpec({
@@ -792,42 +792,43 @@ export class WorkloadNetworksImpl {
792
792
  args: {
793
793
  resourceGroupName,
794
794
  privateCloudName,
795
- segmentId,
796
- workloadNetworkSegment,
797
- options
795
+ dhcpId,
796
+ workloadNetworkDhcp,
797
+ options,
798
798
  },
799
- spec: updateSegmentsOperationSpec
799
+ spec: updateDhcpOperationSpec,
800
800
  });
801
801
  const poller = yield createHttpPoller(lro, {
802
802
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
803
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
803
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
804
+ resourceLocationConfig: "location",
804
805
  });
805
806
  yield poller.poll();
806
807
  return poller;
807
808
  });
808
809
  }
809
810
  /**
810
- * Create or update a segment by id in a private cloud workload network.
811
+ * Update a WorkloadNetworkDhcp
811
812
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
812
813
  * @param privateCloudName Name of the private cloud
813
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name
814
- * @param workloadNetworkSegment NSX Segment
814
+ * @param dhcpId The ID of the DHCP configuration
815
+ * @param workloadNetworkDhcp The resource properties to be updated.
815
816
  * @param options The options parameters.
816
817
  */
817
- beginUpdateSegmentsAndWait(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options) {
818
+ beginUpdateDhcpAndWait(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options) {
818
819
  return __awaiter(this, void 0, void 0, function* () {
819
- const poller = yield this.beginUpdateSegments(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options);
820
+ const poller = yield this.beginUpdateDhcp(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options);
820
821
  return poller.pollUntilDone();
821
822
  });
822
823
  }
823
824
  /**
824
- * Delete a segment by id in a private cloud workload network.
825
+ * Delete a WorkloadNetworkDhcp
825
826
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
826
827
  * @param privateCloudName Name of the private cloud
827
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name
828
+ * @param dhcpId The ID of the DHCP configuration
828
829
  * @param options The options parameters.
829
830
  */
830
- beginDeleteSegment(resourceGroupName, privateCloudName, segmentId, options) {
831
+ beginDeleteDhcp(resourceGroupName, privateCloudName, dhcpId, options) {
831
832
  return __awaiter(this, void 0, void 0, function* () {
832
833
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
833
834
  return this.client.sendOperationRequest(args, spec);
@@ -847,64 +848,65 @@ export class WorkloadNetworksImpl {
847
848
  rawResponse: {
848
849
  statusCode: currentRawResponse.status,
849
850
  body: currentRawResponse.parsedBody,
850
- headers: currentRawResponse.headers.toJSON()
851
- }
851
+ headers: currentRawResponse.headers.toJSON(),
852
+ },
852
853
  };
853
854
  });
854
855
  const lro = createLroSpec({
855
856
  sendOperationFn,
856
- args: { resourceGroupName, privateCloudName, segmentId, options },
857
- spec: deleteSegmentOperationSpec
857
+ args: { resourceGroupName, privateCloudName, dhcpId, options },
858
+ spec: deleteDhcpOperationSpec,
858
859
  });
859
860
  const poller = yield createHttpPoller(lro, {
860
861
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
861
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
862
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
863
+ resourceLocationConfig: "location",
862
864
  });
863
865
  yield poller.poll();
864
866
  return poller;
865
867
  });
866
868
  }
867
869
  /**
868
- * Delete a segment by id in a private cloud workload network.
870
+ * Delete a WorkloadNetworkDhcp
869
871
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
870
872
  * @param privateCloudName Name of the private cloud
871
- * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name
873
+ * @param dhcpId The ID of the DHCP configuration
872
874
  * @param options The options parameters.
873
875
  */
874
- beginDeleteSegmentAndWait(resourceGroupName, privateCloudName, segmentId, options) {
876
+ beginDeleteDhcpAndWait(resourceGroupName, privateCloudName, dhcpId, options) {
875
877
  return __awaiter(this, void 0, void 0, function* () {
876
- const poller = yield this.beginDeleteSegment(resourceGroupName, privateCloudName, segmentId, options);
878
+ const poller = yield this.beginDeleteDhcp(resourceGroupName, privateCloudName, dhcpId, options);
877
879
  return poller.pollUntilDone();
878
880
  });
879
881
  }
880
882
  /**
881
- * List dhcp in a private cloud workload network.
883
+ * List WorkloadNetworkDnsService resources by WorkloadNetwork
882
884
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
883
885
  * @param privateCloudName Name of the private cloud
884
886
  * @param options The options parameters.
885
887
  */
886
- _listDhcp(resourceGroupName, privateCloudName, options) {
887
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listDhcpOperationSpec);
888
+ _listDnsServices(resourceGroupName, privateCloudName, options) {
889
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listDnsServicesOperationSpec);
888
890
  }
889
891
  /**
890
- * Get dhcp by id in a private cloud workload network.
892
+ * Get a WorkloadNetworkDnsService
891
893
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
892
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name
893
894
  * @param privateCloudName Name of the private cloud
895
+ * @param dnsServiceId ID of the DNS service.
894
896
  * @param options The options parameters.
895
897
  */
896
- getDhcp(resourceGroupName, dhcpId, privateCloudName, options) {
897
- return this.client.sendOperationRequest({ resourceGroupName, dhcpId, privateCloudName, options }, getDhcpOperationSpec);
898
+ getDnsService(resourceGroupName, privateCloudName, dnsServiceId, options) {
899
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, dnsServiceId, options }, getDnsServiceOperationSpec);
898
900
  }
899
901
  /**
900
- * Create dhcp by id in a private cloud workload network.
902
+ * Create a WorkloadNetworkDnsService
901
903
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
902
904
  * @param privateCloudName Name of the private cloud
903
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name
904
- * @param workloadNetworkDhcp NSX DHCP
905
+ * @param dnsServiceId ID of the DNS service.
906
+ * @param workloadNetworkDnsService Resource create parameters.
905
907
  * @param options The options parameters.
906
908
  */
907
- beginCreateDhcp(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options) {
909
+ beginCreateDnsService(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options) {
908
910
  return __awaiter(this, void 0, void 0, function* () {
909
911
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
910
912
  return this.client.sendOperationRequest(args, spec);
@@ -924,8 +926,8 @@ export class WorkloadNetworksImpl {
924
926
  rawResponse: {
925
927
  statusCode: currentRawResponse.status,
926
928
  body: currentRawResponse.parsedBody,
927
- headers: currentRawResponse.headers.toJSON()
928
- }
929
+ headers: currentRawResponse.headers.toJSON(),
930
+ },
929
931
  };
930
932
  });
931
933
  const lro = createLroSpec({
@@ -933,43 +935,44 @@ export class WorkloadNetworksImpl {
933
935
  args: {
934
936
  resourceGroupName,
935
937
  privateCloudName,
936
- dhcpId,
937
- workloadNetworkDhcp,
938
- options
938
+ dnsServiceId,
939
+ workloadNetworkDnsService,
940
+ options,
939
941
  },
940
- spec: createDhcpOperationSpec
942
+ spec: createDnsServiceOperationSpec,
941
943
  });
942
944
  const poller = yield createHttpPoller(lro, {
943
945
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
944
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
946
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
947
+ resourceLocationConfig: "azure-async-operation",
945
948
  });
946
949
  yield poller.poll();
947
950
  return poller;
948
951
  });
949
952
  }
950
953
  /**
951
- * Create dhcp by id in a private cloud workload network.
954
+ * Create a WorkloadNetworkDnsService
952
955
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
953
956
  * @param privateCloudName Name of the private cloud
954
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name
955
- * @param workloadNetworkDhcp NSX DHCP
957
+ * @param dnsServiceId ID of the DNS service.
958
+ * @param workloadNetworkDnsService Resource create parameters.
956
959
  * @param options The options parameters.
957
960
  */
958
- beginCreateDhcpAndWait(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options) {
961
+ beginCreateDnsServiceAndWait(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options) {
959
962
  return __awaiter(this, void 0, void 0, function* () {
960
- const poller = yield this.beginCreateDhcp(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options);
963
+ const poller = yield this.beginCreateDnsService(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options);
961
964
  return poller.pollUntilDone();
962
965
  });
963
966
  }
964
967
  /**
965
- * Create or update dhcp by id in a private cloud workload network.
968
+ * Update a WorkloadNetworkDnsService
966
969
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
967
970
  * @param privateCloudName Name of the private cloud
968
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name
969
- * @param workloadNetworkDhcp NSX DHCP
971
+ * @param dnsServiceId ID of the DNS service.
972
+ * @param workloadNetworkDnsService The resource properties to be updated.
970
973
  * @param options The options parameters.
971
974
  */
972
- beginUpdateDhcp(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options) {
975
+ beginUpdateDnsService(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options) {
973
976
  return __awaiter(this, void 0, void 0, function* () {
974
977
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
975
978
  return this.client.sendOperationRequest(args, spec);
@@ -989,8 +992,8 @@ export class WorkloadNetworksImpl {
989
992
  rawResponse: {
990
993
  statusCode: currentRawResponse.status,
991
994
  body: currentRawResponse.parsedBody,
992
- headers: currentRawResponse.headers.toJSON()
993
- }
995
+ headers: currentRawResponse.headers.toJSON(),
996
+ },
994
997
  };
995
998
  });
996
999
  const lro = createLroSpec({
@@ -998,42 +1001,43 @@ export class WorkloadNetworksImpl {
998
1001
  args: {
999
1002
  resourceGroupName,
1000
1003
  privateCloudName,
1001
- dhcpId,
1002
- workloadNetworkDhcp,
1003
- options
1004
+ dnsServiceId,
1005
+ workloadNetworkDnsService,
1006
+ options,
1004
1007
  },
1005
- spec: updateDhcpOperationSpec
1008
+ spec: updateDnsServiceOperationSpec,
1006
1009
  });
1007
1010
  const poller = yield createHttpPoller(lro, {
1008
1011
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1009
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1012
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1013
+ resourceLocationConfig: "location",
1010
1014
  });
1011
1015
  yield poller.poll();
1012
1016
  return poller;
1013
1017
  });
1014
1018
  }
1015
1019
  /**
1016
- * Create or update dhcp by id in a private cloud workload network.
1020
+ * Update a WorkloadNetworkDnsService
1017
1021
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1018
1022
  * @param privateCloudName Name of the private cloud
1019
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name
1020
- * @param workloadNetworkDhcp NSX DHCP
1023
+ * @param dnsServiceId ID of the DNS service.
1024
+ * @param workloadNetworkDnsService The resource properties to be updated.
1021
1025
  * @param options The options parameters.
1022
1026
  */
1023
- beginUpdateDhcpAndWait(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options) {
1027
+ beginUpdateDnsServiceAndWait(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options) {
1024
1028
  return __awaiter(this, void 0, void 0, function* () {
1025
- const poller = yield this.beginUpdateDhcp(resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, options);
1029
+ const poller = yield this.beginUpdateDnsService(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options);
1026
1030
  return poller.pollUntilDone();
1027
1031
  });
1028
1032
  }
1029
1033
  /**
1030
- * Delete dhcp by id in a private cloud workload network.
1034
+ * Delete a WorkloadNetworkDnsService
1031
1035
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1036
+ * @param dnsServiceId ID of the DNS service.
1032
1037
  * @param privateCloudName Name of the private cloud
1033
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name
1034
1038
  * @param options The options parameters.
1035
1039
  */
1036
- beginDeleteDhcp(resourceGroupName, privateCloudName, dhcpId, options) {
1040
+ beginDeleteDnsService(resourceGroupName, dnsServiceId, privateCloudName, options) {
1037
1041
  return __awaiter(this, void 0, void 0, function* () {
1038
1042
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1039
1043
  return this.client.sendOperationRequest(args, spec);
@@ -1053,85 +1057,65 @@ export class WorkloadNetworksImpl {
1053
1057
  rawResponse: {
1054
1058
  statusCode: currentRawResponse.status,
1055
1059
  body: currentRawResponse.parsedBody,
1056
- headers: currentRawResponse.headers.toJSON()
1057
- }
1060
+ headers: currentRawResponse.headers.toJSON(),
1061
+ },
1058
1062
  };
1059
1063
  });
1060
1064
  const lro = createLroSpec({
1061
1065
  sendOperationFn,
1062
- args: { resourceGroupName, privateCloudName, dhcpId, options },
1063
- spec: deleteDhcpOperationSpec
1066
+ args: { resourceGroupName, dnsServiceId, privateCloudName, options },
1067
+ spec: deleteDnsServiceOperationSpec,
1064
1068
  });
1065
1069
  const poller = yield createHttpPoller(lro, {
1066
1070
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1067
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1071
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1072
+ resourceLocationConfig: "location",
1068
1073
  });
1069
1074
  yield poller.poll();
1070
1075
  return poller;
1071
1076
  });
1072
1077
  }
1073
1078
  /**
1074
- * Delete dhcp by id in a private cloud workload network.
1079
+ * Delete a WorkloadNetworkDnsService
1075
1080
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1081
+ * @param dnsServiceId ID of the DNS service.
1076
1082
  * @param privateCloudName Name of the private cloud
1077
- * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name
1078
1083
  * @param options The options parameters.
1079
1084
  */
1080
- beginDeleteDhcpAndWait(resourceGroupName, privateCloudName, dhcpId, options) {
1085
+ beginDeleteDnsServiceAndWait(resourceGroupName, dnsServiceId, privateCloudName, options) {
1081
1086
  return __awaiter(this, void 0, void 0, function* () {
1082
- const poller = yield this.beginDeleteDhcp(resourceGroupName, privateCloudName, dhcpId, options);
1087
+ const poller = yield this.beginDeleteDnsService(resourceGroupName, dnsServiceId, privateCloudName, options);
1083
1088
  return poller.pollUntilDone();
1084
1089
  });
1085
1090
  }
1086
1091
  /**
1087
- * List of gateways in a private cloud workload network.
1088
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1089
- * @param privateCloudName Name of the private cloud
1090
- * @param options The options parameters.
1091
- */
1092
- _listGateways(resourceGroupName, privateCloudName, options) {
1093
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listGatewaysOperationSpec);
1094
- }
1095
- /**
1096
- * Get a gateway by id in a private cloud workload network.
1097
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1098
- * @param privateCloudName Name of the private cloud
1099
- * @param gatewayId NSX Gateway identifier. Generally the same as the Gateway's display name
1100
- * @param options The options parameters.
1101
- */
1102
- getGateway(resourceGroupName, privateCloudName, gatewayId, options) {
1103
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, gatewayId, options }, getGatewayOperationSpec);
1104
- }
1105
- /**
1106
- * List of port mirroring profiles in a private cloud workload network.
1092
+ * List WorkloadNetworkDnsZone resources by WorkloadNetwork
1107
1093
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1108
1094
  * @param privateCloudName Name of the private cloud
1109
1095
  * @param options The options parameters.
1110
1096
  */
1111
- _listPortMirroring(resourceGroupName, privateCloudName, options) {
1112
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listPortMirroringOperationSpec);
1097
+ _listDnsZones(resourceGroupName, privateCloudName, options) {
1098
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listDnsZonesOperationSpec);
1113
1099
  }
1114
1100
  /**
1115
- * Get a port mirroring profile by id in a private cloud workload network.
1101
+ * Get a WorkloadNetworkDnsZone
1116
1102
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1117
1103
  * @param privateCloudName Name of the private cloud
1118
- * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring
1119
- * display name
1104
+ * @param dnsZoneId ID of the DNS zone.
1120
1105
  * @param options The options parameters.
1121
1106
  */
1122
- getPortMirroring(resourceGroupName, privateCloudName, portMirroringId, options) {
1123
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, portMirroringId, options }, getPortMirroringOperationSpec);
1107
+ getDnsZone(resourceGroupName, privateCloudName, dnsZoneId, options) {
1108
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, dnsZoneId, options }, getDnsZoneOperationSpec);
1124
1109
  }
1125
1110
  /**
1126
- * Create a port mirroring profile by id in a private cloud workload network.
1111
+ * Create a WorkloadNetworkDnsZone
1127
1112
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1128
1113
  * @param privateCloudName Name of the private cloud
1129
- * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring
1130
- * display name
1131
- * @param workloadNetworkPortMirroring NSX port mirroring
1114
+ * @param dnsZoneId ID of the DNS zone.
1115
+ * @param workloadNetworkDnsZone Resource create parameters.
1132
1116
  * @param options The options parameters.
1133
1117
  */
1134
- beginCreatePortMirroring(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options) {
1118
+ beginCreateDnsZone(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options) {
1135
1119
  return __awaiter(this, void 0, void 0, function* () {
1136
1120
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1137
1121
  return this.client.sendOperationRequest(args, spec);
@@ -1151,8 +1135,8 @@ export class WorkloadNetworksImpl {
1151
1135
  rawResponse: {
1152
1136
  statusCode: currentRawResponse.status,
1153
1137
  body: currentRawResponse.parsedBody,
1154
- headers: currentRawResponse.headers.toJSON()
1155
- }
1138
+ headers: currentRawResponse.headers.toJSON(),
1139
+ },
1156
1140
  };
1157
1141
  });
1158
1142
  const lro = createLroSpec({
@@ -1160,45 +1144,44 @@ export class WorkloadNetworksImpl {
1160
1144
  args: {
1161
1145
  resourceGroupName,
1162
1146
  privateCloudName,
1163
- portMirroringId,
1164
- workloadNetworkPortMirroring,
1165
- options
1147
+ dnsZoneId,
1148
+ workloadNetworkDnsZone,
1149
+ options,
1166
1150
  },
1167
- spec: createPortMirroringOperationSpec
1151
+ spec: createDnsZoneOperationSpec,
1168
1152
  });
1169
1153
  const poller = yield createHttpPoller(lro, {
1170
1154
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1171
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1155
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1156
+ resourceLocationConfig: "azure-async-operation",
1172
1157
  });
1173
1158
  yield poller.poll();
1174
1159
  return poller;
1175
1160
  });
1176
1161
  }
1177
1162
  /**
1178
- * Create a port mirroring profile by id in a private cloud workload network.
1163
+ * Create a WorkloadNetworkDnsZone
1179
1164
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1180
1165
  * @param privateCloudName Name of the private cloud
1181
- * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring
1182
- * display name
1183
- * @param workloadNetworkPortMirroring NSX port mirroring
1166
+ * @param dnsZoneId ID of the DNS zone.
1167
+ * @param workloadNetworkDnsZone Resource create parameters.
1184
1168
  * @param options The options parameters.
1185
1169
  */
1186
- beginCreatePortMirroringAndWait(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options) {
1170
+ beginCreateDnsZoneAndWait(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options) {
1187
1171
  return __awaiter(this, void 0, void 0, function* () {
1188
- const poller = yield this.beginCreatePortMirroring(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options);
1172
+ const poller = yield this.beginCreateDnsZone(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options);
1189
1173
  return poller.pollUntilDone();
1190
1174
  });
1191
1175
  }
1192
1176
  /**
1193
- * Create or update a port mirroring profile by id in a private cloud workload network.
1177
+ * Update a WorkloadNetworkDnsZone
1194
1178
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1195
1179
  * @param privateCloudName Name of the private cloud
1196
- * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring
1197
- * display name
1198
- * @param workloadNetworkPortMirroring NSX port mirroring
1180
+ * @param dnsZoneId ID of the DNS zone.
1181
+ * @param workloadNetworkDnsZone The resource properties to be updated.
1199
1182
  * @param options The options parameters.
1200
1183
  */
1201
- beginUpdatePortMirroring(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options) {
1184
+ beginUpdateDnsZone(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options) {
1202
1185
  return __awaiter(this, void 0, void 0, function* () {
1203
1186
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1204
1187
  return this.client.sendOperationRequest(args, spec);
@@ -1218,8 +1201,8 @@ export class WorkloadNetworksImpl {
1218
1201
  rawResponse: {
1219
1202
  statusCode: currentRawResponse.status,
1220
1203
  body: currentRawResponse.parsedBody,
1221
- headers: currentRawResponse.headers.toJSON()
1222
- }
1204
+ headers: currentRawResponse.headers.toJSON(),
1205
+ },
1223
1206
  };
1224
1207
  });
1225
1208
  const lro = createLroSpec({
@@ -1227,44 +1210,43 @@ export class WorkloadNetworksImpl {
1227
1210
  args: {
1228
1211
  resourceGroupName,
1229
1212
  privateCloudName,
1230
- portMirroringId,
1231
- workloadNetworkPortMirroring,
1232
- options
1213
+ dnsZoneId,
1214
+ workloadNetworkDnsZone,
1215
+ options,
1233
1216
  },
1234
- spec: updatePortMirroringOperationSpec
1217
+ spec: updateDnsZoneOperationSpec,
1235
1218
  });
1236
1219
  const poller = yield createHttpPoller(lro, {
1237
1220
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1238
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1221
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1222
+ resourceLocationConfig: "location",
1239
1223
  });
1240
1224
  yield poller.poll();
1241
1225
  return poller;
1242
1226
  });
1243
1227
  }
1244
1228
  /**
1245
- * Create or update a port mirroring profile by id in a private cloud workload network.
1229
+ * Update a WorkloadNetworkDnsZone
1246
1230
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1247
1231
  * @param privateCloudName Name of the private cloud
1248
- * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring
1249
- * display name
1250
- * @param workloadNetworkPortMirroring NSX port mirroring
1232
+ * @param dnsZoneId ID of the DNS zone.
1233
+ * @param workloadNetworkDnsZone The resource properties to be updated.
1251
1234
  * @param options The options parameters.
1252
1235
  */
1253
- beginUpdatePortMirroringAndWait(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options) {
1236
+ beginUpdateDnsZoneAndWait(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options) {
1254
1237
  return __awaiter(this, void 0, void 0, function* () {
1255
- const poller = yield this.beginUpdatePortMirroring(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options);
1238
+ const poller = yield this.beginUpdateDnsZone(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options);
1256
1239
  return poller.pollUntilDone();
1257
1240
  });
1258
1241
  }
1259
1242
  /**
1260
- * Delete a port mirroring profile by id in a private cloud workload network.
1243
+ * Delete a WorkloadNetworkDnsZone
1261
1244
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1262
- * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring
1263
- * display name
1245
+ * @param dnsZoneId ID of the DNS zone.
1264
1246
  * @param privateCloudName Name of the private cloud
1265
1247
  * @param options The options parameters.
1266
1248
  */
1267
- beginDeletePortMirroring(resourceGroupName, portMirroringId, privateCloudName, options) {
1249
+ beginDeleteDnsZone(resourceGroupName, dnsZoneId, privateCloudName, options) {
1268
1250
  return __awaiter(this, void 0, void 0, function* () {
1269
1251
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1270
1252
  return this.client.sendOperationRequest(args, spec);
@@ -1284,65 +1266,84 @@ export class WorkloadNetworksImpl {
1284
1266
  rawResponse: {
1285
1267
  statusCode: currentRawResponse.status,
1286
1268
  body: currentRawResponse.parsedBody,
1287
- headers: currentRawResponse.headers.toJSON()
1288
- }
1269
+ headers: currentRawResponse.headers.toJSON(),
1270
+ },
1289
1271
  };
1290
1272
  });
1291
1273
  const lro = createLroSpec({
1292
1274
  sendOperationFn,
1293
- args: { resourceGroupName, portMirroringId, privateCloudName, options },
1294
- spec: deletePortMirroringOperationSpec
1275
+ args: { resourceGroupName, dnsZoneId, privateCloudName, options },
1276
+ spec: deleteDnsZoneOperationSpec,
1295
1277
  });
1296
1278
  const poller = yield createHttpPoller(lro, {
1297
1279
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1298
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1280
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1281
+ resourceLocationConfig: "location",
1299
1282
  });
1300
1283
  yield poller.poll();
1301
1284
  return poller;
1302
1285
  });
1303
1286
  }
1304
1287
  /**
1305
- * Delete a port mirroring profile by id in a private cloud workload network.
1288
+ * Delete a WorkloadNetworkDnsZone
1306
1289
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1307
- * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring
1308
- * display name
1290
+ * @param dnsZoneId ID of the DNS zone.
1309
1291
  * @param privateCloudName Name of the private cloud
1310
1292
  * @param options The options parameters.
1311
1293
  */
1312
- beginDeletePortMirroringAndWait(resourceGroupName, portMirroringId, privateCloudName, options) {
1294
+ beginDeleteDnsZoneAndWait(resourceGroupName, dnsZoneId, privateCloudName, options) {
1313
1295
  return __awaiter(this, void 0, void 0, function* () {
1314
- const poller = yield this.beginDeletePortMirroring(resourceGroupName, portMirroringId, privateCloudName, options);
1296
+ const poller = yield this.beginDeleteDnsZone(resourceGroupName, dnsZoneId, privateCloudName, options);
1315
1297
  return poller.pollUntilDone();
1316
1298
  });
1317
1299
  }
1318
1300
  /**
1319
- * List of vm groups in a private cloud workload network.
1301
+ * List WorkloadNetworkGateway resources by WorkloadNetwork
1320
1302
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1321
1303
  * @param privateCloudName Name of the private cloud
1322
1304
  * @param options The options parameters.
1323
1305
  */
1324
- _listVMGroups(resourceGroupName, privateCloudName, options) {
1325
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listVMGroupsOperationSpec);
1306
+ _listGateways(resourceGroupName, privateCloudName, options) {
1307
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listGatewaysOperationSpec);
1326
1308
  }
1327
1309
  /**
1328
- * Get a vm group by id in a private cloud workload network.
1310
+ * Get a WorkloadNetworkGateway
1329
1311
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1330
1312
  * @param privateCloudName Name of the private cloud
1331
- * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name
1313
+ * @param gatewayId The ID of the NSX Gateway
1332
1314
  * @param options The options parameters.
1333
1315
  */
1334
- getVMGroup(resourceGroupName, privateCloudName, vmGroupId, options) {
1335
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, vmGroupId, options }, getVMGroupOperationSpec);
1316
+ getGateway(resourceGroupName, privateCloudName, gatewayId, options) {
1317
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, gatewayId, options }, getGatewayOperationSpec);
1336
1318
  }
1337
1319
  /**
1338
- * Create a vm group by id in a private cloud workload network.
1320
+ * List WorkloadNetworkPortMirroring resources by WorkloadNetwork
1339
1321
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1340
1322
  * @param privateCloudName Name of the private cloud
1341
- * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name
1342
- * @param workloadNetworkVMGroup NSX VM Group
1343
1323
  * @param options The options parameters.
1344
1324
  */
1345
- beginCreateVMGroup(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options) {
1325
+ _listPortMirroring(resourceGroupName, privateCloudName, options) {
1326
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listPortMirroringOperationSpec);
1327
+ }
1328
+ /**
1329
+ * Get a WorkloadNetworkPortMirroring
1330
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1331
+ * @param privateCloudName Name of the private cloud
1332
+ * @param portMirroringId ID of the NSX port mirroring profile.
1333
+ * @param options The options parameters.
1334
+ */
1335
+ getPortMirroring(resourceGroupName, privateCloudName, portMirroringId, options) {
1336
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, portMirroringId, options }, getPortMirroringOperationSpec);
1337
+ }
1338
+ /**
1339
+ * Create a WorkloadNetworkPortMirroring
1340
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1341
+ * @param privateCloudName Name of the private cloud
1342
+ * @param portMirroringId ID of the NSX port mirroring profile.
1343
+ * @param workloadNetworkPortMirroring Resource create parameters.
1344
+ * @param options The options parameters.
1345
+ */
1346
+ beginCreatePortMirroring(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options) {
1346
1347
  return __awaiter(this, void 0, void 0, function* () {
1347
1348
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1348
1349
  return this.client.sendOperationRequest(args, spec);
@@ -1362,8 +1363,8 @@ export class WorkloadNetworksImpl {
1362
1363
  rawResponse: {
1363
1364
  statusCode: currentRawResponse.status,
1364
1365
  body: currentRawResponse.parsedBody,
1365
- headers: currentRawResponse.headers.toJSON()
1366
- }
1366
+ headers: currentRawResponse.headers.toJSON(),
1367
+ },
1367
1368
  };
1368
1369
  });
1369
1370
  const lro = createLroSpec({
@@ -1371,43 +1372,44 @@ export class WorkloadNetworksImpl {
1371
1372
  args: {
1372
1373
  resourceGroupName,
1373
1374
  privateCloudName,
1374
- vmGroupId,
1375
- workloadNetworkVMGroup,
1376
- options
1375
+ portMirroringId,
1376
+ workloadNetworkPortMirroring,
1377
+ options,
1377
1378
  },
1378
- spec: createVMGroupOperationSpec
1379
+ spec: createPortMirroringOperationSpec,
1379
1380
  });
1380
1381
  const poller = yield createHttpPoller(lro, {
1381
1382
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1382
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1383
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1384
+ resourceLocationConfig: "azure-async-operation",
1383
1385
  });
1384
1386
  yield poller.poll();
1385
1387
  return poller;
1386
1388
  });
1387
1389
  }
1388
1390
  /**
1389
- * Create a vm group by id in a private cloud workload network.
1391
+ * Create a WorkloadNetworkPortMirroring
1390
1392
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1391
1393
  * @param privateCloudName Name of the private cloud
1392
- * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name
1393
- * @param workloadNetworkVMGroup NSX VM Group
1394
+ * @param portMirroringId ID of the NSX port mirroring profile.
1395
+ * @param workloadNetworkPortMirroring Resource create parameters.
1394
1396
  * @param options The options parameters.
1395
1397
  */
1396
- beginCreateVMGroupAndWait(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options) {
1398
+ beginCreatePortMirroringAndWait(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options) {
1397
1399
  return __awaiter(this, void 0, void 0, function* () {
1398
- const poller = yield this.beginCreateVMGroup(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options);
1400
+ const poller = yield this.beginCreatePortMirroring(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options);
1399
1401
  return poller.pollUntilDone();
1400
1402
  });
1401
1403
  }
1402
1404
  /**
1403
- * Create or update a vm group by id in a private cloud workload network.
1405
+ * Update a WorkloadNetworkPortMirroring
1404
1406
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1405
1407
  * @param privateCloudName Name of the private cloud
1406
- * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name
1407
- * @param workloadNetworkVMGroup NSX VM Group
1408
+ * @param portMirroringId ID of the NSX port mirroring profile.
1409
+ * @param workloadNetworkPortMirroring The resource properties to be updated.
1408
1410
  * @param options The options parameters.
1409
1411
  */
1410
- beginUpdateVMGroup(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options) {
1412
+ beginUpdatePortMirroring(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options) {
1411
1413
  return __awaiter(this, void 0, void 0, function* () {
1412
1414
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1413
1415
  return this.client.sendOperationRequest(args, spec);
@@ -1427,8 +1429,8 @@ export class WorkloadNetworksImpl {
1427
1429
  rawResponse: {
1428
1430
  statusCode: currentRawResponse.status,
1429
1431
  body: currentRawResponse.parsedBody,
1430
- headers: currentRawResponse.headers.toJSON()
1431
- }
1432
+ headers: currentRawResponse.headers.toJSON(),
1433
+ },
1432
1434
  };
1433
1435
  });
1434
1436
  const lro = createLroSpec({
@@ -1436,42 +1438,43 @@ export class WorkloadNetworksImpl {
1436
1438
  args: {
1437
1439
  resourceGroupName,
1438
1440
  privateCloudName,
1439
- vmGroupId,
1440
- workloadNetworkVMGroup,
1441
- options
1441
+ portMirroringId,
1442
+ workloadNetworkPortMirroring,
1443
+ options,
1442
1444
  },
1443
- spec: updateVMGroupOperationSpec
1445
+ spec: updatePortMirroringOperationSpec,
1444
1446
  });
1445
1447
  const poller = yield createHttpPoller(lro, {
1446
1448
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1447
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1449
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1450
+ resourceLocationConfig: "location",
1448
1451
  });
1449
1452
  yield poller.poll();
1450
1453
  return poller;
1451
1454
  });
1452
1455
  }
1453
1456
  /**
1454
- * Create or update a vm group by id in a private cloud workload network.
1457
+ * Update a WorkloadNetworkPortMirroring
1455
1458
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1456
1459
  * @param privateCloudName Name of the private cloud
1457
- * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name
1458
- * @param workloadNetworkVMGroup NSX VM Group
1460
+ * @param portMirroringId ID of the NSX port mirroring profile.
1461
+ * @param workloadNetworkPortMirroring The resource properties to be updated.
1459
1462
  * @param options The options parameters.
1460
1463
  */
1461
- beginUpdateVMGroupAndWait(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options) {
1464
+ beginUpdatePortMirroringAndWait(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options) {
1462
1465
  return __awaiter(this, void 0, void 0, function* () {
1463
- const poller = yield this.beginUpdateVMGroup(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options);
1466
+ const poller = yield this.beginUpdatePortMirroring(resourceGroupName, privateCloudName, portMirroringId, workloadNetworkPortMirroring, options);
1464
1467
  return poller.pollUntilDone();
1465
1468
  });
1466
1469
  }
1467
1470
  /**
1468
- * Delete a vm group by id in a private cloud workload network.
1471
+ * Delete a WorkloadNetworkPortMirroring
1469
1472
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1470
- * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name
1473
+ * @param portMirroringId ID of the NSX port mirroring profile.
1471
1474
  * @param privateCloudName Name of the private cloud
1472
1475
  * @param options The options parameters.
1473
1476
  */
1474
- beginDeleteVMGroup(resourceGroupName, vmGroupId, privateCloudName, options) {
1477
+ beginDeletePortMirroring(resourceGroupName, portMirroringId, privateCloudName, options) {
1475
1478
  return __awaiter(this, void 0, void 0, function* () {
1476
1479
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1477
1480
  return this.client.sendOperationRequest(args, spec);
@@ -1491,148 +1494,65 @@ export class WorkloadNetworksImpl {
1491
1494
  rawResponse: {
1492
1495
  statusCode: currentRawResponse.status,
1493
1496
  body: currentRawResponse.parsedBody,
1494
- headers: currentRawResponse.headers.toJSON()
1495
- }
1497
+ headers: currentRawResponse.headers.toJSON(),
1498
+ },
1496
1499
  };
1497
1500
  });
1498
1501
  const lro = createLroSpec({
1499
1502
  sendOperationFn,
1500
- args: { resourceGroupName, vmGroupId, privateCloudName, options },
1501
- spec: deleteVMGroupOperationSpec
1503
+ args: { resourceGroupName, portMirroringId, privateCloudName, options },
1504
+ spec: deletePortMirroringOperationSpec,
1502
1505
  });
1503
1506
  const poller = yield createHttpPoller(lro, {
1504
1507
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1505
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1508
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1509
+ resourceLocationConfig: "location",
1506
1510
  });
1507
1511
  yield poller.poll();
1508
1512
  return poller;
1509
1513
  });
1510
1514
  }
1511
1515
  /**
1512
- * Delete a vm group by id in a private cloud workload network.
1516
+ * Delete a WorkloadNetworkPortMirroring
1513
1517
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1514
- * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name
1518
+ * @param portMirroringId ID of the NSX port mirroring profile.
1515
1519
  * @param privateCloudName Name of the private cloud
1516
1520
  * @param options The options parameters.
1517
1521
  */
1518
- beginDeleteVMGroupAndWait(resourceGroupName, vmGroupId, privateCloudName, options) {
1522
+ beginDeletePortMirroringAndWait(resourceGroupName, portMirroringId, privateCloudName, options) {
1519
1523
  return __awaiter(this, void 0, void 0, function* () {
1520
- const poller = yield this.beginDeleteVMGroup(resourceGroupName, vmGroupId, privateCloudName, options);
1524
+ const poller = yield this.beginDeletePortMirroring(resourceGroupName, portMirroringId, privateCloudName, options);
1521
1525
  return poller.pollUntilDone();
1522
1526
  });
1523
1527
  }
1524
1528
  /**
1525
- * List of virtual machines in a private cloud workload network.
1526
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1527
- * @param privateCloudName Name of the private cloud
1528
- * @param options The options parameters.
1529
- */
1530
- _listVirtualMachines(resourceGroupName, privateCloudName, options) {
1531
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listVirtualMachinesOperationSpec);
1532
- }
1533
- /**
1534
- * Get a virtual machine by id in a private cloud workload network.
1535
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1536
- * @param privateCloudName Name of the private cloud
1537
- * @param virtualMachineId Virtual Machine identifier
1538
- * @param options The options parameters.
1539
- */
1540
- getVirtualMachine(resourceGroupName, privateCloudName, virtualMachineId, options) {
1541
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, virtualMachineId, options }, getVirtualMachineOperationSpec);
1542
- }
1543
- /**
1544
- * List of DNS services in a private cloud workload network.
1545
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1546
- * @param privateCloudName Name of the private cloud
1547
- * @param options The options parameters.
1548
- */
1549
- _listDnsServices(resourceGroupName, privateCloudName, options) {
1550
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listDnsServicesOperationSpec);
1551
- }
1552
- /**
1553
- * Get a DNS service by id in a private cloud workload network.
1554
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1555
- * @param privateCloudName Name of the private cloud
1556
- * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display name
1557
- * @param options The options parameters.
1558
- */
1559
- getDnsService(resourceGroupName, privateCloudName, dnsServiceId, options) {
1560
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, dnsServiceId, options }, getDnsServiceOperationSpec);
1561
- }
1562
- /**
1563
- * Create a DNS service by id in a private cloud workload network.
1529
+ * List WorkloadNetworkPublicIP resources by WorkloadNetwork
1564
1530
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1565
1531
  * @param privateCloudName Name of the private cloud
1566
- * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display name
1567
- * @param workloadNetworkDnsService NSX DNS Service
1568
1532
  * @param options The options parameters.
1569
1533
  */
1570
- beginCreateDnsService(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options) {
1571
- return __awaiter(this, void 0, void 0, function* () {
1572
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1573
- return this.client.sendOperationRequest(args, spec);
1574
- });
1575
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1576
- var _a;
1577
- let currentRawResponse = undefined;
1578
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1579
- const callback = (rawResponse, flatResponse) => {
1580
- currentRawResponse = rawResponse;
1581
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1582
- };
1583
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1584
- const flatResponse = yield directSendOperation(updatedArgs, spec);
1585
- return {
1586
- flatResponse,
1587
- rawResponse: {
1588
- statusCode: currentRawResponse.status,
1589
- body: currentRawResponse.parsedBody,
1590
- headers: currentRawResponse.headers.toJSON()
1591
- }
1592
- };
1593
- });
1594
- const lro = createLroSpec({
1595
- sendOperationFn,
1596
- args: {
1597
- resourceGroupName,
1598
- privateCloudName,
1599
- dnsServiceId,
1600
- workloadNetworkDnsService,
1601
- options
1602
- },
1603
- spec: createDnsServiceOperationSpec
1604
- });
1605
- const poller = yield createHttpPoller(lro, {
1606
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1607
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1608
- });
1609
- yield poller.poll();
1610
- return poller;
1611
- });
1534
+ _listPublicIPs(resourceGroupName, privateCloudName, options) {
1535
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listPublicIPsOperationSpec);
1612
1536
  }
1613
1537
  /**
1614
- * Create a DNS service by id in a private cloud workload network.
1538
+ * Get a WorkloadNetworkPublicIP
1615
1539
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1616
1540
  * @param privateCloudName Name of the private cloud
1617
- * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display name
1618
- * @param workloadNetworkDnsService NSX DNS Service
1541
+ * @param publicIPId ID of the DNS zone.
1619
1542
  * @param options The options parameters.
1620
1543
  */
1621
- beginCreateDnsServiceAndWait(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options) {
1622
- return __awaiter(this, void 0, void 0, function* () {
1623
- const poller = yield this.beginCreateDnsService(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options);
1624
- return poller.pollUntilDone();
1625
- });
1544
+ getPublicIP(resourceGroupName, privateCloudName, publicIPId, options) {
1545
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, publicIPId, options }, getPublicIPOperationSpec);
1626
1546
  }
1627
1547
  /**
1628
- * Create or update a DNS service by id in a private cloud workload network.
1548
+ * Create a WorkloadNetworkPublicIP
1629
1549
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1630
1550
  * @param privateCloudName Name of the private cloud
1631
- * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display name
1632
- * @param workloadNetworkDnsService NSX DNS Service
1551
+ * @param publicIPId ID of the DNS zone.
1552
+ * @param workloadNetworkPublicIP Resource create parameters.
1633
1553
  * @param options The options parameters.
1634
1554
  */
1635
- beginUpdateDnsService(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options) {
1555
+ beginCreatePublicIP(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIP, options) {
1636
1556
  return __awaiter(this, void 0, void 0, function* () {
1637
1557
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1638
1558
  return this.client.sendOperationRequest(args, spec);
@@ -1652,8 +1572,8 @@ export class WorkloadNetworksImpl {
1652
1572
  rawResponse: {
1653
1573
  statusCode: currentRawResponse.status,
1654
1574
  body: currentRawResponse.parsedBody,
1655
- headers: currentRawResponse.headers.toJSON()
1656
- }
1575
+ headers: currentRawResponse.headers.toJSON(),
1576
+ },
1657
1577
  };
1658
1578
  });
1659
1579
  const lro = createLroSpec({
@@ -1661,42 +1581,43 @@ export class WorkloadNetworksImpl {
1661
1581
  args: {
1662
1582
  resourceGroupName,
1663
1583
  privateCloudName,
1664
- dnsServiceId,
1665
- workloadNetworkDnsService,
1666
- options
1584
+ publicIPId,
1585
+ workloadNetworkPublicIP,
1586
+ options,
1667
1587
  },
1668
- spec: updateDnsServiceOperationSpec
1588
+ spec: createPublicIPOperationSpec,
1669
1589
  });
1670
1590
  const poller = yield createHttpPoller(lro, {
1671
1591
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1672
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1592
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1593
+ resourceLocationConfig: "azure-async-operation",
1673
1594
  });
1674
1595
  yield poller.poll();
1675
1596
  return poller;
1676
1597
  });
1677
1598
  }
1678
1599
  /**
1679
- * Create or update a DNS service by id in a private cloud workload network.
1600
+ * Create a WorkloadNetworkPublicIP
1680
1601
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1681
1602
  * @param privateCloudName Name of the private cloud
1682
- * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display name
1683
- * @param workloadNetworkDnsService NSX DNS Service
1603
+ * @param publicIPId ID of the DNS zone.
1604
+ * @param workloadNetworkPublicIP Resource create parameters.
1684
1605
  * @param options The options parameters.
1685
1606
  */
1686
- beginUpdateDnsServiceAndWait(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options) {
1607
+ beginCreatePublicIPAndWait(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIP, options) {
1687
1608
  return __awaiter(this, void 0, void 0, function* () {
1688
- const poller = yield this.beginUpdateDnsService(resourceGroupName, privateCloudName, dnsServiceId, workloadNetworkDnsService, options);
1609
+ const poller = yield this.beginCreatePublicIP(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIP, options);
1689
1610
  return poller.pollUntilDone();
1690
1611
  });
1691
1612
  }
1692
1613
  /**
1693
- * Delete a DNS service by id in a private cloud workload network.
1614
+ * Delete a WorkloadNetworkPublicIP
1694
1615
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1695
- * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display name
1616
+ * @param publicIPId ID of the DNS zone.
1696
1617
  * @param privateCloudName Name of the private cloud
1697
1618
  * @param options The options parameters.
1698
1619
  */
1699
- beginDeleteDnsService(resourceGroupName, dnsServiceId, privateCloudName, options) {
1620
+ beginDeletePublicIP(resourceGroupName, publicIPId, privateCloudName, options) {
1700
1621
  return __awaiter(this, void 0, void 0, function* () {
1701
1622
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1702
1623
  return this.client.sendOperationRequest(args, spec);
@@ -1716,64 +1637,65 @@ export class WorkloadNetworksImpl {
1716
1637
  rawResponse: {
1717
1638
  statusCode: currentRawResponse.status,
1718
1639
  body: currentRawResponse.parsedBody,
1719
- headers: currentRawResponse.headers.toJSON()
1720
- }
1640
+ headers: currentRawResponse.headers.toJSON(),
1641
+ },
1721
1642
  };
1722
1643
  });
1723
1644
  const lro = createLroSpec({
1724
1645
  sendOperationFn,
1725
- args: { resourceGroupName, dnsServiceId, privateCloudName, options },
1726
- spec: deleteDnsServiceOperationSpec
1646
+ args: { resourceGroupName, publicIPId, privateCloudName, options },
1647
+ spec: deletePublicIPOperationSpec,
1727
1648
  });
1728
1649
  const poller = yield createHttpPoller(lro, {
1729
1650
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1730
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1651
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1652
+ resourceLocationConfig: "location",
1731
1653
  });
1732
1654
  yield poller.poll();
1733
1655
  return poller;
1734
1656
  });
1735
1657
  }
1736
1658
  /**
1737
- * Delete a DNS service by id in a private cloud workload network.
1659
+ * Delete a WorkloadNetworkPublicIP
1738
1660
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1739
- * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display name
1661
+ * @param publicIPId ID of the DNS zone.
1740
1662
  * @param privateCloudName Name of the private cloud
1741
1663
  * @param options The options parameters.
1742
1664
  */
1743
- beginDeleteDnsServiceAndWait(resourceGroupName, dnsServiceId, privateCloudName, options) {
1665
+ beginDeletePublicIPAndWait(resourceGroupName, publicIPId, privateCloudName, options) {
1744
1666
  return __awaiter(this, void 0, void 0, function* () {
1745
- const poller = yield this.beginDeleteDnsService(resourceGroupName, dnsServiceId, privateCloudName, options);
1667
+ const poller = yield this.beginDeletePublicIP(resourceGroupName, publicIPId, privateCloudName, options);
1746
1668
  return poller.pollUntilDone();
1747
1669
  });
1748
1670
  }
1749
1671
  /**
1750
- * List of DNS zones in a private cloud workload network.
1672
+ * List WorkloadNetworkSegment resources by WorkloadNetwork
1751
1673
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1752
1674
  * @param privateCloudName Name of the private cloud
1753
1675
  * @param options The options parameters.
1754
1676
  */
1755
- _listDnsZones(resourceGroupName, privateCloudName, options) {
1756
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listDnsZonesOperationSpec);
1677
+ _listSegments(resourceGroupName, privateCloudName, options) {
1678
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listSegmentsOperationSpec);
1757
1679
  }
1758
1680
  /**
1759
- * Get a DNS zone by id in a private cloud workload network.
1681
+ * Get a WorkloadNetworkSegment
1760
1682
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1761
1683
  * @param privateCloudName Name of the private cloud
1762
- * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
1684
+ * @param segmentId The ID of the NSX Segment
1763
1685
  * @param options The options parameters.
1764
1686
  */
1765
- getDnsZone(resourceGroupName, privateCloudName, dnsZoneId, options) {
1766
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, dnsZoneId, options }, getDnsZoneOperationSpec);
1687
+ getSegment(resourceGroupName, privateCloudName, segmentId, options) {
1688
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, segmentId, options }, getSegmentOperationSpec);
1767
1689
  }
1768
1690
  /**
1769
- * Create a DNS zone by id in a private cloud workload network.
1691
+ * Create a WorkloadNetworkSegment
1770
1692
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1771
1693
  * @param privateCloudName Name of the private cloud
1772
- * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
1773
- * @param workloadNetworkDnsZone NSX DNS Zone
1694
+ * @param segmentId The ID of the NSX Segment
1695
+ * @param workloadNetworkSegment Resource create parameters.
1774
1696
  * @param options The options parameters.
1775
1697
  */
1776
- beginCreateDnsZone(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options) {
1698
+ beginCreateSegments(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options) {
1777
1699
  return __awaiter(this, void 0, void 0, function* () {
1778
1700
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1779
1701
  return this.client.sendOperationRequest(args, spec);
@@ -1793,8 +1715,8 @@ export class WorkloadNetworksImpl {
1793
1715
  rawResponse: {
1794
1716
  statusCode: currentRawResponse.status,
1795
1717
  body: currentRawResponse.parsedBody,
1796
- headers: currentRawResponse.headers.toJSON()
1797
- }
1718
+ headers: currentRawResponse.headers.toJSON(),
1719
+ },
1798
1720
  };
1799
1721
  });
1800
1722
  const lro = createLroSpec({
@@ -1802,43 +1724,44 @@ export class WorkloadNetworksImpl {
1802
1724
  args: {
1803
1725
  resourceGroupName,
1804
1726
  privateCloudName,
1805
- dnsZoneId,
1806
- workloadNetworkDnsZone,
1807
- options
1727
+ segmentId,
1728
+ workloadNetworkSegment,
1729
+ options,
1808
1730
  },
1809
- spec: createDnsZoneOperationSpec
1731
+ spec: createSegmentsOperationSpec,
1810
1732
  });
1811
1733
  const poller = yield createHttpPoller(lro, {
1812
1734
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1813
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1735
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1736
+ resourceLocationConfig: "azure-async-operation",
1814
1737
  });
1815
1738
  yield poller.poll();
1816
1739
  return poller;
1817
1740
  });
1818
1741
  }
1819
1742
  /**
1820
- * Create a DNS zone by id in a private cloud workload network.
1743
+ * Create a WorkloadNetworkSegment
1821
1744
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1822
1745
  * @param privateCloudName Name of the private cloud
1823
- * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
1824
- * @param workloadNetworkDnsZone NSX DNS Zone
1746
+ * @param segmentId The ID of the NSX Segment
1747
+ * @param workloadNetworkSegment Resource create parameters.
1825
1748
  * @param options The options parameters.
1826
1749
  */
1827
- beginCreateDnsZoneAndWait(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options) {
1750
+ beginCreateSegmentsAndWait(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options) {
1828
1751
  return __awaiter(this, void 0, void 0, function* () {
1829
- const poller = yield this.beginCreateDnsZone(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options);
1752
+ const poller = yield this.beginCreateSegments(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options);
1830
1753
  return poller.pollUntilDone();
1831
1754
  });
1832
1755
  }
1833
1756
  /**
1834
- * Create or update a DNS zone by id in a private cloud workload network.
1757
+ * Update a WorkloadNetworkSegment
1835
1758
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1836
1759
  * @param privateCloudName Name of the private cloud
1837
- * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
1838
- * @param workloadNetworkDnsZone NSX DNS Zone
1760
+ * @param segmentId The ID of the NSX Segment
1761
+ * @param workloadNetworkSegment The resource properties to be updated.
1839
1762
  * @param options The options parameters.
1840
1763
  */
1841
- beginUpdateDnsZone(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options) {
1764
+ beginUpdateSegments(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options) {
1842
1765
  return __awaiter(this, void 0, void 0, function* () {
1843
1766
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1844
1767
  return this.client.sendOperationRequest(args, spec);
@@ -1858,8 +1781,8 @@ export class WorkloadNetworksImpl {
1858
1781
  rawResponse: {
1859
1782
  statusCode: currentRawResponse.status,
1860
1783
  body: currentRawResponse.parsedBody,
1861
- headers: currentRawResponse.headers.toJSON()
1862
- }
1784
+ headers: currentRawResponse.headers.toJSON(),
1785
+ },
1863
1786
  };
1864
1787
  });
1865
1788
  const lro = createLroSpec({
@@ -1867,42 +1790,43 @@ export class WorkloadNetworksImpl {
1867
1790
  args: {
1868
1791
  resourceGroupName,
1869
1792
  privateCloudName,
1870
- dnsZoneId,
1871
- workloadNetworkDnsZone,
1872
- options
1793
+ segmentId,
1794
+ workloadNetworkSegment,
1795
+ options,
1873
1796
  },
1874
- spec: updateDnsZoneOperationSpec
1797
+ spec: updateSegmentsOperationSpec,
1875
1798
  });
1876
1799
  const poller = yield createHttpPoller(lro, {
1877
1800
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1878
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1801
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1802
+ resourceLocationConfig: "location",
1879
1803
  });
1880
1804
  yield poller.poll();
1881
1805
  return poller;
1882
1806
  });
1883
1807
  }
1884
1808
  /**
1885
- * Create or update a DNS zone by id in a private cloud workload network.
1809
+ * Update a WorkloadNetworkSegment
1886
1810
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1887
1811
  * @param privateCloudName Name of the private cloud
1888
- * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
1889
- * @param workloadNetworkDnsZone NSX DNS Zone
1812
+ * @param segmentId The ID of the NSX Segment
1813
+ * @param workloadNetworkSegment The resource properties to be updated.
1890
1814
  * @param options The options parameters.
1891
1815
  */
1892
- beginUpdateDnsZoneAndWait(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options) {
1816
+ beginUpdateSegmentsAndWait(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options) {
1893
1817
  return __awaiter(this, void 0, void 0, function* () {
1894
- const poller = yield this.beginUpdateDnsZone(resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, options);
1818
+ const poller = yield this.beginUpdateSegments(resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, options);
1895
1819
  return poller.pollUntilDone();
1896
1820
  });
1897
1821
  }
1898
1822
  /**
1899
- * Delete a DNS zone by id in a private cloud workload network.
1823
+ * Delete a WorkloadNetworkSegment
1900
1824
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1901
- * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
1902
1825
  * @param privateCloudName Name of the private cloud
1826
+ * @param segmentId The ID of the NSX Segment
1903
1827
  * @param options The options parameters.
1904
1828
  */
1905
- beginDeleteDnsZone(resourceGroupName, dnsZoneId, privateCloudName, options) {
1829
+ beginDeleteSegment(resourceGroupName, privateCloudName, segmentId, options) {
1906
1830
  return __awaiter(this, void 0, void 0, function* () {
1907
1831
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1908
1832
  return this.client.sendOperationRequest(args, spec);
@@ -1922,66 +1846,84 @@ export class WorkloadNetworksImpl {
1922
1846
  rawResponse: {
1923
1847
  statusCode: currentRawResponse.status,
1924
1848
  body: currentRawResponse.parsedBody,
1925
- headers: currentRawResponse.headers.toJSON()
1926
- }
1849
+ headers: currentRawResponse.headers.toJSON(),
1850
+ },
1927
1851
  };
1928
1852
  });
1929
1853
  const lro = createLroSpec({
1930
1854
  sendOperationFn,
1931
- args: { resourceGroupName, dnsZoneId, privateCloudName, options },
1932
- spec: deleteDnsZoneOperationSpec
1855
+ args: { resourceGroupName, privateCloudName, segmentId, options },
1856
+ spec: deleteSegmentOperationSpec,
1933
1857
  });
1934
1858
  const poller = yield createHttpPoller(lro, {
1935
1859
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1936
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1860
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1861
+ resourceLocationConfig: "location",
1937
1862
  });
1938
1863
  yield poller.poll();
1939
1864
  return poller;
1940
1865
  });
1941
1866
  }
1942
1867
  /**
1943
- * Delete a DNS zone by id in a private cloud workload network.
1868
+ * Delete a WorkloadNetworkSegment
1944
1869
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1945
- * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
1946
1870
  * @param privateCloudName Name of the private cloud
1871
+ * @param segmentId The ID of the NSX Segment
1947
1872
  * @param options The options parameters.
1948
1873
  */
1949
- beginDeleteDnsZoneAndWait(resourceGroupName, dnsZoneId, privateCloudName, options) {
1874
+ beginDeleteSegmentAndWait(resourceGroupName, privateCloudName, segmentId, options) {
1950
1875
  return __awaiter(this, void 0, void 0, function* () {
1951
- const poller = yield this.beginDeleteDnsZone(resourceGroupName, dnsZoneId, privateCloudName, options);
1876
+ const poller = yield this.beginDeleteSegment(resourceGroupName, privateCloudName, segmentId, options);
1952
1877
  return poller.pollUntilDone();
1953
1878
  });
1954
1879
  }
1955
1880
  /**
1956
- * List of Public IP Blocks in a private cloud workload network.
1881
+ * List WorkloadNetworkVirtualMachine resources by WorkloadNetwork
1957
1882
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1958
1883
  * @param privateCloudName Name of the private cloud
1959
1884
  * @param options The options parameters.
1960
1885
  */
1961
- _listPublicIPs(resourceGroupName, privateCloudName, options) {
1962
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listPublicIPsOperationSpec);
1886
+ _listVirtualMachines(resourceGroupName, privateCloudName, options) {
1887
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listVirtualMachinesOperationSpec);
1963
1888
  }
1964
1889
  /**
1965
- * Get a Public IP Block by id in a private cloud workload network.
1890
+ * Get a WorkloadNetworkVirtualMachine
1966
1891
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1967
1892
  * @param privateCloudName Name of the private cloud
1968
- * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's
1969
- * display name
1893
+ * @param virtualMachineId ID of the virtual machine.
1970
1894
  * @param options The options parameters.
1971
1895
  */
1972
- getPublicIP(resourceGroupName, privateCloudName, publicIPId, options) {
1973
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, publicIPId, options }, getPublicIPOperationSpec);
1896
+ getVirtualMachine(resourceGroupName, privateCloudName, virtualMachineId, options) {
1897
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, virtualMachineId, options }, getVirtualMachineOperationSpec);
1974
1898
  }
1975
1899
  /**
1976
- * Create a Public IP Block by id in a private cloud workload network.
1900
+ * List WorkloadNetworkVMGroup resources by WorkloadNetwork
1977
1901
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1978
1902
  * @param privateCloudName Name of the private cloud
1979
- * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's
1980
- * display name
1981
- * @param workloadNetworkPublicIP NSX Public IP Block
1982
1903
  * @param options The options parameters.
1983
1904
  */
1984
- beginCreatePublicIP(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIP, options) {
1905
+ _listVMGroups(resourceGroupName, privateCloudName, options) {
1906
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listVMGroupsOperationSpec);
1907
+ }
1908
+ /**
1909
+ * Get a WorkloadNetworkVMGroup
1910
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1911
+ * @param privateCloudName Name of the private cloud
1912
+ * @param vmGroupId ID of the VM group.
1913
+ * @param options The options parameters.
1914
+ */
1915
+ getVMGroup(resourceGroupName, privateCloudName, vmGroupId, options) {
1916
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, vmGroupId, options }, getVMGroupOperationSpec);
1917
+ }
1918
+ /**
1919
+ * Create a WorkloadNetworkVMGroup
1920
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1921
+ * @param privateCloudName Name of the private cloud
1922
+ * @param vmGroupId ID of the VM group.
1923
+ * @param workloadNetworkVMGroup Resource create parameters.
1924
+ * @param options The options parameters.
1925
+ */
1926
+ beginCreateVMGroup(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options) {
1985
1927
  return __awaiter(this, void 0, void 0, function* () {
1986
1928
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
1987
1929
  return this.client.sendOperationRequest(args, spec);
@@ -2001,8 +1943,8 @@ export class WorkloadNetworksImpl {
2001
1943
  rawResponse: {
2002
1944
  statusCode: currentRawResponse.status,
2003
1945
  body: currentRawResponse.parsedBody,
2004
- headers: currentRawResponse.headers.toJSON()
2005
- }
1946
+ headers: currentRawResponse.headers.toJSON(),
1947
+ },
2006
1948
  };
2007
1949
  });
2008
1950
  const lro = createLroSpec({
@@ -2010,44 +1952,44 @@ export class WorkloadNetworksImpl {
2010
1952
  args: {
2011
1953
  resourceGroupName,
2012
1954
  privateCloudName,
2013
- publicIPId,
2014
- workloadNetworkPublicIP,
2015
- options
1955
+ vmGroupId,
1956
+ workloadNetworkVMGroup,
1957
+ options,
2016
1958
  },
2017
- spec: createPublicIPOperationSpec
1959
+ spec: createVMGroupOperationSpec,
2018
1960
  });
2019
1961
  const poller = yield createHttpPoller(lro, {
2020
1962
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2021
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1963
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1964
+ resourceLocationConfig: "azure-async-operation",
2022
1965
  });
2023
1966
  yield poller.poll();
2024
1967
  return poller;
2025
1968
  });
2026
1969
  }
2027
1970
  /**
2028
- * Create a Public IP Block by id in a private cloud workload network.
1971
+ * Create a WorkloadNetworkVMGroup
2029
1972
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2030
1973
  * @param privateCloudName Name of the private cloud
2031
- * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's
2032
- * display name
2033
- * @param workloadNetworkPublicIP NSX Public IP Block
1974
+ * @param vmGroupId ID of the VM group.
1975
+ * @param workloadNetworkVMGroup Resource create parameters.
2034
1976
  * @param options The options parameters.
2035
1977
  */
2036
- beginCreatePublicIPAndWait(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIP, options) {
1978
+ beginCreateVMGroupAndWait(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options) {
2037
1979
  return __awaiter(this, void 0, void 0, function* () {
2038
- const poller = yield this.beginCreatePublicIP(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIP, options);
1980
+ const poller = yield this.beginCreateVMGroup(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options);
2039
1981
  return poller.pollUntilDone();
2040
1982
  });
2041
1983
  }
2042
1984
  /**
2043
- * Delete a Public IP Block by id in a private cloud workload network.
1985
+ * Update a WorkloadNetworkVMGroup
2044
1986
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2045
- * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's
2046
- * display name
2047
1987
  * @param privateCloudName Name of the private cloud
1988
+ * @param vmGroupId ID of the VM group.
1989
+ * @param workloadNetworkVMGroup The resource properties to be updated.
2048
1990
  * @param options The options parameters.
2049
1991
  */
2050
- beginDeletePublicIP(resourceGroupName, publicIPId, privateCloudName, options) {
1992
+ beginUpdateVMGroup(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options) {
2051
1993
  return __awaiter(this, void 0, void 0, function* () {
2052
1994
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
2053
1995
  return this.client.sendOperationRequest(args, spec);
@@ -2067,56 +2009,111 @@ export class WorkloadNetworksImpl {
2067
2009
  rawResponse: {
2068
2010
  statusCode: currentRawResponse.status,
2069
2011
  body: currentRawResponse.parsedBody,
2070
- headers: currentRawResponse.headers.toJSON()
2071
- }
2012
+ headers: currentRawResponse.headers.toJSON(),
2013
+ },
2072
2014
  };
2073
2015
  });
2074
2016
  const lro = createLroSpec({
2075
2017
  sendOperationFn,
2076
- args: { resourceGroupName, publicIPId, privateCloudName, options },
2077
- spec: deletePublicIPOperationSpec
2018
+ args: {
2019
+ resourceGroupName,
2020
+ privateCloudName,
2021
+ vmGroupId,
2022
+ workloadNetworkVMGroup,
2023
+ options,
2024
+ },
2025
+ spec: updateVMGroupOperationSpec,
2078
2026
  });
2079
2027
  const poller = yield createHttpPoller(lro, {
2080
2028
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2081
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
2029
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
2030
+ resourceLocationConfig: "location",
2082
2031
  });
2083
2032
  yield poller.poll();
2084
2033
  return poller;
2085
2034
  });
2086
2035
  }
2087
2036
  /**
2088
- * Delete a Public IP Block by id in a private cloud workload network.
2037
+ * Update a WorkloadNetworkVMGroup
2089
2038
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2090
- * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's
2091
- * display name
2092
2039
  * @param privateCloudName Name of the private cloud
2040
+ * @param vmGroupId ID of the VM group.
2041
+ * @param workloadNetworkVMGroup The resource properties to be updated.
2093
2042
  * @param options The options parameters.
2094
2043
  */
2095
- beginDeletePublicIPAndWait(resourceGroupName, publicIPId, privateCloudName, options) {
2044
+ beginUpdateVMGroupAndWait(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options) {
2096
2045
  return __awaiter(this, void 0, void 0, function* () {
2097
- const poller = yield this.beginDeletePublicIP(resourceGroupName, publicIPId, privateCloudName, options);
2046
+ const poller = yield this.beginUpdateVMGroup(resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, options);
2098
2047
  return poller.pollUntilDone();
2099
2048
  });
2100
2049
  }
2101
2050
  /**
2102
- * ListNext
2051
+ * Delete a WorkloadNetworkVMGroup
2103
2052
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2053
+ * @param vmGroupId ID of the VM group.
2104
2054
  * @param privateCloudName Name of the private cloud
2105
- * @param nextLink The nextLink from the previous successful call to the List method.
2106
2055
  * @param options The options parameters.
2107
2056
  */
2108
- _listNext(resourceGroupName, privateCloudName, nextLink, options) {
2109
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listNextOperationSpec);
2057
+ beginDeleteVMGroup(resourceGroupName, vmGroupId, privateCloudName, options) {
2058
+ return __awaiter(this, void 0, void 0, function* () {
2059
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
2060
+ return this.client.sendOperationRequest(args, spec);
2061
+ });
2062
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
2063
+ var _a;
2064
+ let currentRawResponse = undefined;
2065
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
2066
+ const callback = (rawResponse, flatResponse) => {
2067
+ currentRawResponse = rawResponse;
2068
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
2069
+ };
2070
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
2071
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
2072
+ return {
2073
+ flatResponse,
2074
+ rawResponse: {
2075
+ statusCode: currentRawResponse.status,
2076
+ body: currentRawResponse.parsedBody,
2077
+ headers: currentRawResponse.headers.toJSON(),
2078
+ },
2079
+ };
2080
+ });
2081
+ const lro = createLroSpec({
2082
+ sendOperationFn,
2083
+ args: { resourceGroupName, vmGroupId, privateCloudName, options },
2084
+ spec: deleteVMGroupOperationSpec,
2085
+ });
2086
+ const poller = yield createHttpPoller(lro, {
2087
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2088
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
2089
+ resourceLocationConfig: "location",
2090
+ });
2091
+ yield poller.poll();
2092
+ return poller;
2093
+ });
2110
2094
  }
2111
2095
  /**
2112
- * ListSegmentsNext
2096
+ * Delete a WorkloadNetworkVMGroup
2113
2097
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2098
+ * @param vmGroupId ID of the VM group.
2114
2099
  * @param privateCloudName Name of the private cloud
2115
- * @param nextLink The nextLink from the previous successful call to the ListSegments method.
2116
2100
  * @param options The options parameters.
2117
2101
  */
2118
- _listSegmentsNext(resourceGroupName, privateCloudName, nextLink, options) {
2119
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listSegmentsNextOperationSpec);
2102
+ beginDeleteVMGroupAndWait(resourceGroupName, vmGroupId, privateCloudName, options) {
2103
+ return __awaiter(this, void 0, void 0, function* () {
2104
+ const poller = yield this.beginDeleteVMGroup(resourceGroupName, vmGroupId, privateCloudName, options);
2105
+ return poller.pollUntilDone();
2106
+ });
2107
+ }
2108
+ /**
2109
+ * ListNext
2110
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2111
+ * @param privateCloudName Name of the private cloud
2112
+ * @param nextLink The nextLink from the previous successful call to the List method.
2113
+ * @param options The options parameters.
2114
+ */
2115
+ _listNext(resourceGroupName, privateCloudName, nextLink, options) {
2116
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listNextOperationSpec);
2120
2117
  }
2121
2118
  /**
2122
2119
  * ListDhcpNext
@@ -2128,6 +2125,26 @@ export class WorkloadNetworksImpl {
2128
2125
  _listDhcpNext(resourceGroupName, privateCloudName, nextLink, options) {
2129
2126
  return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listDhcpNextOperationSpec);
2130
2127
  }
2128
+ /**
2129
+ * ListDnsServicesNext
2130
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2131
+ * @param privateCloudName Name of the private cloud
2132
+ * @param nextLink The nextLink from the previous successful call to the ListDnsServices method.
2133
+ * @param options The options parameters.
2134
+ */
2135
+ _listDnsServicesNext(resourceGroupName, privateCloudName, nextLink, options) {
2136
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listDnsServicesNextOperationSpec);
2137
+ }
2138
+ /**
2139
+ * ListDnsZonesNext
2140
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2141
+ * @param privateCloudName Name of the private cloud
2142
+ * @param nextLink The nextLink from the previous successful call to the ListDnsZones method.
2143
+ * @param options The options parameters.
2144
+ */
2145
+ _listDnsZonesNext(resourceGroupName, privateCloudName, nextLink, options) {
2146
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listDnsZonesNextOperationSpec);
2147
+ }
2131
2148
  /**
2132
2149
  * ListGatewaysNext
2133
2150
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -2149,68 +2166,79 @@ export class WorkloadNetworksImpl {
2149
2166
  return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listPortMirroringNextOperationSpec);
2150
2167
  }
2151
2168
  /**
2152
- * ListVMGroupsNext
2153
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2154
- * @param privateCloudName Name of the private cloud
2155
- * @param nextLink The nextLink from the previous successful call to the ListVMGroups method.
2156
- * @param options The options parameters.
2157
- */
2158
- _listVMGroupsNext(resourceGroupName, privateCloudName, nextLink, options) {
2159
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listVMGroupsNextOperationSpec);
2160
- }
2161
- /**
2162
- * ListVirtualMachinesNext
2169
+ * ListPublicIPsNext
2163
2170
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2164
2171
  * @param privateCloudName Name of the private cloud
2165
- * @param nextLink The nextLink from the previous successful call to the ListVirtualMachines method.
2172
+ * @param nextLink The nextLink from the previous successful call to the ListPublicIPs method.
2166
2173
  * @param options The options parameters.
2167
2174
  */
2168
- _listVirtualMachinesNext(resourceGroupName, privateCloudName, nextLink, options) {
2169
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listVirtualMachinesNextOperationSpec);
2175
+ _listPublicIPsNext(resourceGroupName, privateCloudName, nextLink, options) {
2176
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listPublicIPsNextOperationSpec);
2170
2177
  }
2171
2178
  /**
2172
- * ListDnsServicesNext
2179
+ * ListSegmentsNext
2173
2180
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2174
2181
  * @param privateCloudName Name of the private cloud
2175
- * @param nextLink The nextLink from the previous successful call to the ListDnsServices method.
2182
+ * @param nextLink The nextLink from the previous successful call to the ListSegments method.
2176
2183
  * @param options The options parameters.
2177
2184
  */
2178
- _listDnsServicesNext(resourceGroupName, privateCloudName, nextLink, options) {
2179
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listDnsServicesNextOperationSpec);
2185
+ _listSegmentsNext(resourceGroupName, privateCloudName, nextLink, options) {
2186
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listSegmentsNextOperationSpec);
2180
2187
  }
2181
2188
  /**
2182
- * ListDnsZonesNext
2189
+ * ListVirtualMachinesNext
2183
2190
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2184
2191
  * @param privateCloudName Name of the private cloud
2185
- * @param nextLink The nextLink from the previous successful call to the ListDnsZones method.
2192
+ * @param nextLink The nextLink from the previous successful call to the ListVirtualMachines method.
2186
2193
  * @param options The options parameters.
2187
2194
  */
2188
- _listDnsZonesNext(resourceGroupName, privateCloudName, nextLink, options) {
2189
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listDnsZonesNextOperationSpec);
2195
+ _listVirtualMachinesNext(resourceGroupName, privateCloudName, nextLink, options) {
2196
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listVirtualMachinesNextOperationSpec);
2190
2197
  }
2191
2198
  /**
2192
- * ListPublicIPsNext
2199
+ * ListVMGroupsNext
2193
2200
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2194
2201
  * @param privateCloudName Name of the private cloud
2195
- * @param nextLink The nextLink from the previous successful call to the ListPublicIPs method.
2202
+ * @param nextLink The nextLink from the previous successful call to the ListVMGroups method.
2196
2203
  * @param options The options parameters.
2197
2204
  */
2198
- _listPublicIPsNext(resourceGroupName, privateCloudName, nextLink, options) {
2199
- return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listPublicIPsNextOperationSpec);
2205
+ _listVMGroupsNext(resourceGroupName, privateCloudName, nextLink, options) {
2206
+ return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listVMGroupsNextOperationSpec);
2200
2207
  }
2201
2208
  }
2202
2209
  // Operation Specifications
2203
2210
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
2211
+ const listOperationSpec = {
2212
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks",
2213
+ httpMethod: "GET",
2214
+ responses: {
2215
+ 200: {
2216
+ bodyMapper: Mappers.WorkloadNetworkListResult,
2217
+ },
2218
+ default: {
2219
+ bodyMapper: Mappers.ErrorResponse,
2220
+ },
2221
+ },
2222
+ queryParameters: [Parameters.apiVersion],
2223
+ urlParameters: [
2224
+ Parameters.$host,
2225
+ Parameters.subscriptionId,
2226
+ Parameters.resourceGroupName,
2227
+ Parameters.privateCloudName,
2228
+ ],
2229
+ headerParameters: [Parameters.accept],
2230
+ serializer,
2231
+ };
2204
2232
  const getOperationSpec = {
2205
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/{workloadNetworkName}",
2233
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default",
2206
2234
  httpMethod: "GET",
2207
2235
  responses: {
2208
2236
  200: {
2209
- bodyMapper: Mappers.WorkloadNetwork
2237
+ bodyMapper: Mappers.WorkloadNetwork,
2210
2238
  },
2211
2239
  default: {
2212
- bodyMapper: Mappers.ErrorResponse
2213
- }
2240
+ bodyMapper: Mappers.ErrorResponse,
2241
+ },
2214
2242
  },
2215
2243
  queryParameters: [Parameters.apiVersion],
2216
2244
  urlParameters: [
@@ -2218,63 +2246,152 @@ const getOperationSpec = {
2218
2246
  Parameters.subscriptionId,
2219
2247
  Parameters.resourceGroupName,
2220
2248
  Parameters.privateCloudName,
2221
- Parameters.workloadNetworkName
2222
2249
  ],
2223
2250
  headerParameters: [Parameters.accept],
2224
- serializer
2251
+ serializer,
2225
2252
  };
2226
- const listOperationSpec = {
2227
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks",
2253
+ const listDhcpOperationSpec = {
2254
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations",
2228
2255
  httpMethod: "GET",
2229
2256
  responses: {
2230
2257
  200: {
2231
- bodyMapper: Mappers.WorkloadNetworkList
2258
+ bodyMapper: Mappers.WorkloadNetworkDhcpListResult,
2232
2259
  },
2233
2260
  default: {
2234
- bodyMapper: Mappers.ErrorResponse
2235
- }
2261
+ bodyMapper: Mappers.ErrorResponse,
2262
+ },
2236
2263
  },
2237
2264
  queryParameters: [Parameters.apiVersion],
2238
2265
  urlParameters: [
2239
2266
  Parameters.$host,
2240
2267
  Parameters.subscriptionId,
2241
2268
  Parameters.resourceGroupName,
2242
- Parameters.privateCloudName
2269
+ Parameters.privateCloudName,
2243
2270
  ],
2244
2271
  headerParameters: [Parameters.accept],
2245
- serializer
2272
+ serializer,
2246
2273
  };
2247
- const listSegmentsOperationSpec = {
2248
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments",
2274
+ const getDhcpOperationSpec = {
2275
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}",
2249
2276
  httpMethod: "GET",
2250
2277
  responses: {
2251
2278
  200: {
2252
- bodyMapper: Mappers.WorkloadNetworkSegmentsList
2279
+ bodyMapper: Mappers.WorkloadNetworkDhcp,
2253
2280
  },
2254
2281
  default: {
2255
- bodyMapper: Mappers.ErrorResponse
2256
- }
2282
+ bodyMapper: Mappers.ErrorResponse,
2283
+ },
2257
2284
  },
2258
2285
  queryParameters: [Parameters.apiVersion],
2259
2286
  urlParameters: [
2260
2287
  Parameters.$host,
2261
2288
  Parameters.subscriptionId,
2262
2289
  Parameters.resourceGroupName,
2263
- Parameters.privateCloudName
2290
+ Parameters.privateCloudName,
2291
+ Parameters.dhcpId,
2264
2292
  ],
2265
2293
  headerParameters: [Parameters.accept],
2266
- serializer
2294
+ serializer,
2267
2295
  };
2268
- const getSegmentOperationSpec = {
2269
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}",
2296
+ const createDhcpOperationSpec = {
2297
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}",
2298
+ httpMethod: "PUT",
2299
+ responses: {
2300
+ 200: {
2301
+ bodyMapper: Mappers.WorkloadNetworkDhcp,
2302
+ },
2303
+ 201: {
2304
+ bodyMapper: Mappers.WorkloadNetworkDhcp,
2305
+ },
2306
+ 202: {
2307
+ bodyMapper: Mappers.WorkloadNetworkDhcp,
2308
+ },
2309
+ 204: {
2310
+ bodyMapper: Mappers.WorkloadNetworkDhcp,
2311
+ },
2312
+ default: {
2313
+ bodyMapper: Mappers.ErrorResponse,
2314
+ },
2315
+ },
2316
+ requestBody: Parameters.workloadNetworkDhcp,
2317
+ queryParameters: [Parameters.apiVersion],
2318
+ urlParameters: [
2319
+ Parameters.$host,
2320
+ Parameters.subscriptionId,
2321
+ Parameters.resourceGroupName,
2322
+ Parameters.privateCloudName,
2323
+ Parameters.dhcpId,
2324
+ ],
2325
+ headerParameters: [Parameters.accept, Parameters.contentType],
2326
+ mediaType: "json",
2327
+ serializer,
2328
+ };
2329
+ const updateDhcpOperationSpec = {
2330
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}",
2331
+ httpMethod: "PATCH",
2332
+ responses: {
2333
+ 200: {
2334
+ bodyMapper: Mappers.WorkloadNetworkDhcp,
2335
+ },
2336
+ 201: {
2337
+ bodyMapper: Mappers.WorkloadNetworkDhcp,
2338
+ },
2339
+ 202: {
2340
+ bodyMapper: Mappers.WorkloadNetworkDhcp,
2341
+ },
2342
+ 204: {
2343
+ bodyMapper: Mappers.WorkloadNetworkDhcp,
2344
+ },
2345
+ default: {
2346
+ bodyMapper: Mappers.ErrorResponse,
2347
+ },
2348
+ },
2349
+ requestBody: Parameters.workloadNetworkDhcp1,
2350
+ queryParameters: [Parameters.apiVersion],
2351
+ urlParameters: [
2352
+ Parameters.$host,
2353
+ Parameters.subscriptionId,
2354
+ Parameters.resourceGroupName,
2355
+ Parameters.privateCloudName,
2356
+ Parameters.dhcpId,
2357
+ ],
2358
+ headerParameters: [Parameters.accept, Parameters.contentType],
2359
+ mediaType: "json",
2360
+ serializer,
2361
+ };
2362
+ const deleteDhcpOperationSpec = {
2363
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}",
2364
+ httpMethod: "DELETE",
2365
+ responses: {
2366
+ 200: {},
2367
+ 201: {},
2368
+ 202: {},
2369
+ 204: {},
2370
+ default: {
2371
+ bodyMapper: Mappers.ErrorResponse,
2372
+ },
2373
+ },
2374
+ queryParameters: [Parameters.apiVersion],
2375
+ urlParameters: [
2376
+ Parameters.$host,
2377
+ Parameters.subscriptionId,
2378
+ Parameters.resourceGroupName,
2379
+ Parameters.privateCloudName,
2380
+ Parameters.dhcpId,
2381
+ ],
2382
+ headerParameters: [Parameters.accept],
2383
+ serializer,
2384
+ };
2385
+ const listDnsServicesOperationSpec = {
2386
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices",
2270
2387
  httpMethod: "GET",
2271
2388
  responses: {
2272
2389
  200: {
2273
- bodyMapper: Mappers.WorkloadNetworkSegment
2390
+ bodyMapper: Mappers.WorkloadNetworkDnsServiceListResult,
2274
2391
  },
2275
2392
  default: {
2276
- bodyMapper: Mappers.ErrorResponse
2277
- }
2393
+ bodyMapper: Mappers.ErrorResponse,
2394
+ },
2278
2395
  },
2279
2396
  queryParameters: [Parameters.apiVersion],
2280
2397
  urlParameters: [
@@ -2282,79 +2399,100 @@ const getSegmentOperationSpec = {
2282
2399
  Parameters.subscriptionId,
2283
2400
  Parameters.resourceGroupName,
2284
2401
  Parameters.privateCloudName,
2285
- Parameters.segmentId
2286
2402
  ],
2287
2403
  headerParameters: [Parameters.accept],
2288
- serializer
2404
+ serializer,
2289
2405
  };
2290
- const createSegmentsOperationSpec = {
2291
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}",
2406
+ const getDnsServiceOperationSpec = {
2407
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}",
2408
+ httpMethod: "GET",
2409
+ responses: {
2410
+ 200: {
2411
+ bodyMapper: Mappers.WorkloadNetworkDnsService,
2412
+ },
2413
+ default: {
2414
+ bodyMapper: Mappers.ErrorResponse,
2415
+ },
2416
+ },
2417
+ queryParameters: [Parameters.apiVersion],
2418
+ urlParameters: [
2419
+ Parameters.$host,
2420
+ Parameters.subscriptionId,
2421
+ Parameters.resourceGroupName,
2422
+ Parameters.privateCloudName,
2423
+ Parameters.dnsServiceId,
2424
+ ],
2425
+ headerParameters: [Parameters.accept],
2426
+ serializer,
2427
+ };
2428
+ const createDnsServiceOperationSpec = {
2429
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}",
2292
2430
  httpMethod: "PUT",
2293
2431
  responses: {
2294
2432
  200: {
2295
- bodyMapper: Mappers.WorkloadNetworkSegment
2433
+ bodyMapper: Mappers.WorkloadNetworkDnsService,
2296
2434
  },
2297
2435
  201: {
2298
- bodyMapper: Mappers.WorkloadNetworkSegment
2436
+ bodyMapper: Mappers.WorkloadNetworkDnsService,
2299
2437
  },
2300
2438
  202: {
2301
- bodyMapper: Mappers.WorkloadNetworkSegment
2439
+ bodyMapper: Mappers.WorkloadNetworkDnsService,
2302
2440
  },
2303
2441
  204: {
2304
- bodyMapper: Mappers.WorkloadNetworkSegment
2442
+ bodyMapper: Mappers.WorkloadNetworkDnsService,
2305
2443
  },
2306
2444
  default: {
2307
- bodyMapper: Mappers.ErrorResponse
2308
- }
2445
+ bodyMapper: Mappers.ErrorResponse,
2446
+ },
2309
2447
  },
2310
- requestBody: Parameters.workloadNetworkSegment,
2448
+ requestBody: Parameters.workloadNetworkDnsService,
2311
2449
  queryParameters: [Parameters.apiVersion],
2312
2450
  urlParameters: [
2313
2451
  Parameters.$host,
2314
2452
  Parameters.subscriptionId,
2315
2453
  Parameters.resourceGroupName,
2316
2454
  Parameters.privateCloudName,
2317
- Parameters.segmentId
2455
+ Parameters.dnsServiceId,
2318
2456
  ],
2319
2457
  headerParameters: [Parameters.accept, Parameters.contentType],
2320
2458
  mediaType: "json",
2321
- serializer
2459
+ serializer,
2322
2460
  };
2323
- const updateSegmentsOperationSpec = {
2324
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}",
2461
+ const updateDnsServiceOperationSpec = {
2462
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}",
2325
2463
  httpMethod: "PATCH",
2326
2464
  responses: {
2327
2465
  200: {
2328
- bodyMapper: Mappers.WorkloadNetworkSegment
2466
+ bodyMapper: Mappers.WorkloadNetworkDnsService,
2329
2467
  },
2330
2468
  201: {
2331
- bodyMapper: Mappers.WorkloadNetworkSegment
2469
+ bodyMapper: Mappers.WorkloadNetworkDnsService,
2332
2470
  },
2333
2471
  202: {
2334
- bodyMapper: Mappers.WorkloadNetworkSegment
2472
+ bodyMapper: Mappers.WorkloadNetworkDnsService,
2335
2473
  },
2336
2474
  204: {
2337
- bodyMapper: Mappers.WorkloadNetworkSegment
2475
+ bodyMapper: Mappers.WorkloadNetworkDnsService,
2338
2476
  },
2339
2477
  default: {
2340
- bodyMapper: Mappers.ErrorResponse
2341
- }
2478
+ bodyMapper: Mappers.ErrorResponse,
2479
+ },
2342
2480
  },
2343
- requestBody: Parameters.workloadNetworkSegment,
2481
+ requestBody: Parameters.workloadNetworkDnsService1,
2344
2482
  queryParameters: [Parameters.apiVersion],
2345
2483
  urlParameters: [
2346
2484
  Parameters.$host,
2347
2485
  Parameters.subscriptionId,
2348
2486
  Parameters.resourceGroupName,
2349
2487
  Parameters.privateCloudName,
2350
- Parameters.segmentId
2488
+ Parameters.dnsServiceId,
2351
2489
  ],
2352
2490
  headerParameters: [Parameters.accept, Parameters.contentType],
2353
2491
  mediaType: "json",
2354
- serializer
2492
+ serializer,
2355
2493
  };
2356
- const deleteSegmentOperationSpec = {
2357
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}",
2494
+ const deleteDnsServiceOperationSpec = {
2495
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}",
2358
2496
  httpMethod: "DELETE",
2359
2497
  responses: {
2360
2498
  200: {},
@@ -2362,8 +2500,8 @@ const deleteSegmentOperationSpec = {
2362
2500
  202: {},
2363
2501
  204: {},
2364
2502
  default: {
2365
- bodyMapper: Mappers.ErrorResponse
2366
- }
2503
+ bodyMapper: Mappers.ErrorResponse,
2504
+ },
2367
2505
  },
2368
2506
  queryParameters: [Parameters.apiVersion],
2369
2507
  urlParameters: [
@@ -2371,42 +2509,42 @@ const deleteSegmentOperationSpec = {
2371
2509
  Parameters.subscriptionId,
2372
2510
  Parameters.resourceGroupName,
2373
2511
  Parameters.privateCloudName,
2374
- Parameters.segmentId
2512
+ Parameters.dnsServiceId,
2375
2513
  ],
2376
2514
  headerParameters: [Parameters.accept],
2377
- serializer
2515
+ serializer,
2378
2516
  };
2379
- const listDhcpOperationSpec = {
2380
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations",
2517
+ const listDnsZonesOperationSpec = {
2518
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones",
2381
2519
  httpMethod: "GET",
2382
2520
  responses: {
2383
2521
  200: {
2384
- bodyMapper: Mappers.WorkloadNetworkDhcpList
2522
+ bodyMapper: Mappers.WorkloadNetworkDnsZoneListResult,
2385
2523
  },
2386
2524
  default: {
2387
- bodyMapper: Mappers.ErrorResponse
2388
- }
2525
+ bodyMapper: Mappers.ErrorResponse,
2526
+ },
2389
2527
  },
2390
2528
  queryParameters: [Parameters.apiVersion],
2391
2529
  urlParameters: [
2392
2530
  Parameters.$host,
2393
2531
  Parameters.subscriptionId,
2394
2532
  Parameters.resourceGroupName,
2395
- Parameters.privateCloudName
2533
+ Parameters.privateCloudName,
2396
2534
  ],
2397
2535
  headerParameters: [Parameters.accept],
2398
- serializer
2536
+ serializer,
2399
2537
  };
2400
- const getDhcpOperationSpec = {
2401
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}",
2538
+ const getDnsZoneOperationSpec = {
2539
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}",
2402
2540
  httpMethod: "GET",
2403
2541
  responses: {
2404
2542
  200: {
2405
- bodyMapper: Mappers.WorkloadNetworkDhcp
2543
+ bodyMapper: Mappers.WorkloadNetworkDnsZone,
2406
2544
  },
2407
2545
  default: {
2408
- bodyMapper: Mappers.ErrorResponse
2409
- }
2546
+ bodyMapper: Mappers.ErrorResponse,
2547
+ },
2410
2548
  },
2411
2549
  queryParameters: [Parameters.apiVersion],
2412
2550
  urlParameters: [
@@ -2414,79 +2552,79 @@ const getDhcpOperationSpec = {
2414
2552
  Parameters.subscriptionId,
2415
2553
  Parameters.resourceGroupName,
2416
2554
  Parameters.privateCloudName,
2417
- Parameters.dhcpId
2555
+ Parameters.dnsZoneId,
2418
2556
  ],
2419
2557
  headerParameters: [Parameters.accept],
2420
- serializer
2558
+ serializer,
2421
2559
  };
2422
- const createDhcpOperationSpec = {
2423
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}",
2560
+ const createDnsZoneOperationSpec = {
2561
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}",
2424
2562
  httpMethod: "PUT",
2425
2563
  responses: {
2426
2564
  200: {
2427
- bodyMapper: Mappers.WorkloadNetworkDhcp
2565
+ bodyMapper: Mappers.WorkloadNetworkDnsZone,
2428
2566
  },
2429
2567
  201: {
2430
- bodyMapper: Mappers.WorkloadNetworkDhcp
2568
+ bodyMapper: Mappers.WorkloadNetworkDnsZone,
2431
2569
  },
2432
2570
  202: {
2433
- bodyMapper: Mappers.WorkloadNetworkDhcp
2571
+ bodyMapper: Mappers.WorkloadNetworkDnsZone,
2434
2572
  },
2435
2573
  204: {
2436
- bodyMapper: Mappers.WorkloadNetworkDhcp
2574
+ bodyMapper: Mappers.WorkloadNetworkDnsZone,
2437
2575
  },
2438
2576
  default: {
2439
- bodyMapper: Mappers.ErrorResponse
2440
- }
2577
+ bodyMapper: Mappers.ErrorResponse,
2578
+ },
2441
2579
  },
2442
- requestBody: Parameters.workloadNetworkDhcp,
2580
+ requestBody: Parameters.workloadNetworkDnsZone,
2443
2581
  queryParameters: [Parameters.apiVersion],
2444
2582
  urlParameters: [
2445
2583
  Parameters.$host,
2446
2584
  Parameters.subscriptionId,
2447
2585
  Parameters.resourceGroupName,
2448
2586
  Parameters.privateCloudName,
2449
- Parameters.dhcpId
2587
+ Parameters.dnsZoneId,
2450
2588
  ],
2451
2589
  headerParameters: [Parameters.accept, Parameters.contentType],
2452
2590
  mediaType: "json",
2453
- serializer
2591
+ serializer,
2454
2592
  };
2455
- const updateDhcpOperationSpec = {
2456
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}",
2593
+ const updateDnsZoneOperationSpec = {
2594
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}",
2457
2595
  httpMethod: "PATCH",
2458
2596
  responses: {
2459
2597
  200: {
2460
- bodyMapper: Mappers.WorkloadNetworkDhcp
2598
+ bodyMapper: Mappers.WorkloadNetworkDnsZone,
2461
2599
  },
2462
2600
  201: {
2463
- bodyMapper: Mappers.WorkloadNetworkDhcp
2601
+ bodyMapper: Mappers.WorkloadNetworkDnsZone,
2464
2602
  },
2465
2603
  202: {
2466
- bodyMapper: Mappers.WorkloadNetworkDhcp
2604
+ bodyMapper: Mappers.WorkloadNetworkDnsZone,
2467
2605
  },
2468
2606
  204: {
2469
- bodyMapper: Mappers.WorkloadNetworkDhcp
2607
+ bodyMapper: Mappers.WorkloadNetworkDnsZone,
2470
2608
  },
2471
2609
  default: {
2472
- bodyMapper: Mappers.ErrorResponse
2473
- }
2610
+ bodyMapper: Mappers.ErrorResponse,
2611
+ },
2474
2612
  },
2475
- requestBody: Parameters.workloadNetworkDhcp,
2613
+ requestBody: Parameters.workloadNetworkDnsZone1,
2476
2614
  queryParameters: [Parameters.apiVersion],
2477
2615
  urlParameters: [
2478
2616
  Parameters.$host,
2479
2617
  Parameters.subscriptionId,
2480
2618
  Parameters.resourceGroupName,
2481
2619
  Parameters.privateCloudName,
2482
- Parameters.dhcpId
2620
+ Parameters.dnsZoneId,
2483
2621
  ],
2484
2622
  headerParameters: [Parameters.accept, Parameters.contentType],
2485
2623
  mediaType: "json",
2486
- serializer
2624
+ serializer,
2487
2625
  };
2488
- const deleteDhcpOperationSpec = {
2489
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}",
2626
+ const deleteDnsZoneOperationSpec = {
2627
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}",
2490
2628
  httpMethod: "DELETE",
2491
2629
  responses: {
2492
2630
  200: {},
@@ -2494,8 +2632,8 @@ const deleteDhcpOperationSpec = {
2494
2632
  202: {},
2495
2633
  204: {},
2496
2634
  default: {
2497
- bodyMapper: Mappers.ErrorResponse
2498
- }
2635
+ bodyMapper: Mappers.ErrorResponse,
2636
+ },
2499
2637
  },
2500
2638
  queryParameters: [Parameters.apiVersion],
2501
2639
  urlParameters: [
@@ -2503,42 +2641,42 @@ const deleteDhcpOperationSpec = {
2503
2641
  Parameters.subscriptionId,
2504
2642
  Parameters.resourceGroupName,
2505
2643
  Parameters.privateCloudName,
2506
- Parameters.dhcpId
2644
+ Parameters.dnsZoneId,
2507
2645
  ],
2508
2646
  headerParameters: [Parameters.accept],
2509
- serializer
2647
+ serializer,
2510
2648
  };
2511
2649
  const listGatewaysOperationSpec = {
2512
2650
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways",
2513
2651
  httpMethod: "GET",
2514
2652
  responses: {
2515
2653
  200: {
2516
- bodyMapper: Mappers.WorkloadNetworkGatewayList
2654
+ bodyMapper: Mappers.WorkloadNetworkGatewayListResult,
2517
2655
  },
2518
2656
  default: {
2519
- bodyMapper: Mappers.ErrorResponse
2520
- }
2657
+ bodyMapper: Mappers.ErrorResponse,
2658
+ },
2521
2659
  },
2522
2660
  queryParameters: [Parameters.apiVersion],
2523
2661
  urlParameters: [
2524
2662
  Parameters.$host,
2525
2663
  Parameters.subscriptionId,
2526
2664
  Parameters.resourceGroupName,
2527
- Parameters.privateCloudName
2665
+ Parameters.privateCloudName,
2528
2666
  ],
2529
2667
  headerParameters: [Parameters.accept],
2530
- serializer
2668
+ serializer,
2531
2669
  };
2532
2670
  const getGatewayOperationSpec = {
2533
2671
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways/{gatewayId}",
2534
2672
  httpMethod: "GET",
2535
2673
  responses: {
2536
2674
  200: {
2537
- bodyMapper: Mappers.WorkloadNetworkGateway
2675
+ bodyMapper: Mappers.WorkloadNetworkGateway,
2538
2676
  },
2539
2677
  default: {
2540
- bodyMapper: Mappers.ErrorResponse
2541
- }
2678
+ bodyMapper: Mappers.ErrorResponse,
2679
+ },
2542
2680
  },
2543
2681
  queryParameters: [Parameters.apiVersion],
2544
2682
  urlParameters: [
@@ -2546,42 +2684,42 @@ const getGatewayOperationSpec = {
2546
2684
  Parameters.subscriptionId,
2547
2685
  Parameters.resourceGroupName,
2548
2686
  Parameters.privateCloudName,
2549
- Parameters.gatewayId
2687
+ Parameters.gatewayId,
2550
2688
  ],
2551
2689
  headerParameters: [Parameters.accept],
2552
- serializer
2690
+ serializer,
2553
2691
  };
2554
2692
  const listPortMirroringOperationSpec = {
2555
2693
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles",
2556
2694
  httpMethod: "GET",
2557
2695
  responses: {
2558
2696
  200: {
2559
- bodyMapper: Mappers.WorkloadNetworkPortMirroringList
2697
+ bodyMapper: Mappers.WorkloadNetworkPortMirroringListResult,
2560
2698
  },
2561
2699
  default: {
2562
- bodyMapper: Mappers.ErrorResponse
2563
- }
2700
+ bodyMapper: Mappers.ErrorResponse,
2701
+ },
2564
2702
  },
2565
2703
  queryParameters: [Parameters.apiVersion],
2566
2704
  urlParameters: [
2567
2705
  Parameters.$host,
2568
2706
  Parameters.subscriptionId,
2569
2707
  Parameters.resourceGroupName,
2570
- Parameters.privateCloudName
2708
+ Parameters.privateCloudName,
2571
2709
  ],
2572
2710
  headerParameters: [Parameters.accept],
2573
- serializer
2711
+ serializer,
2574
2712
  };
2575
2713
  const getPortMirroringOperationSpec = {
2576
2714
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}",
2577
2715
  httpMethod: "GET",
2578
2716
  responses: {
2579
2717
  200: {
2580
- bodyMapper: Mappers.WorkloadNetworkPortMirroring
2718
+ bodyMapper: Mappers.WorkloadNetworkPortMirroring,
2581
2719
  },
2582
2720
  default: {
2583
- bodyMapper: Mappers.ErrorResponse
2584
- }
2721
+ bodyMapper: Mappers.ErrorResponse,
2722
+ },
2585
2723
  },
2586
2724
  queryParameters: [Parameters.apiVersion],
2587
2725
  urlParameters: [
@@ -2589,30 +2727,30 @@ const getPortMirroringOperationSpec = {
2589
2727
  Parameters.subscriptionId,
2590
2728
  Parameters.resourceGroupName,
2591
2729
  Parameters.privateCloudName,
2592
- Parameters.portMirroringId
2730
+ Parameters.portMirroringId,
2593
2731
  ],
2594
2732
  headerParameters: [Parameters.accept],
2595
- serializer
2733
+ serializer,
2596
2734
  };
2597
2735
  const createPortMirroringOperationSpec = {
2598
2736
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}",
2599
2737
  httpMethod: "PUT",
2600
2738
  responses: {
2601
2739
  200: {
2602
- bodyMapper: Mappers.WorkloadNetworkPortMirroring
2740
+ bodyMapper: Mappers.WorkloadNetworkPortMirroring,
2603
2741
  },
2604
2742
  201: {
2605
- bodyMapper: Mappers.WorkloadNetworkPortMirroring
2743
+ bodyMapper: Mappers.WorkloadNetworkPortMirroring,
2606
2744
  },
2607
2745
  202: {
2608
- bodyMapper: Mappers.WorkloadNetworkPortMirroring
2746
+ bodyMapper: Mappers.WorkloadNetworkPortMirroring,
2609
2747
  },
2610
2748
  204: {
2611
- bodyMapper: Mappers.WorkloadNetworkPortMirroring
2749
+ bodyMapper: Mappers.WorkloadNetworkPortMirroring,
2612
2750
  },
2613
2751
  default: {
2614
- bodyMapper: Mappers.ErrorResponse
2615
- }
2752
+ bodyMapper: Mappers.ErrorResponse,
2753
+ },
2616
2754
  },
2617
2755
  requestBody: Parameters.workloadNetworkPortMirroring,
2618
2756
  queryParameters: [Parameters.apiVersion],
@@ -2621,44 +2759,44 @@ const createPortMirroringOperationSpec = {
2621
2759
  Parameters.subscriptionId,
2622
2760
  Parameters.resourceGroupName,
2623
2761
  Parameters.privateCloudName,
2624
- Parameters.portMirroringId
2762
+ Parameters.portMirroringId,
2625
2763
  ],
2626
2764
  headerParameters: [Parameters.accept, Parameters.contentType],
2627
2765
  mediaType: "json",
2628
- serializer
2766
+ serializer,
2629
2767
  };
2630
2768
  const updatePortMirroringOperationSpec = {
2631
2769
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}",
2632
2770
  httpMethod: "PATCH",
2633
2771
  responses: {
2634
2772
  200: {
2635
- bodyMapper: Mappers.WorkloadNetworkPortMirroring
2773
+ bodyMapper: Mappers.WorkloadNetworkPortMirroring,
2636
2774
  },
2637
2775
  201: {
2638
- bodyMapper: Mappers.WorkloadNetworkPortMirroring
2776
+ bodyMapper: Mappers.WorkloadNetworkPortMirroring,
2639
2777
  },
2640
2778
  202: {
2641
- bodyMapper: Mappers.WorkloadNetworkPortMirroring
2779
+ bodyMapper: Mappers.WorkloadNetworkPortMirroring,
2642
2780
  },
2643
2781
  204: {
2644
- bodyMapper: Mappers.WorkloadNetworkPortMirroring
2782
+ bodyMapper: Mappers.WorkloadNetworkPortMirroring,
2645
2783
  },
2646
2784
  default: {
2647
- bodyMapper: Mappers.ErrorResponse
2648
- }
2785
+ bodyMapper: Mappers.ErrorResponse,
2786
+ },
2649
2787
  },
2650
- requestBody: Parameters.workloadNetworkPortMirroring,
2788
+ requestBody: Parameters.workloadNetworkPortMirroring1,
2651
2789
  queryParameters: [Parameters.apiVersion],
2652
2790
  urlParameters: [
2653
2791
  Parameters.$host,
2654
2792
  Parameters.subscriptionId,
2655
2793
  Parameters.resourceGroupName,
2656
2794
  Parameters.privateCloudName,
2657
- Parameters.portMirroringId
2795
+ Parameters.portMirroringId,
2658
2796
  ],
2659
2797
  headerParameters: [Parameters.accept, Parameters.contentType],
2660
2798
  mediaType: "json",
2661
- serializer
2799
+ serializer,
2662
2800
  };
2663
2801
  const deletePortMirroringOperationSpec = {
2664
2802
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}",
@@ -2669,8 +2807,8 @@ const deletePortMirroringOperationSpec = {
2669
2807
  202: {},
2670
2808
  204: {},
2671
2809
  default: {
2672
- bodyMapper: Mappers.ErrorResponse
2673
- }
2810
+ bodyMapper: Mappers.ErrorResponse,
2811
+ },
2674
2812
  },
2675
2813
  queryParameters: [Parameters.apiVersion],
2676
2814
  urlParameters: [
@@ -2678,42 +2816,42 @@ const deletePortMirroringOperationSpec = {
2678
2816
  Parameters.subscriptionId,
2679
2817
  Parameters.resourceGroupName,
2680
2818
  Parameters.privateCloudName,
2681
- Parameters.portMirroringId
2819
+ Parameters.portMirroringId,
2682
2820
  ],
2683
2821
  headerParameters: [Parameters.accept],
2684
- serializer
2822
+ serializer,
2685
2823
  };
2686
- const listVMGroupsOperationSpec = {
2687
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups",
2824
+ const listPublicIPsOperationSpec = {
2825
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs",
2688
2826
  httpMethod: "GET",
2689
2827
  responses: {
2690
2828
  200: {
2691
- bodyMapper: Mappers.WorkloadNetworkVMGroupsList
2829
+ bodyMapper: Mappers.WorkloadNetworkPublicIPListResult,
2692
2830
  },
2693
2831
  default: {
2694
- bodyMapper: Mappers.ErrorResponse
2695
- }
2832
+ bodyMapper: Mappers.ErrorResponse,
2833
+ },
2696
2834
  },
2697
2835
  queryParameters: [Parameters.apiVersion],
2698
2836
  urlParameters: [
2699
2837
  Parameters.$host,
2700
2838
  Parameters.subscriptionId,
2701
2839
  Parameters.resourceGroupName,
2702
- Parameters.privateCloudName
2840
+ Parameters.privateCloudName,
2703
2841
  ],
2704
2842
  headerParameters: [Parameters.accept],
2705
- serializer
2843
+ serializer,
2706
2844
  };
2707
- const getVMGroupOperationSpec = {
2708
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}",
2845
+ const getPublicIPOperationSpec = {
2846
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}",
2709
2847
  httpMethod: "GET",
2710
2848
  responses: {
2711
2849
  200: {
2712
- bodyMapper: Mappers.WorkloadNetworkVMGroup
2850
+ bodyMapper: Mappers.WorkloadNetworkPublicIP,
2713
2851
  },
2714
2852
  default: {
2715
- bodyMapper: Mappers.ErrorResponse
2716
- }
2853
+ bodyMapper: Mappers.ErrorResponse,
2854
+ },
2717
2855
  },
2718
2856
  queryParameters: [Parameters.apiVersion],
2719
2857
  urlParameters: [
@@ -2721,79 +2859,46 @@ const getVMGroupOperationSpec = {
2721
2859
  Parameters.subscriptionId,
2722
2860
  Parameters.resourceGroupName,
2723
2861
  Parameters.privateCloudName,
2724
- Parameters.vmGroupId
2862
+ Parameters.publicIPId,
2725
2863
  ],
2726
2864
  headerParameters: [Parameters.accept],
2727
- serializer
2865
+ serializer,
2728
2866
  };
2729
- const createVMGroupOperationSpec = {
2730
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}",
2867
+ const createPublicIPOperationSpec = {
2868
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}",
2731
2869
  httpMethod: "PUT",
2732
2870
  responses: {
2733
2871
  200: {
2734
- bodyMapper: Mappers.WorkloadNetworkVMGroup
2872
+ bodyMapper: Mappers.WorkloadNetworkPublicIP,
2735
2873
  },
2736
2874
  201: {
2737
- bodyMapper: Mappers.WorkloadNetworkVMGroup
2875
+ bodyMapper: Mappers.WorkloadNetworkPublicIP,
2738
2876
  },
2739
2877
  202: {
2740
- bodyMapper: Mappers.WorkloadNetworkVMGroup
2878
+ bodyMapper: Mappers.WorkloadNetworkPublicIP,
2741
2879
  },
2742
2880
  204: {
2743
- bodyMapper: Mappers.WorkloadNetworkVMGroup
2881
+ bodyMapper: Mappers.WorkloadNetworkPublicIP,
2744
2882
  },
2745
2883
  default: {
2746
- bodyMapper: Mappers.ErrorResponse
2747
- }
2748
- },
2749
- requestBody: Parameters.workloadNetworkVMGroup,
2750
- queryParameters: [Parameters.apiVersion],
2751
- urlParameters: [
2752
- Parameters.$host,
2753
- Parameters.subscriptionId,
2754
- Parameters.resourceGroupName,
2755
- Parameters.privateCloudName,
2756
- Parameters.vmGroupId
2757
- ],
2758
- headerParameters: [Parameters.accept, Parameters.contentType],
2759
- mediaType: "json",
2760
- serializer
2761
- };
2762
- const updateVMGroupOperationSpec = {
2763
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}",
2764
- httpMethod: "PATCH",
2765
- responses: {
2766
- 200: {
2767
- bodyMapper: Mappers.WorkloadNetworkVMGroup
2768
- },
2769
- 201: {
2770
- bodyMapper: Mappers.WorkloadNetworkVMGroup
2771
- },
2772
- 202: {
2773
- bodyMapper: Mappers.WorkloadNetworkVMGroup
2884
+ bodyMapper: Mappers.ErrorResponse,
2774
2885
  },
2775
- 204: {
2776
- bodyMapper: Mappers.WorkloadNetworkVMGroup
2777
- },
2778
- default: {
2779
- bodyMapper: Mappers.ErrorResponse
2780
- }
2781
2886
  },
2782
- requestBody: Parameters.workloadNetworkVMGroup,
2887
+ requestBody: Parameters.workloadNetworkPublicIP,
2783
2888
  queryParameters: [Parameters.apiVersion],
2784
2889
  urlParameters: [
2785
2890
  Parameters.$host,
2786
2891
  Parameters.subscriptionId,
2787
2892
  Parameters.resourceGroupName,
2788
2893
  Parameters.privateCloudName,
2789
- Parameters.vmGroupId
2894
+ Parameters.publicIPId,
2790
2895
  ],
2791
2896
  headerParameters: [Parameters.accept, Parameters.contentType],
2792
2897
  mediaType: "json",
2793
- serializer
2898
+ serializer,
2794
2899
  };
2795
- const deleteVMGroupOperationSpec = {
2796
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}",
2900
+ const deletePublicIPOperationSpec = {
2901
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}",
2797
2902
  httpMethod: "DELETE",
2798
2903
  responses: {
2799
2904
  200: {},
@@ -2801,8 +2906,8 @@ const deleteVMGroupOperationSpec = {
2801
2906
  202: {},
2802
2907
  204: {},
2803
2908
  default: {
2804
- bodyMapper: Mappers.ErrorResponse
2805
- }
2909
+ bodyMapper: Mappers.ErrorResponse,
2910
+ },
2806
2911
  },
2807
2912
  queryParameters: [Parameters.apiVersion],
2808
2913
  urlParameters: [
@@ -2810,42 +2915,21 @@ const deleteVMGroupOperationSpec = {
2810
2915
  Parameters.subscriptionId,
2811
2916
  Parameters.resourceGroupName,
2812
2917
  Parameters.privateCloudName,
2813
- Parameters.vmGroupId
2918
+ Parameters.publicIPId,
2814
2919
  ],
2815
2920
  headerParameters: [Parameters.accept],
2816
- serializer
2921
+ serializer,
2817
2922
  };
2818
- const listVirtualMachinesOperationSpec = {
2819
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines",
2923
+ const listSegmentsOperationSpec = {
2924
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments",
2820
2925
  httpMethod: "GET",
2821
2926
  responses: {
2822
2927
  200: {
2823
- bodyMapper: Mappers.WorkloadNetworkVirtualMachinesList
2928
+ bodyMapper: Mappers.WorkloadNetworkSegmentListResult,
2824
2929
  },
2825
2930
  default: {
2826
- bodyMapper: Mappers.ErrorResponse
2827
- }
2828
- },
2829
- queryParameters: [Parameters.apiVersion],
2830
- urlParameters: [
2831
- Parameters.$host,
2832
- Parameters.subscriptionId,
2833
- Parameters.resourceGroupName,
2834
- Parameters.privateCloudName
2835
- ],
2836
- headerParameters: [Parameters.accept],
2837
- serializer
2838
- };
2839
- const getVirtualMachineOperationSpec = {
2840
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}",
2841
- httpMethod: "GET",
2842
- responses: {
2843
- 200: {
2844
- bodyMapper: Mappers.WorkloadNetworkVirtualMachine
2931
+ bodyMapper: Mappers.ErrorResponse,
2845
2932
  },
2846
- default: {
2847
- bodyMapper: Mappers.ErrorResponse
2848
- }
2849
2933
  },
2850
2934
  queryParameters: [Parameters.apiVersion],
2851
2935
  urlParameters: [
@@ -2853,42 +2937,20 @@ const getVirtualMachineOperationSpec = {
2853
2937
  Parameters.subscriptionId,
2854
2938
  Parameters.resourceGroupName,
2855
2939
  Parameters.privateCloudName,
2856
- Parameters.virtualMachineId
2857
2940
  ],
2858
2941
  headerParameters: [Parameters.accept],
2859
- serializer
2942
+ serializer,
2860
2943
  };
2861
- const listDnsServicesOperationSpec = {
2862
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices",
2944
+ const getSegmentOperationSpec = {
2945
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}",
2863
2946
  httpMethod: "GET",
2864
2947
  responses: {
2865
2948
  200: {
2866
- bodyMapper: Mappers.WorkloadNetworkDnsServicesList
2949
+ bodyMapper: Mappers.WorkloadNetworkSegment,
2867
2950
  },
2868
2951
  default: {
2869
- bodyMapper: Mappers.ErrorResponse
2870
- }
2871
- },
2872
- queryParameters: [Parameters.apiVersion],
2873
- urlParameters: [
2874
- Parameters.$host,
2875
- Parameters.subscriptionId,
2876
- Parameters.resourceGroupName,
2877
- Parameters.privateCloudName
2878
- ],
2879
- headerParameters: [Parameters.accept],
2880
- serializer
2881
- };
2882
- const getDnsServiceOperationSpec = {
2883
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}",
2884
- httpMethod: "GET",
2885
- responses: {
2886
- 200: {
2887
- bodyMapper: Mappers.WorkloadNetworkDnsService
2952
+ bodyMapper: Mappers.ErrorResponse,
2888
2953
  },
2889
- default: {
2890
- bodyMapper: Mappers.ErrorResponse
2891
- }
2892
2954
  },
2893
2955
  queryParameters: [Parameters.apiVersion],
2894
2956
  urlParameters: [
@@ -2896,79 +2958,79 @@ const getDnsServiceOperationSpec = {
2896
2958
  Parameters.subscriptionId,
2897
2959
  Parameters.resourceGroupName,
2898
2960
  Parameters.privateCloudName,
2899
- Parameters.dnsServiceId
2961
+ Parameters.segmentId,
2900
2962
  ],
2901
2963
  headerParameters: [Parameters.accept],
2902
- serializer
2964
+ serializer,
2903
2965
  };
2904
- const createDnsServiceOperationSpec = {
2905
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}",
2966
+ const createSegmentsOperationSpec = {
2967
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}",
2906
2968
  httpMethod: "PUT",
2907
2969
  responses: {
2908
2970
  200: {
2909
- bodyMapper: Mappers.WorkloadNetworkDnsService
2971
+ bodyMapper: Mappers.WorkloadNetworkSegment,
2910
2972
  },
2911
2973
  201: {
2912
- bodyMapper: Mappers.WorkloadNetworkDnsService
2974
+ bodyMapper: Mappers.WorkloadNetworkSegment,
2913
2975
  },
2914
2976
  202: {
2915
- bodyMapper: Mappers.WorkloadNetworkDnsService
2977
+ bodyMapper: Mappers.WorkloadNetworkSegment,
2916
2978
  },
2917
2979
  204: {
2918
- bodyMapper: Mappers.WorkloadNetworkDnsService
2980
+ bodyMapper: Mappers.WorkloadNetworkSegment,
2919
2981
  },
2920
2982
  default: {
2921
- bodyMapper: Mappers.ErrorResponse
2922
- }
2983
+ bodyMapper: Mappers.ErrorResponse,
2984
+ },
2923
2985
  },
2924
- requestBody: Parameters.workloadNetworkDnsService,
2986
+ requestBody: Parameters.workloadNetworkSegment,
2925
2987
  queryParameters: [Parameters.apiVersion],
2926
2988
  urlParameters: [
2927
2989
  Parameters.$host,
2928
2990
  Parameters.subscriptionId,
2929
2991
  Parameters.resourceGroupName,
2930
2992
  Parameters.privateCloudName,
2931
- Parameters.dnsServiceId
2993
+ Parameters.segmentId,
2932
2994
  ],
2933
2995
  headerParameters: [Parameters.accept, Parameters.contentType],
2934
2996
  mediaType: "json",
2935
- serializer
2997
+ serializer,
2936
2998
  };
2937
- const updateDnsServiceOperationSpec = {
2938
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}",
2999
+ const updateSegmentsOperationSpec = {
3000
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}",
2939
3001
  httpMethod: "PATCH",
2940
3002
  responses: {
2941
3003
  200: {
2942
- bodyMapper: Mappers.WorkloadNetworkDnsService
3004
+ bodyMapper: Mappers.WorkloadNetworkSegment,
2943
3005
  },
2944
3006
  201: {
2945
- bodyMapper: Mappers.WorkloadNetworkDnsService
3007
+ bodyMapper: Mappers.WorkloadNetworkSegment,
2946
3008
  },
2947
3009
  202: {
2948
- bodyMapper: Mappers.WorkloadNetworkDnsService
3010
+ bodyMapper: Mappers.WorkloadNetworkSegment,
2949
3011
  },
2950
3012
  204: {
2951
- bodyMapper: Mappers.WorkloadNetworkDnsService
3013
+ bodyMapper: Mappers.WorkloadNetworkSegment,
2952
3014
  },
2953
3015
  default: {
2954
- bodyMapper: Mappers.ErrorResponse
2955
- }
3016
+ bodyMapper: Mappers.ErrorResponse,
3017
+ },
2956
3018
  },
2957
- requestBody: Parameters.workloadNetworkDnsService,
3019
+ requestBody: Parameters.workloadNetworkSegment1,
2958
3020
  queryParameters: [Parameters.apiVersion],
2959
3021
  urlParameters: [
2960
3022
  Parameters.$host,
2961
3023
  Parameters.subscriptionId,
2962
3024
  Parameters.resourceGroupName,
2963
3025
  Parameters.privateCloudName,
2964
- Parameters.dnsServiceId
3026
+ Parameters.segmentId,
2965
3027
  ],
2966
3028
  headerParameters: [Parameters.accept, Parameters.contentType],
2967
3029
  mediaType: "json",
2968
- serializer
3030
+ serializer,
2969
3031
  };
2970
- const deleteDnsServiceOperationSpec = {
2971
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}",
3032
+ const deleteSegmentOperationSpec = {
3033
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}",
2972
3034
  httpMethod: "DELETE",
2973
3035
  responses: {
2974
3036
  200: {},
@@ -2976,8 +3038,8 @@ const deleteDnsServiceOperationSpec = {
2976
3038
  202: {},
2977
3039
  204: {},
2978
3040
  default: {
2979
- bodyMapper: Mappers.ErrorResponse
2980
- }
3041
+ bodyMapper: Mappers.ErrorResponse,
3042
+ },
2981
3043
  },
2982
3044
  queryParameters: [Parameters.apiVersion],
2983
3045
  urlParameters: [
@@ -2985,42 +3047,42 @@ const deleteDnsServiceOperationSpec = {
2985
3047
  Parameters.subscriptionId,
2986
3048
  Parameters.resourceGroupName,
2987
3049
  Parameters.privateCloudName,
2988
- Parameters.dnsServiceId
3050
+ Parameters.segmentId,
2989
3051
  ],
2990
3052
  headerParameters: [Parameters.accept],
2991
- serializer
3053
+ serializer,
2992
3054
  };
2993
- const listDnsZonesOperationSpec = {
2994
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones",
3055
+ const listVirtualMachinesOperationSpec = {
3056
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines",
2995
3057
  httpMethod: "GET",
2996
3058
  responses: {
2997
3059
  200: {
2998
- bodyMapper: Mappers.WorkloadNetworkDnsZonesList
3060
+ bodyMapper: Mappers.WorkloadNetworkVirtualMachineListResult,
2999
3061
  },
3000
3062
  default: {
3001
- bodyMapper: Mappers.ErrorResponse
3002
- }
3063
+ bodyMapper: Mappers.ErrorResponse,
3064
+ },
3003
3065
  },
3004
3066
  queryParameters: [Parameters.apiVersion],
3005
3067
  urlParameters: [
3006
3068
  Parameters.$host,
3007
3069
  Parameters.subscriptionId,
3008
3070
  Parameters.resourceGroupName,
3009
- Parameters.privateCloudName
3071
+ Parameters.privateCloudName,
3010
3072
  ],
3011
3073
  headerParameters: [Parameters.accept],
3012
- serializer
3074
+ serializer,
3013
3075
  };
3014
- const getDnsZoneOperationSpec = {
3015
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}",
3076
+ const getVirtualMachineOperationSpec = {
3077
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}",
3016
3078
  httpMethod: "GET",
3017
3079
  responses: {
3018
3080
  200: {
3019
- bodyMapper: Mappers.WorkloadNetworkDnsZone
3081
+ bodyMapper: Mappers.WorkloadNetworkVirtualMachine,
3020
3082
  },
3021
3083
  default: {
3022
- bodyMapper: Mappers.ErrorResponse
3023
- }
3084
+ bodyMapper: Mappers.ErrorResponse,
3085
+ },
3024
3086
  },
3025
3087
  queryParameters: [Parameters.apiVersion],
3026
3088
  urlParameters: [
@@ -3028,88 +3090,21 @@ const getDnsZoneOperationSpec = {
3028
3090
  Parameters.subscriptionId,
3029
3091
  Parameters.resourceGroupName,
3030
3092
  Parameters.privateCloudName,
3031
- Parameters.dnsZoneId
3093
+ Parameters.virtualMachineId,
3032
3094
  ],
3033
3095
  headerParameters: [Parameters.accept],
3034
- serializer
3096
+ serializer,
3035
3097
  };
3036
- const createDnsZoneOperationSpec = {
3037
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}",
3038
- httpMethod: "PUT",
3098
+ const listVMGroupsOperationSpec = {
3099
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups",
3100
+ httpMethod: "GET",
3039
3101
  responses: {
3040
3102
  200: {
3041
- bodyMapper: Mappers.WorkloadNetworkDnsZone
3042
- },
3043
- 201: {
3044
- bodyMapper: Mappers.WorkloadNetworkDnsZone
3045
- },
3046
- 202: {
3047
- bodyMapper: Mappers.WorkloadNetworkDnsZone
3048
- },
3049
- 204: {
3050
- bodyMapper: Mappers.WorkloadNetworkDnsZone
3103
+ bodyMapper: Mappers.WorkloadNetworkVMGroupListResult,
3051
3104
  },
3052
3105
  default: {
3053
- bodyMapper: Mappers.ErrorResponse
3054
- }
3055
- },
3056
- requestBody: Parameters.workloadNetworkDnsZone,
3057
- queryParameters: [Parameters.apiVersion],
3058
- urlParameters: [
3059
- Parameters.$host,
3060
- Parameters.subscriptionId,
3061
- Parameters.resourceGroupName,
3062
- Parameters.privateCloudName,
3063
- Parameters.dnsZoneId
3064
- ],
3065
- headerParameters: [Parameters.accept, Parameters.contentType],
3066
- mediaType: "json",
3067
- serializer
3068
- };
3069
- const updateDnsZoneOperationSpec = {
3070
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}",
3071
- httpMethod: "PATCH",
3072
- responses: {
3073
- 200: {
3074
- bodyMapper: Mappers.WorkloadNetworkDnsZone
3075
- },
3076
- 201: {
3077
- bodyMapper: Mappers.WorkloadNetworkDnsZone
3078
- },
3079
- 202: {
3080
- bodyMapper: Mappers.WorkloadNetworkDnsZone
3081
- },
3082
- 204: {
3083
- bodyMapper: Mappers.WorkloadNetworkDnsZone
3106
+ bodyMapper: Mappers.ErrorResponse,
3084
3107
  },
3085
- default: {
3086
- bodyMapper: Mappers.ErrorResponse
3087
- }
3088
- },
3089
- requestBody: Parameters.workloadNetworkDnsZone,
3090
- queryParameters: [Parameters.apiVersion],
3091
- urlParameters: [
3092
- Parameters.$host,
3093
- Parameters.subscriptionId,
3094
- Parameters.resourceGroupName,
3095
- Parameters.privateCloudName,
3096
- Parameters.dnsZoneId
3097
- ],
3098
- headerParameters: [Parameters.accept, Parameters.contentType],
3099
- mediaType: "json",
3100
- serializer
3101
- };
3102
- const deleteDnsZoneOperationSpec = {
3103
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}",
3104
- httpMethod: "DELETE",
3105
- responses: {
3106
- 200: {},
3107
- 201: {},
3108
- 202: {},
3109
- 204: {},
3110
- default: {
3111
- bodyMapper: Mappers.ErrorResponse
3112
- }
3113
3108
  },
3114
3109
  queryParameters: [Parameters.apiVersion],
3115
3110
  urlParameters: [
@@ -3117,89 +3112,100 @@ const deleteDnsZoneOperationSpec = {
3117
3112
  Parameters.subscriptionId,
3118
3113
  Parameters.resourceGroupName,
3119
3114
  Parameters.privateCloudName,
3120
- Parameters.dnsZoneId
3121
3115
  ],
3122
3116
  headerParameters: [Parameters.accept],
3123
- serializer
3117
+ serializer,
3124
3118
  };
3125
- const listPublicIPsOperationSpec = {
3126
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs",
3119
+ const getVMGroupOperationSpec = {
3120
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}",
3127
3121
  httpMethod: "GET",
3128
3122
  responses: {
3129
3123
  200: {
3130
- bodyMapper: Mappers.WorkloadNetworkPublicIPsList
3124
+ bodyMapper: Mappers.WorkloadNetworkVMGroup,
3131
3125
  },
3132
3126
  default: {
3133
- bodyMapper: Mappers.ErrorResponse
3134
- }
3127
+ bodyMapper: Mappers.ErrorResponse,
3128
+ },
3135
3129
  },
3136
3130
  queryParameters: [Parameters.apiVersion],
3137
3131
  urlParameters: [
3138
3132
  Parameters.$host,
3139
3133
  Parameters.subscriptionId,
3140
3134
  Parameters.resourceGroupName,
3141
- Parameters.privateCloudName
3135
+ Parameters.privateCloudName,
3136
+ Parameters.vmGroupId,
3142
3137
  ],
3143
3138
  headerParameters: [Parameters.accept],
3144
- serializer
3139
+ serializer,
3145
3140
  };
3146
- const getPublicIPOperationSpec = {
3147
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}",
3148
- httpMethod: "GET",
3141
+ const createVMGroupOperationSpec = {
3142
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}",
3143
+ httpMethod: "PUT",
3149
3144
  responses: {
3150
3145
  200: {
3151
- bodyMapper: Mappers.WorkloadNetworkPublicIP
3146
+ bodyMapper: Mappers.WorkloadNetworkVMGroup,
3147
+ },
3148
+ 201: {
3149
+ bodyMapper: Mappers.WorkloadNetworkVMGroup,
3150
+ },
3151
+ 202: {
3152
+ bodyMapper: Mappers.WorkloadNetworkVMGroup,
3153
+ },
3154
+ 204: {
3155
+ bodyMapper: Mappers.WorkloadNetworkVMGroup,
3152
3156
  },
3153
3157
  default: {
3154
- bodyMapper: Mappers.ErrorResponse
3155
- }
3158
+ bodyMapper: Mappers.ErrorResponse,
3159
+ },
3156
3160
  },
3161
+ requestBody: Parameters.workloadNetworkVMGroup,
3157
3162
  queryParameters: [Parameters.apiVersion],
3158
3163
  urlParameters: [
3159
3164
  Parameters.$host,
3160
3165
  Parameters.subscriptionId,
3161
3166
  Parameters.resourceGroupName,
3162
3167
  Parameters.privateCloudName,
3163
- Parameters.publicIPId
3168
+ Parameters.vmGroupId,
3164
3169
  ],
3165
- headerParameters: [Parameters.accept],
3166
- serializer
3170
+ headerParameters: [Parameters.accept, Parameters.contentType],
3171
+ mediaType: "json",
3172
+ serializer,
3167
3173
  };
3168
- const createPublicIPOperationSpec = {
3169
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}",
3170
- httpMethod: "PUT",
3174
+ const updateVMGroupOperationSpec = {
3175
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}",
3176
+ httpMethod: "PATCH",
3171
3177
  responses: {
3172
3178
  200: {
3173
- bodyMapper: Mappers.WorkloadNetworkPublicIP
3179
+ bodyMapper: Mappers.WorkloadNetworkVMGroup,
3174
3180
  },
3175
3181
  201: {
3176
- bodyMapper: Mappers.WorkloadNetworkPublicIP
3182
+ bodyMapper: Mappers.WorkloadNetworkVMGroup,
3177
3183
  },
3178
3184
  202: {
3179
- bodyMapper: Mappers.WorkloadNetworkPublicIP
3185
+ bodyMapper: Mappers.WorkloadNetworkVMGroup,
3180
3186
  },
3181
3187
  204: {
3182
- bodyMapper: Mappers.WorkloadNetworkPublicIP
3188
+ bodyMapper: Mappers.WorkloadNetworkVMGroup,
3183
3189
  },
3184
3190
  default: {
3185
- bodyMapper: Mappers.ErrorResponse
3186
- }
3191
+ bodyMapper: Mappers.ErrorResponse,
3192
+ },
3187
3193
  },
3188
- requestBody: Parameters.workloadNetworkPublicIP,
3194
+ requestBody: Parameters.workloadNetworkVMGroup1,
3189
3195
  queryParameters: [Parameters.apiVersion],
3190
3196
  urlParameters: [
3191
3197
  Parameters.$host,
3192
3198
  Parameters.subscriptionId,
3193
3199
  Parameters.resourceGroupName,
3194
3200
  Parameters.privateCloudName,
3195
- Parameters.publicIPId
3201
+ Parameters.vmGroupId,
3196
3202
  ],
3197
3203
  headerParameters: [Parameters.accept, Parameters.contentType],
3198
3204
  mediaType: "json",
3199
- serializer
3205
+ serializer,
3200
3206
  };
3201
- const deletePublicIPOperationSpec = {
3202
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}",
3207
+ const deleteVMGroupOperationSpec = {
3208
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}",
3203
3209
  httpMethod: "DELETE",
3204
3210
  responses: {
3205
3211
  200: {},
@@ -3207,8 +3213,8 @@ const deletePublicIPOperationSpec = {
3207
3213
  202: {},
3208
3214
  204: {},
3209
3215
  default: {
3210
- bodyMapper: Mappers.ErrorResponse
3211
- }
3216
+ bodyMapper: Mappers.ErrorResponse,
3217
+ },
3212
3218
  },
3213
3219
  queryParameters: [Parameters.apiVersion],
3214
3220
  urlParameters: [
@@ -3216,219 +3222,219 @@ const deletePublicIPOperationSpec = {
3216
3222
  Parameters.subscriptionId,
3217
3223
  Parameters.resourceGroupName,
3218
3224
  Parameters.privateCloudName,
3219
- Parameters.publicIPId
3225
+ Parameters.vmGroupId,
3220
3226
  ],
3221
3227
  headerParameters: [Parameters.accept],
3222
- serializer
3228
+ serializer,
3223
3229
  };
3224
3230
  const listNextOperationSpec = {
3225
3231
  path: "{nextLink}",
3226
3232
  httpMethod: "GET",
3227
3233
  responses: {
3228
3234
  200: {
3229
- bodyMapper: Mappers.WorkloadNetworkList
3235
+ bodyMapper: Mappers.WorkloadNetworkListResult,
3230
3236
  },
3231
3237
  default: {
3232
- bodyMapper: Mappers.ErrorResponse
3233
- }
3238
+ bodyMapper: Mappers.ErrorResponse,
3239
+ },
3234
3240
  },
3235
3241
  urlParameters: [
3236
3242
  Parameters.$host,
3237
3243
  Parameters.nextLink,
3238
3244
  Parameters.subscriptionId,
3239
3245
  Parameters.resourceGroupName,
3240
- Parameters.privateCloudName
3246
+ Parameters.privateCloudName,
3241
3247
  ],
3242
3248
  headerParameters: [Parameters.accept],
3243
- serializer
3249
+ serializer,
3244
3250
  };
3245
- const listSegmentsNextOperationSpec = {
3251
+ const listDhcpNextOperationSpec = {
3246
3252
  path: "{nextLink}",
3247
3253
  httpMethod: "GET",
3248
3254
  responses: {
3249
3255
  200: {
3250
- bodyMapper: Mappers.WorkloadNetworkSegmentsList
3256
+ bodyMapper: Mappers.WorkloadNetworkDhcpListResult,
3251
3257
  },
3252
3258
  default: {
3253
- bodyMapper: Mappers.ErrorResponse
3254
- }
3259
+ bodyMapper: Mappers.ErrorResponse,
3260
+ },
3255
3261
  },
3256
3262
  urlParameters: [
3257
3263
  Parameters.$host,
3258
3264
  Parameters.nextLink,
3259
3265
  Parameters.subscriptionId,
3260
3266
  Parameters.resourceGroupName,
3261
- Parameters.privateCloudName
3267
+ Parameters.privateCloudName,
3262
3268
  ],
3263
3269
  headerParameters: [Parameters.accept],
3264
- serializer
3270
+ serializer,
3265
3271
  };
3266
- const listDhcpNextOperationSpec = {
3272
+ const listDnsServicesNextOperationSpec = {
3267
3273
  path: "{nextLink}",
3268
3274
  httpMethod: "GET",
3269
3275
  responses: {
3270
3276
  200: {
3271
- bodyMapper: Mappers.WorkloadNetworkDhcpList
3277
+ bodyMapper: Mappers.WorkloadNetworkDnsServiceListResult,
3272
3278
  },
3273
3279
  default: {
3274
- bodyMapper: Mappers.ErrorResponse
3275
- }
3280
+ bodyMapper: Mappers.ErrorResponse,
3281
+ },
3276
3282
  },
3277
3283
  urlParameters: [
3278
3284
  Parameters.$host,
3279
3285
  Parameters.nextLink,
3280
3286
  Parameters.subscriptionId,
3281
3287
  Parameters.resourceGroupName,
3282
- Parameters.privateCloudName
3288
+ Parameters.privateCloudName,
3283
3289
  ],
3284
3290
  headerParameters: [Parameters.accept],
3285
- serializer
3291
+ serializer,
3286
3292
  };
3287
- const listGatewaysNextOperationSpec = {
3293
+ const listDnsZonesNextOperationSpec = {
3288
3294
  path: "{nextLink}",
3289
3295
  httpMethod: "GET",
3290
3296
  responses: {
3291
3297
  200: {
3292
- bodyMapper: Mappers.WorkloadNetworkGatewayList
3298
+ bodyMapper: Mappers.WorkloadNetworkDnsZoneListResult,
3293
3299
  },
3294
3300
  default: {
3295
- bodyMapper: Mappers.ErrorResponse
3296
- }
3301
+ bodyMapper: Mappers.ErrorResponse,
3302
+ },
3297
3303
  },
3298
3304
  urlParameters: [
3299
3305
  Parameters.$host,
3300
3306
  Parameters.nextLink,
3301
3307
  Parameters.subscriptionId,
3302
3308
  Parameters.resourceGroupName,
3303
- Parameters.privateCloudName
3309
+ Parameters.privateCloudName,
3304
3310
  ],
3305
3311
  headerParameters: [Parameters.accept],
3306
- serializer
3312
+ serializer,
3307
3313
  };
3308
- const listPortMirroringNextOperationSpec = {
3314
+ const listGatewaysNextOperationSpec = {
3309
3315
  path: "{nextLink}",
3310
3316
  httpMethod: "GET",
3311
3317
  responses: {
3312
3318
  200: {
3313
- bodyMapper: Mappers.WorkloadNetworkPortMirroringList
3319
+ bodyMapper: Mappers.WorkloadNetworkGatewayListResult,
3314
3320
  },
3315
3321
  default: {
3316
- bodyMapper: Mappers.ErrorResponse
3317
- }
3322
+ bodyMapper: Mappers.ErrorResponse,
3323
+ },
3318
3324
  },
3319
3325
  urlParameters: [
3320
3326
  Parameters.$host,
3321
3327
  Parameters.nextLink,
3322
3328
  Parameters.subscriptionId,
3323
3329
  Parameters.resourceGroupName,
3324
- Parameters.privateCloudName
3330
+ Parameters.privateCloudName,
3325
3331
  ],
3326
3332
  headerParameters: [Parameters.accept],
3327
- serializer
3333
+ serializer,
3328
3334
  };
3329
- const listVMGroupsNextOperationSpec = {
3335
+ const listPortMirroringNextOperationSpec = {
3330
3336
  path: "{nextLink}",
3331
3337
  httpMethod: "GET",
3332
3338
  responses: {
3333
3339
  200: {
3334
- bodyMapper: Mappers.WorkloadNetworkVMGroupsList
3340
+ bodyMapper: Mappers.WorkloadNetworkPortMirroringListResult,
3335
3341
  },
3336
3342
  default: {
3337
- bodyMapper: Mappers.ErrorResponse
3338
- }
3343
+ bodyMapper: Mappers.ErrorResponse,
3344
+ },
3339
3345
  },
3340
3346
  urlParameters: [
3341
3347
  Parameters.$host,
3342
3348
  Parameters.nextLink,
3343
3349
  Parameters.subscriptionId,
3344
3350
  Parameters.resourceGroupName,
3345
- Parameters.privateCloudName
3351
+ Parameters.privateCloudName,
3346
3352
  ],
3347
3353
  headerParameters: [Parameters.accept],
3348
- serializer
3354
+ serializer,
3349
3355
  };
3350
- const listVirtualMachinesNextOperationSpec = {
3356
+ const listPublicIPsNextOperationSpec = {
3351
3357
  path: "{nextLink}",
3352
3358
  httpMethod: "GET",
3353
3359
  responses: {
3354
3360
  200: {
3355
- bodyMapper: Mappers.WorkloadNetworkVirtualMachinesList
3361
+ bodyMapper: Mappers.WorkloadNetworkPublicIPListResult,
3356
3362
  },
3357
3363
  default: {
3358
- bodyMapper: Mappers.ErrorResponse
3359
- }
3364
+ bodyMapper: Mappers.ErrorResponse,
3365
+ },
3360
3366
  },
3361
3367
  urlParameters: [
3362
3368
  Parameters.$host,
3363
3369
  Parameters.nextLink,
3364
3370
  Parameters.subscriptionId,
3365
3371
  Parameters.resourceGroupName,
3366
- Parameters.privateCloudName
3372
+ Parameters.privateCloudName,
3367
3373
  ],
3368
3374
  headerParameters: [Parameters.accept],
3369
- serializer
3375
+ serializer,
3370
3376
  };
3371
- const listDnsServicesNextOperationSpec = {
3377
+ const listSegmentsNextOperationSpec = {
3372
3378
  path: "{nextLink}",
3373
3379
  httpMethod: "GET",
3374
3380
  responses: {
3375
3381
  200: {
3376
- bodyMapper: Mappers.WorkloadNetworkDnsServicesList
3382
+ bodyMapper: Mappers.WorkloadNetworkSegmentListResult,
3377
3383
  },
3378
3384
  default: {
3379
- bodyMapper: Mappers.ErrorResponse
3380
- }
3385
+ bodyMapper: Mappers.ErrorResponse,
3386
+ },
3381
3387
  },
3382
3388
  urlParameters: [
3383
3389
  Parameters.$host,
3384
3390
  Parameters.nextLink,
3385
3391
  Parameters.subscriptionId,
3386
3392
  Parameters.resourceGroupName,
3387
- Parameters.privateCloudName
3393
+ Parameters.privateCloudName,
3388
3394
  ],
3389
3395
  headerParameters: [Parameters.accept],
3390
- serializer
3396
+ serializer,
3391
3397
  };
3392
- const listDnsZonesNextOperationSpec = {
3398
+ const listVirtualMachinesNextOperationSpec = {
3393
3399
  path: "{nextLink}",
3394
3400
  httpMethod: "GET",
3395
3401
  responses: {
3396
3402
  200: {
3397
- bodyMapper: Mappers.WorkloadNetworkDnsZonesList
3403
+ bodyMapper: Mappers.WorkloadNetworkVirtualMachineListResult,
3398
3404
  },
3399
3405
  default: {
3400
- bodyMapper: Mappers.ErrorResponse
3401
- }
3406
+ bodyMapper: Mappers.ErrorResponse,
3407
+ },
3402
3408
  },
3403
3409
  urlParameters: [
3404
3410
  Parameters.$host,
3405
3411
  Parameters.nextLink,
3406
3412
  Parameters.subscriptionId,
3407
3413
  Parameters.resourceGroupName,
3408
- Parameters.privateCloudName
3414
+ Parameters.privateCloudName,
3409
3415
  ],
3410
3416
  headerParameters: [Parameters.accept],
3411
- serializer
3417
+ serializer,
3412
3418
  };
3413
- const listPublicIPsNextOperationSpec = {
3419
+ const listVMGroupsNextOperationSpec = {
3414
3420
  path: "{nextLink}",
3415
3421
  httpMethod: "GET",
3416
3422
  responses: {
3417
3423
  200: {
3418
- bodyMapper: Mappers.WorkloadNetworkPublicIPsList
3424
+ bodyMapper: Mappers.WorkloadNetworkVMGroupListResult,
3419
3425
  },
3420
3426
  default: {
3421
- bodyMapper: Mappers.ErrorResponse
3422
- }
3427
+ bodyMapper: Mappers.ErrorResponse,
3428
+ },
3423
3429
  },
3424
3430
  urlParameters: [
3425
3431
  Parameters.$host,
3426
3432
  Parameters.nextLink,
3427
3433
  Parameters.subscriptionId,
3428
3434
  Parameters.resourceGroupName,
3429
- Parameters.privateCloudName
3435
+ Parameters.privateCloudName,
3430
3436
  ],
3431
3437
  headerParameters: [Parameters.accept],
3432
- serializer
3438
+ serializer,
3433
3439
  };
3434
3440
  //# sourceMappingURL=workloadNetworks.js.map