@azure/arm-hybridcompute 4.1.0-alpha.20250619.1 → 5.0.0-alpha.20250624.3

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 (253) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/LICENSE +1 -1
  3. package/README.md +1 -2
  4. package/dist/browser/hybridComputeManagementClient.d.ts +23 -3
  5. package/dist/browser/hybridComputeManagementClient.d.ts.map +1 -1
  6. package/dist/browser/hybridComputeManagementClient.js +98 -12
  7. package/dist/browser/hybridComputeManagementClient.js.map +1 -1
  8. package/dist/browser/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js +7 -0
  10. package/dist/browser/lroImpl.js.map +1 -1
  11. package/dist/browser/models/index.d.ts +255 -69
  12. package/dist/browser/models/index.d.ts.map +1 -1
  13. package/dist/browser/models/index.js +10 -0
  14. package/dist/browser/models/index.js.map +1 -1
  15. package/dist/browser/models/mappers.d.ts +16 -8
  16. package/dist/browser/models/mappers.d.ts.map +1 -1
  17. package/dist/browser/models/mappers.js +394 -114
  18. package/dist/browser/models/mappers.js.map +1 -1
  19. package/dist/browser/models/parameters.d.ts +2 -1
  20. package/dist/browser/models/parameters.d.ts.map +1 -1
  21. package/dist/browser/models/parameters.js +19 -15
  22. package/dist/browser/models/parameters.js.map +1 -1
  23. package/dist/browser/operations/extensionMetadataV2.d.ts +50 -0
  24. package/dist/browser/operations/extensionMetadataV2.d.ts.map +1 -0
  25. package/dist/browser/operations/extensionMetadataV2.js +186 -0
  26. package/dist/browser/operations/extensionMetadataV2.js.map +1 -0
  27. package/dist/browser/operations/extensionPublisherOperations.d.ts +35 -0
  28. package/dist/browser/operations/extensionPublisherOperations.d.ts.map +1 -0
  29. package/dist/browser/operations/extensionPublisherOperations.js +136 -0
  30. package/dist/browser/operations/extensionPublisherOperations.js.map +1 -0
  31. package/dist/browser/operations/extensionTypeOperations.d.ts +38 -0
  32. package/dist/browser/operations/extensionTypeOperations.d.ts.map +1 -0
  33. package/dist/browser/operations/extensionTypeOperations.js +144 -0
  34. package/dist/browser/operations/extensionTypeOperations.js.map +1 -0
  35. package/dist/browser/operations/gateways.js +8 -8
  36. package/dist/browser/operations/gateways.js.map +1 -1
  37. package/dist/browser/operations/index.d.ts +3 -0
  38. package/dist/browser/operations/index.d.ts.map +1 -1
  39. package/dist/browser/operations/index.js +3 -0
  40. package/dist/browser/operations/index.js.map +1 -1
  41. package/dist/browser/operations/machines.d.ts +9 -2
  42. package/dist/browser/operations/machines.d.ts.map +1 -1
  43. package/dist/browser/operations/machines.js +56 -4
  44. package/dist/browser/operations/machines.js.map +1 -1
  45. package/dist/browser/operationsInterfaces/extensionMetadataV2.d.ts +23 -0
  46. package/dist/browser/operationsInterfaces/extensionMetadataV2.d.ts.map +1 -0
  47. package/dist/browser/operationsInterfaces/extensionMetadataV2.js +9 -0
  48. package/dist/browser/operationsInterfaces/extensionMetadataV2.js.map +1 -0
  49. package/dist/browser/operationsInterfaces/extensionPublisherOperations.d.ts +12 -0
  50. package/dist/browser/operationsInterfaces/extensionPublisherOperations.d.ts.map +1 -0
  51. package/dist/browser/operationsInterfaces/extensionPublisherOperations.js +9 -0
  52. package/dist/browser/operationsInterfaces/extensionPublisherOperations.js.map +1 -0
  53. package/dist/browser/operationsInterfaces/extensionTypeOperations.d.ts +13 -0
  54. package/dist/browser/operationsInterfaces/extensionTypeOperations.d.ts.map +1 -0
  55. package/dist/browser/operationsInterfaces/extensionTypeOperations.js +9 -0
  56. package/dist/browser/operationsInterfaces/extensionTypeOperations.js.map +1 -0
  57. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  58. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  59. package/dist/browser/operationsInterfaces/index.js +3 -0
  60. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  61. package/dist/browser/operationsInterfaces/machines.d.ts +9 -2
  62. package/dist/browser/operationsInterfaces/machines.d.ts.map +1 -1
  63. package/dist/browser/operationsInterfaces/machines.js.map +1 -1
  64. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  65. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  66. package/dist/commonjs/hybridComputeManagementClient.d.ts +23 -3
  67. package/dist/commonjs/hybridComputeManagementClient.d.ts.map +1 -1
  68. package/dist/commonjs/hybridComputeManagementClient.js +97 -11
  69. package/dist/commonjs/hybridComputeManagementClient.js.map +1 -1
  70. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  71. package/dist/commonjs/lroImpl.js +7 -0
  72. package/dist/commonjs/lroImpl.js.map +1 -1
  73. package/dist/commonjs/models/index.d.ts +255 -69
  74. package/dist/commonjs/models/index.d.ts.map +1 -1
  75. package/dist/commonjs/models/index.js +11 -1
  76. package/dist/commonjs/models/index.js.map +1 -1
  77. package/dist/commonjs/models/mappers.d.ts +16 -8
  78. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  79. package/dist/commonjs/models/mappers.js +397 -117
  80. package/dist/commonjs/models/mappers.js.map +1 -1
  81. package/dist/commonjs/models/parameters.d.ts +2 -1
  82. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  83. package/dist/commonjs/models/parameters.js +19 -15
  84. package/dist/commonjs/models/parameters.js.map +1 -1
  85. package/dist/commonjs/operations/extensionMetadataV2.d.ts +50 -0
  86. package/dist/commonjs/operations/extensionMetadataV2.d.ts.map +1 -0
  87. package/dist/commonjs/operations/extensionMetadataV2.js +190 -0
  88. package/dist/commonjs/operations/extensionMetadataV2.js.map +1 -0
  89. package/dist/commonjs/operations/extensionPublisherOperations.d.ts +35 -0
  90. package/dist/commonjs/operations/extensionPublisherOperations.d.ts.map +1 -0
  91. package/dist/commonjs/operations/extensionPublisherOperations.js +140 -0
  92. package/dist/commonjs/operations/extensionPublisherOperations.js.map +1 -0
  93. package/dist/commonjs/operations/extensionTypeOperations.d.ts +38 -0
  94. package/dist/commonjs/operations/extensionTypeOperations.d.ts.map +1 -0
  95. package/dist/commonjs/operations/extensionTypeOperations.js +148 -0
  96. package/dist/commonjs/operations/extensionTypeOperations.js.map +1 -0
  97. package/dist/commonjs/operations/gateways.js +8 -8
  98. package/dist/commonjs/operations/gateways.js.map +1 -1
  99. package/dist/commonjs/operations/index.d.ts +3 -0
  100. package/dist/commonjs/operations/index.d.ts.map +1 -1
  101. package/dist/commonjs/operations/index.js +3 -0
  102. package/dist/commonjs/operations/index.js.map +1 -1
  103. package/dist/commonjs/operations/machines.d.ts +9 -2
  104. package/dist/commonjs/operations/machines.d.ts.map +1 -1
  105. package/dist/commonjs/operations/machines.js +56 -4
  106. package/dist/commonjs/operations/machines.js.map +1 -1
  107. package/dist/commonjs/operationsInterfaces/extensionMetadataV2.d.ts +23 -0
  108. package/dist/commonjs/operationsInterfaces/extensionMetadataV2.d.ts.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/extensionMetadataV2.js +10 -0
  110. package/dist/commonjs/operationsInterfaces/extensionMetadataV2.js.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/extensionPublisherOperations.d.ts +12 -0
  112. package/dist/commonjs/operationsInterfaces/extensionPublisherOperations.d.ts.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/extensionPublisherOperations.js +10 -0
  114. package/dist/commonjs/operationsInterfaces/extensionPublisherOperations.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/extensionTypeOperations.d.ts +13 -0
  116. package/dist/commonjs/operationsInterfaces/extensionTypeOperations.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/extensionTypeOperations.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/extensionTypeOperations.js.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  120. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  121. package/dist/commonjs/operationsInterfaces/index.js +3 -0
  122. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  123. package/dist/commonjs/operationsInterfaces/machines.d.ts +9 -2
  124. package/dist/commonjs/operationsInterfaces/machines.d.ts.map +1 -1
  125. package/dist/commonjs/operationsInterfaces/machines.js.map +1 -1
  126. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  127. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  128. package/dist/esm/hybridComputeManagementClient.d.ts +23 -3
  129. package/dist/esm/hybridComputeManagementClient.d.ts.map +1 -1
  130. package/dist/esm/hybridComputeManagementClient.js +98 -12
  131. package/dist/esm/hybridComputeManagementClient.js.map +1 -1
  132. package/dist/esm/lroImpl.d.ts.map +1 -1
  133. package/dist/esm/lroImpl.js +7 -0
  134. package/dist/esm/lroImpl.js.map +1 -1
  135. package/dist/esm/models/index.d.ts +255 -69
  136. package/dist/esm/models/index.d.ts.map +1 -1
  137. package/dist/esm/models/index.js +10 -0
  138. package/dist/esm/models/index.js.map +1 -1
  139. package/dist/esm/models/mappers.d.ts +16 -8
  140. package/dist/esm/models/mappers.d.ts.map +1 -1
  141. package/dist/esm/models/mappers.js +394 -114
  142. package/dist/esm/models/mappers.js.map +1 -1
  143. package/dist/esm/models/parameters.d.ts +2 -1
  144. package/dist/esm/models/parameters.d.ts.map +1 -1
  145. package/dist/esm/models/parameters.js +19 -15
  146. package/dist/esm/models/parameters.js.map +1 -1
  147. package/dist/esm/operations/extensionMetadataV2.d.ts +50 -0
  148. package/dist/esm/operations/extensionMetadataV2.d.ts.map +1 -0
  149. package/dist/esm/operations/extensionMetadataV2.js +186 -0
  150. package/dist/esm/operations/extensionMetadataV2.js.map +1 -0
  151. package/dist/esm/operations/extensionPublisherOperations.d.ts +35 -0
  152. package/dist/esm/operations/extensionPublisherOperations.d.ts.map +1 -0
  153. package/dist/esm/operations/extensionPublisherOperations.js +136 -0
  154. package/dist/esm/operations/extensionPublisherOperations.js.map +1 -0
  155. package/dist/esm/operations/extensionTypeOperations.d.ts +38 -0
  156. package/dist/esm/operations/extensionTypeOperations.d.ts.map +1 -0
  157. package/dist/esm/operations/extensionTypeOperations.js +144 -0
  158. package/dist/esm/operations/extensionTypeOperations.js.map +1 -0
  159. package/dist/esm/operations/gateways.js +8 -8
  160. package/dist/esm/operations/gateways.js.map +1 -1
  161. package/dist/esm/operations/index.d.ts +3 -0
  162. package/dist/esm/operations/index.d.ts.map +1 -1
  163. package/dist/esm/operations/index.js +3 -0
  164. package/dist/esm/operations/index.js.map +1 -1
  165. package/dist/esm/operations/machines.d.ts +9 -2
  166. package/dist/esm/operations/machines.d.ts.map +1 -1
  167. package/dist/esm/operations/machines.js +56 -4
  168. package/dist/esm/operations/machines.js.map +1 -1
  169. package/dist/esm/operationsInterfaces/extensionMetadataV2.d.ts +23 -0
  170. package/dist/esm/operationsInterfaces/extensionMetadataV2.d.ts.map +1 -0
  171. package/dist/esm/operationsInterfaces/extensionMetadataV2.js +9 -0
  172. package/dist/esm/operationsInterfaces/extensionMetadataV2.js.map +1 -0
  173. package/dist/esm/operationsInterfaces/extensionPublisherOperations.d.ts +12 -0
  174. package/dist/esm/operationsInterfaces/extensionPublisherOperations.d.ts.map +1 -0
  175. package/dist/esm/operationsInterfaces/extensionPublisherOperations.js +9 -0
  176. package/dist/esm/operationsInterfaces/extensionPublisherOperations.js.map +1 -0
  177. package/dist/esm/operationsInterfaces/extensionTypeOperations.d.ts +13 -0
  178. package/dist/esm/operationsInterfaces/extensionTypeOperations.d.ts.map +1 -0
  179. package/dist/esm/operationsInterfaces/extensionTypeOperations.js +9 -0
  180. package/dist/esm/operationsInterfaces/extensionTypeOperations.js.map +1 -0
  181. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  182. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  183. package/dist/esm/operationsInterfaces/index.js +3 -0
  184. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  185. package/dist/esm/operationsInterfaces/machines.d.ts +9 -2
  186. package/dist/esm/operationsInterfaces/machines.d.ts.map +1 -1
  187. package/dist/esm/operationsInterfaces/machines.js.map +1 -1
  188. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  189. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  190. package/dist/react-native/hybridComputeManagementClient.d.ts +23 -3
  191. package/dist/react-native/hybridComputeManagementClient.d.ts.map +1 -1
  192. package/dist/react-native/hybridComputeManagementClient.js +98 -12
  193. package/dist/react-native/hybridComputeManagementClient.js.map +1 -1
  194. package/dist/react-native/lroImpl.d.ts.map +1 -1
  195. package/dist/react-native/lroImpl.js +7 -0
  196. package/dist/react-native/lroImpl.js.map +1 -1
  197. package/dist/react-native/models/index.d.ts +255 -69
  198. package/dist/react-native/models/index.d.ts.map +1 -1
  199. package/dist/react-native/models/index.js +10 -0
  200. package/dist/react-native/models/index.js.map +1 -1
  201. package/dist/react-native/models/mappers.d.ts +16 -8
  202. package/dist/react-native/models/mappers.d.ts.map +1 -1
  203. package/dist/react-native/models/mappers.js +394 -114
  204. package/dist/react-native/models/mappers.js.map +1 -1
  205. package/dist/react-native/models/parameters.d.ts +2 -1
  206. package/dist/react-native/models/parameters.d.ts.map +1 -1
  207. package/dist/react-native/models/parameters.js +19 -15
  208. package/dist/react-native/models/parameters.js.map +1 -1
  209. package/dist/react-native/operations/extensionMetadataV2.d.ts +50 -0
  210. package/dist/react-native/operations/extensionMetadataV2.d.ts.map +1 -0
  211. package/dist/react-native/operations/extensionMetadataV2.js +186 -0
  212. package/dist/react-native/operations/extensionMetadataV2.js.map +1 -0
  213. package/dist/react-native/operations/extensionPublisherOperations.d.ts +35 -0
  214. package/dist/react-native/operations/extensionPublisherOperations.d.ts.map +1 -0
  215. package/dist/react-native/operations/extensionPublisherOperations.js +136 -0
  216. package/dist/react-native/operations/extensionPublisherOperations.js.map +1 -0
  217. package/dist/react-native/operations/extensionTypeOperations.d.ts +38 -0
  218. package/dist/react-native/operations/extensionTypeOperations.d.ts.map +1 -0
  219. package/dist/react-native/operations/extensionTypeOperations.js +144 -0
  220. package/dist/react-native/operations/extensionTypeOperations.js.map +1 -0
  221. package/dist/react-native/operations/gateways.js +8 -8
  222. package/dist/react-native/operations/gateways.js.map +1 -1
  223. package/dist/react-native/operations/index.d.ts +3 -0
  224. package/dist/react-native/operations/index.d.ts.map +1 -1
  225. package/dist/react-native/operations/index.js +3 -0
  226. package/dist/react-native/operations/index.js.map +1 -1
  227. package/dist/react-native/operations/machines.d.ts +9 -2
  228. package/dist/react-native/operations/machines.d.ts.map +1 -1
  229. package/dist/react-native/operations/machines.js +56 -4
  230. package/dist/react-native/operations/machines.js.map +1 -1
  231. package/dist/react-native/operationsInterfaces/extensionMetadataV2.d.ts +23 -0
  232. package/dist/react-native/operationsInterfaces/extensionMetadataV2.d.ts.map +1 -0
  233. package/dist/react-native/operationsInterfaces/extensionMetadataV2.js +9 -0
  234. package/dist/react-native/operationsInterfaces/extensionMetadataV2.js.map +1 -0
  235. package/dist/react-native/operationsInterfaces/extensionPublisherOperations.d.ts +12 -0
  236. package/dist/react-native/operationsInterfaces/extensionPublisherOperations.d.ts.map +1 -0
  237. package/dist/react-native/operationsInterfaces/extensionPublisherOperations.js +9 -0
  238. package/dist/react-native/operationsInterfaces/extensionPublisherOperations.js.map +1 -0
  239. package/dist/react-native/operationsInterfaces/extensionTypeOperations.d.ts +13 -0
  240. package/dist/react-native/operationsInterfaces/extensionTypeOperations.d.ts.map +1 -0
  241. package/dist/react-native/operationsInterfaces/extensionTypeOperations.js +9 -0
  242. package/dist/react-native/operationsInterfaces/extensionTypeOperations.js.map +1 -0
  243. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  244. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  245. package/dist/react-native/operationsInterfaces/index.js +3 -0
  246. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  247. package/dist/react-native/operationsInterfaces/machines.d.ts +9 -2
  248. package/dist/react-native/operationsInterfaces/machines.d.ts.map +1 -1
  249. package/dist/react-native/operationsInterfaces/machines.js.map +1 -1
  250. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  251. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  252. package/package.json +22 -22
  253. package/review/arm-hybridcompute.api.md +191 -32
@@ -2,7 +2,7 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { Machines } from "../operationsInterfaces/index.js";
3
3
  import { HybridComputeManagementClient } from "../hybridComputeManagementClient.js";
4
4
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { Machine, MachinesListByResourceGroupOptionalParams, MachinesListBySubscriptionOptionalParams, MachinesDeleteOptionalParams, MachinesGetOptionalParams, MachinesGetResponse, MachinesAssessPatchesOptionalParams, MachinesAssessPatchesResponse, MachineInstallPatchesParameters, MachinesInstallPatchesOptionalParams, MachinesInstallPatchesResponse } from "../models/index.js";
5
+ import { Machine, MachinesListByResourceGroupOptionalParams, MachinesListBySubscriptionOptionalParams, MachinesDeleteOptionalParams, MachinesDeleteResponse, MachinesGetOptionalParams, MachinesGetResponse, MachinesAssessPatchesOptionalParams, MachinesAssessPatchesResponse, MachineInstallPatchesParameters, MachinesInstallPatchesOptionalParams, MachinesInstallPatchesResponse } from "../models/index.js";
6
6
  /** Class containing Machines operations. */
7
7
  export declare class MachinesImpl implements Machines {
8
8
  private readonly client;
@@ -34,7 +34,14 @@ export declare class MachinesImpl implements Machines {
34
34
  * @param machineName The name of the hybrid machine.
35
35
  * @param options The options parameters.
36
36
  */
37
- delete(resourceGroupName: string, machineName: string, options?: MachinesDeleteOptionalParams): Promise<void>;
37
+ beginDelete(resourceGroupName: string, machineName: string, options?: MachinesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MachinesDeleteResponse>, MachinesDeleteResponse>>;
38
+ /**
39
+ * The operation to delete a hybrid machine.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param machineName The name of the hybrid machine.
42
+ * @param options The options parameters.
43
+ */
44
+ beginDeleteAndWait(resourceGroupName: string, machineName: string, options?: MachinesDeleteOptionalParams): Promise<MachinesDeleteResponse>;
38
45
  /**
39
46
  * Retrieves information about the model view or the instance view of a hybrid machine.
40
47
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1 +1 @@
1
- {"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../../src/operations/machines.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,OAAO,EAEP,yCAAyC,EAGzC,wCAAwC,EAExC,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,mCAAmC,EACnC,6BAA6B,EAC7B,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,EAG/B,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,OAAO,CAAC;YAsBvB,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;;OAIG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,OAAO,CAAC;YAkBvB,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,O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Z,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,6BAA6B,CAAC,EAC7C,6BAA6B,CAC9B,CACF;IAwDD;;;;;OAKG;IACG,yBAAyB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IASzC;;;;;;OAMG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,mBAAmB,EAAE,+BAA+B,EACpD,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,8BAA8B,CAAC,EAC9C,8BAA8B,CAC/B,CACF;IAwDD;;;;;;OAMG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,mBAAmB,EAAE,+BAA+B,EACpD,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAU1C;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
@@ -153,8 +153,50 @@ export class MachinesImpl {
153
153
  * @param machineName The name of the hybrid machine.
154
154
  * @param options The options parameters.
155
155
  */
156
- delete(resourceGroupName, machineName, options) {
157
- return this.client.sendOperationRequest({ resourceGroupName, machineName, options }, deleteOperationSpec);
156
+ async beginDelete(resourceGroupName, machineName, options) {
157
+ const directSendOperation = async (args, spec) => {
158
+ return this.client.sendOperationRequest(args, spec);
159
+ };
160
+ const sendOperationFn = async (args, spec) => {
161
+ var _a;
162
+ let currentRawResponse = undefined;
163
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
164
+ const callback = (rawResponse, flatResponse) => {
165
+ currentRawResponse = rawResponse;
166
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
167
+ };
168
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
169
+ const flatResponse = await directSendOperation(updatedArgs, spec);
170
+ return {
171
+ flatResponse,
172
+ rawResponse: {
173
+ statusCode: currentRawResponse.status,
174
+ body: currentRawResponse.parsedBody,
175
+ headers: currentRawResponse.headers.toJSON(),
176
+ },
177
+ };
178
+ };
179
+ const lro = createLroSpec({
180
+ sendOperationFn,
181
+ args: { resourceGroupName, machineName, options },
182
+ spec: deleteOperationSpec,
183
+ });
184
+ const poller = await createHttpPoller(lro, {
185
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
186
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
187
+ });
188
+ await poller.poll();
189
+ return poller;
190
+ }
191
+ /**
192
+ * The operation to delete a hybrid machine.
193
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
194
+ * @param machineName The name of the hybrid machine.
195
+ * @param options The options parameters.
196
+ */
197
+ async beginDeleteAndWait(resourceGroupName, machineName, options) {
198
+ const poller = await this.beginDelete(resourceGroupName, machineName, options);
199
+ return poller.pollUntilDone();
158
200
  }
159
201
  /**
160
202
  * Retrieves information about the model view or the instance view of a hybrid machine.
@@ -312,8 +354,18 @@ const deleteOperationSpec = {
312
354
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}",
313
355
  httpMethod: "DELETE",
314
356
  responses: {
315
- 200: {},
316
- 204: {},
357
+ 200: {
358
+ headersMapper: Mappers.MachinesDeleteHeaders,
359
+ },
360
+ 201: {
361
+ headersMapper: Mappers.MachinesDeleteHeaders,
362
+ },
363
+ 202: {
364
+ headersMapper: Mappers.MachinesDeleteHeaders,
365
+ },
366
+ 204: {
367
+ headersMapper: Mappers.MachinesDeleteHeaders,
368
+ },
317
369
  default: {
318
370
  bodyMapper: Mappers.ErrorResponse,
319
371
  },
@@ -1 +1 @@
1
- {"version":3,"file":"machines.js","sourceRoot":"","sources":["../../../src/operations/machines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAqB9C,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAmD;QAEnD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CACvC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,6BAA6B,CAC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;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Machines } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { HybridComputeManagementClient } from \"../hybridComputeManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Machine,\n MachinesListByResourceGroupNextOptionalParams,\n MachinesListByResourceGroupOptionalParams,\n MachinesListByResourceGroupResponse,\n MachinesListBySubscriptionNextOptionalParams,\n MachinesListBySubscriptionOptionalParams,\n MachinesListBySubscriptionResponse,\n MachinesDeleteOptionalParams,\n MachinesGetOptionalParams,\n MachinesGetResponse,\n MachinesAssessPatchesOptionalParams,\n MachinesAssessPatchesResponse,\n MachineInstallPatchesParameters,\n MachinesInstallPatchesOptionalParams,\n MachinesInstallPatchesResponse,\n MachinesListByResourceGroupNextResponse,\n MachinesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Machines operations. */\nexport class MachinesImpl implements Machines {\n private readonly client: HybridComputeManagementClient;\n\n /**\n * Initialize a new instance of the class Machines class.\n * @param client Reference to the service client\n */\n constructor(client: HybridComputeManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Machine> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Machine[]> {\n let result: MachinesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Machine> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: MachinesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<Machine> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: MachinesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Machine[]> {\n let result: MachinesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: MachinesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<Machine> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The operation to delete a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, machineName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Retrieves information about the model view or the instance view of a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesGetOptionalParams,\n ): Promise<MachinesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, machineName, options },\n getOperationSpec,\n );\n }\n\n /**\n * The operation to assess patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param options The options parameters.\n */\n async beginAssessPatches(\n resourceGroupName: string,\n name: string,\n options?: MachinesAssessPatchesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesAssessPatchesResponse>,\n MachinesAssessPatchesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<MachinesAssessPatchesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, options },\n spec: assessPatchesOperationSpec,\n });\n const poller = await createHttpPoller<\n MachinesAssessPatchesResponse,\n OperationState<MachinesAssessPatchesResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to assess patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param options The options parameters.\n */\n async beginAssessPatchesAndWait(\n resourceGroupName: string,\n name: string,\n options?: MachinesAssessPatchesOptionalParams,\n ): Promise<MachinesAssessPatchesResponse> {\n const poller = await this.beginAssessPatches(\n resourceGroupName,\n name,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to install patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param installPatchesInput Input for InstallPatches as directly received by the API\n * @param options The options parameters.\n */\n async beginInstallPatches(\n resourceGroupName: string,\n name: string,\n installPatchesInput: MachineInstallPatchesParameters,\n options?: MachinesInstallPatchesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesInstallPatchesResponse>,\n MachinesInstallPatchesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<MachinesInstallPatchesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, installPatchesInput, options },\n spec: installPatchesOperationSpec,\n });\n const poller = await createHttpPoller<\n MachinesInstallPatchesResponse,\n OperationState<MachinesInstallPatchesResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to install patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param installPatchesInput Input for InstallPatches as directly received by the API\n * @param options The options parameters.\n */\n async beginInstallPatchesAndWait(\n resourceGroupName: string,\n name: string,\n installPatchesInput: MachineInstallPatchesParameters,\n options?: MachinesInstallPatchesOptionalParams,\n ): Promise<MachinesInstallPatchesResponse> {\n const poller = await this.beginInstallPatches(\n resourceGroupName,\n name,\n installPatchesInput,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n ): Promise<MachinesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: MachinesListBySubscriptionOptionalParams,\n ): Promise<MachinesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: MachinesListByResourceGroupNextOptionalParams,\n ): Promise<MachinesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: MachinesListBySubscriptionNextOptionalParams,\n ): Promise<MachinesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.machineName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Machine,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.machineName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst assessPatchesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineAssessPatchesResult,\n },\n 201: {\n bodyMapper: Mappers.MachineAssessPatchesResult,\n },\n 202: {\n bodyMapper: Mappers.MachineAssessPatchesResult,\n },\n 204: {\n bodyMapper: Mappers.MachineAssessPatchesResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst installPatchesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineInstallPatchesResult,\n },\n 201: {\n bodyMapper: Mappers.MachineInstallPatchesResult,\n },\n 202: {\n bodyMapper: Mappers.MachineInstallPatchesResult,\n },\n 204: {\n bodyMapper: Mappers.MachineInstallPatchesResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.installPatchesInput,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"machines.js","sourceRoot":"","sources":["../../../src/operations/machines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAsB9C,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAmD;QAEnD,MAAM,IAAI,GAAG,IAAI,CAAC,4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CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Machines } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { HybridComputeManagementClient } from \"../hybridComputeManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Machine,\n MachinesListByResourceGroupNextOptionalParams,\n MachinesListByResourceGroupOptionalParams,\n MachinesListByResourceGroupResponse,\n MachinesListBySubscriptionNextOptionalParams,\n MachinesListBySubscriptionOptionalParams,\n MachinesListBySubscriptionResponse,\n MachinesDeleteOptionalParams,\n MachinesDeleteResponse,\n MachinesGetOptionalParams,\n MachinesGetResponse,\n MachinesAssessPatchesOptionalParams,\n MachinesAssessPatchesResponse,\n MachineInstallPatchesParameters,\n MachinesInstallPatchesOptionalParams,\n MachinesInstallPatchesResponse,\n MachinesListByResourceGroupNextResponse,\n MachinesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Machines operations. */\nexport class MachinesImpl implements Machines {\n private readonly client: HybridComputeManagementClient;\n\n /**\n * Initialize a new instance of the class Machines class.\n * @param client Reference to the service client\n */\n constructor(client: HybridComputeManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Machine> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Machine[]> {\n let result: MachinesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Machine> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: MachinesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<Machine> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: MachinesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Machine[]> {\n let result: MachinesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: MachinesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<Machine> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The operation to delete a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesDeleteResponse>,\n MachinesDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<MachinesDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, machineName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n MachinesDeleteResponse,\n OperationState<MachinesDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to delete a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesDeleteOptionalParams,\n ): Promise<MachinesDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n machineName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieves information about the model view or the instance view of a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesGetOptionalParams,\n ): Promise<MachinesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, machineName, options },\n getOperationSpec,\n );\n }\n\n /**\n * The operation to assess patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param options The options parameters.\n */\n async beginAssessPatches(\n resourceGroupName: string,\n name: string,\n options?: MachinesAssessPatchesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesAssessPatchesResponse>,\n MachinesAssessPatchesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<MachinesAssessPatchesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, options },\n spec: assessPatchesOperationSpec,\n });\n const poller = await createHttpPoller<\n MachinesAssessPatchesResponse,\n OperationState<MachinesAssessPatchesResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to assess patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param options The options parameters.\n */\n async beginAssessPatchesAndWait(\n resourceGroupName: string,\n name: string,\n options?: MachinesAssessPatchesOptionalParams,\n ): Promise<MachinesAssessPatchesResponse> {\n const poller = await this.beginAssessPatches(\n resourceGroupName,\n name,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to install patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param installPatchesInput Input for InstallPatches as directly received by the API\n * @param options The options parameters.\n */\n async beginInstallPatches(\n resourceGroupName: string,\n name: string,\n installPatchesInput: MachineInstallPatchesParameters,\n options?: MachinesInstallPatchesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesInstallPatchesResponse>,\n MachinesInstallPatchesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<MachinesInstallPatchesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, name, installPatchesInput, options },\n spec: installPatchesOperationSpec,\n });\n const poller = await createHttpPoller<\n MachinesInstallPatchesResponse,\n OperationState<MachinesInstallPatchesResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to install patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param installPatchesInput Input for InstallPatches as directly received by the API\n * @param options The options parameters.\n */\n async beginInstallPatchesAndWait(\n resourceGroupName: string,\n name: string,\n installPatchesInput: MachineInstallPatchesParameters,\n options?: MachinesInstallPatchesOptionalParams,\n ): Promise<MachinesInstallPatchesResponse> {\n const poller = await this.beginInstallPatches(\n resourceGroupName,\n name,\n installPatchesInput,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n ): Promise<MachinesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: MachinesListBySubscriptionOptionalParams,\n ): Promise<MachinesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: MachinesListByResourceGroupNextOptionalParams,\n ): Promise<MachinesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: MachinesListBySubscriptionNextOptionalParams,\n ): Promise<MachinesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.MachinesDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.MachinesDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.MachinesDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.MachinesDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.machineName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Machine,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.machineName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst assessPatchesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineAssessPatchesResult,\n },\n 201: {\n bodyMapper: Mappers.MachineAssessPatchesResult,\n },\n 202: {\n bodyMapper: Mappers.MachineAssessPatchesResult,\n },\n 204: {\n bodyMapper: Mappers.MachineAssessPatchesResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst installPatchesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineInstallPatchesResult,\n },\n 201: {\n bodyMapper: Mappers.MachineInstallPatchesResult,\n },\n 202: {\n bodyMapper: Mappers.MachineInstallPatchesResult,\n },\n 204: {\n bodyMapper: Mappers.MachineInstallPatchesResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.installPatchesInput,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName1,\n Parameters.name,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,23 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ExtensionValueV2, ExtensionMetadataV2ListOptionalParams, ExtensionMetadataV2GetOptionalParams, ExtensionMetadataV2GetResponse } from "../models/index.js";
3
+ /** Interface representing a ExtensionMetadataV2. */
4
+ export interface ExtensionMetadataV2 {
5
+ /**
6
+ * Gets all Extension versions based on location, publisher, extensionType
7
+ * @param location The name of Azure region.
8
+ * @param publisher The publisher of the Extension being received.
9
+ * @param extensionType The extensionType of the Extension being received.
10
+ * @param options The options parameters.
11
+ */
12
+ list(location: string, publisher: string, extensionType: string, options?: ExtensionMetadataV2ListOptionalParams): PagedAsyncIterableIterator<ExtensionValueV2>;
13
+ /**
14
+ * Gets an Extension Metadata based on location, publisher, extensionType and version
15
+ * @param location The name of Azure region.
16
+ * @param publisher The publisher of the Extension being received.
17
+ * @param extensionType The extensionType of the Extension being received.
18
+ * @param version The version of the Extension being received.
19
+ * @param options The options parameters.
20
+ */
21
+ get(location: string, publisher: string, extensionType: string, version: string, options?: ExtensionMetadataV2GetOptionalParams): Promise<ExtensionMetadataV2GetResponse>;
22
+ }
23
+ //# sourceMappingURL=extensionMetadataV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionMetadataV2.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensionMetadataV2.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,qCAAqC,EACrC,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,oDAAoD;AACpD,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;IAChD;;;;;;;OAOG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=extensionMetadataV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionMetadataV2.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensionMetadataV2.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ExtensionValueV2,\n ExtensionMetadataV2ListOptionalParams,\n ExtensionMetadataV2GetOptionalParams,\n ExtensionMetadataV2GetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ExtensionMetadataV2. */\nexport interface ExtensionMetadataV2 {\n /**\n * Gets all Extension versions based on location, publisher, extensionType\n * @param location The name of Azure region.\n * @param publisher The publisher of the Extension being received.\n * @param extensionType The extensionType of the Extension being received.\n * @param options The options parameters.\n */\n list(\n location: string,\n publisher: string,\n extensionType: string,\n options?: ExtensionMetadataV2ListOptionalParams,\n ): PagedAsyncIterableIterator<ExtensionValueV2>;\n /**\n * Gets an Extension Metadata based on location, publisher, extensionType and version\n * @param location The name of Azure region.\n * @param publisher The publisher of the Extension being received.\n * @param extensionType The extensionType of the Extension being received.\n * @param version The version of the Extension being received.\n * @param options The options parameters.\n */\n get(\n location: string,\n publisher: string,\n extensionType: string,\n version: string,\n options?: ExtensionMetadataV2GetOptionalParams,\n ): Promise<ExtensionMetadataV2GetResponse>;\n}\n"]}
@@ -0,0 +1,12 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ExtensionPublisher, ExtensionPublisherListOptionalParams } from "../models/index.js";
3
+ /** Interface representing a ExtensionPublisherOperations. */
4
+ export interface ExtensionPublisherOperations {
5
+ /**
6
+ * Gets all Extension publishers based on the location
7
+ * @param location The name of Azure region.
8
+ * @param options The options parameters.
9
+ */
10
+ list(location: string, options?: ExtensionPublisherListOptionalParams): PagedAsyncIterableIterator<ExtensionPublisher>;
11
+ }
12
+ //# sourceMappingURL=extensionPublisherOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionPublisherOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensionPublisherOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oCAAoC,EACrC,MAAM,oBAAoB,CAAC;AAG5B,6DAA6D;AAC7D,MAAM,WAAW,4BAA4B;IAC3C;;;;OAIG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;CACnD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=extensionPublisherOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionPublisherOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensionPublisherOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ExtensionPublisher,\n ExtensionPublisherListOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ExtensionPublisherOperations. */\nexport interface ExtensionPublisherOperations {\n /**\n * Gets all Extension publishers based on the location\n * @param location The name of Azure region.\n * @param options The options parameters.\n */\n list(\n location: string,\n options?: ExtensionPublisherListOptionalParams,\n ): PagedAsyncIterableIterator<ExtensionPublisher>;\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ExtensionType, ExtensionTypeListOptionalParams } from "../models/index.js";
3
+ /** Interface representing a ExtensionTypeOperations. */
4
+ export interface ExtensionTypeOperations {
5
+ /**
6
+ * Gets all Extension types based on location and publisher
7
+ * @param location The name of Azure region.
8
+ * @param publisher The publisher of the Extension being received.
9
+ * @param options The options parameters.
10
+ */
11
+ list(location: string, publisher: string, options?: ExtensionTypeListOptionalParams): PagedAsyncIterableIterator<ExtensionType>;
12
+ }
13
+ //# sourceMappingURL=extensionTypeOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionTypeOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensionTypeOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,aAAa,EACb,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;;;OAKG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,+BAA+B,GACxC,0BAA0B,CAAC,aAAa,CAAC,CAAC;CAC9C"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=extensionTypeOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionTypeOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensionTypeOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ExtensionType,\n ExtensionTypeListOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ExtensionTypeOperations. */\nexport interface ExtensionTypeOperations {\n /**\n * Gets all Extension types based on location and publisher\n * @param location The name of Azure region.\n * @param publisher The publisher of the Extension being received.\n * @param options The options parameters.\n */\n list(\n location: string,\n publisher: string,\n options?: ExtensionTypeListOptionalParams,\n ): PagedAsyncIterableIterator<ExtensionType>;\n}\n"]}
@@ -3,6 +3,9 @@ export * from "./machines.js";
3
3
  export * from "./licenseProfiles.js";
4
4
  export * from "./machineExtensions.js";
5
5
  export * from "./extensionMetadata.js";
6
+ export * from "./extensionMetadataV2.js";
7
+ export * from "./extensionTypeOperations.js";
8
+ export * from "./extensionPublisherOperations.js";
6
9
  export * from "./operations.js";
7
10
  export * from "./networkProfileOperations.js";
8
11
  export * from "./machineRunCommands.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC"}
@@ -10,6 +10,9 @@ export * from "./machines.js";
10
10
  export * from "./licenseProfiles.js";
11
11
  export * from "./machineExtensions.js";
12
12
  export * from "./extensionMetadata.js";
13
+ export * from "./extensionMetadataV2.js";
14
+ export * from "./extensionTypeOperations.js";
15
+ export * from "./extensionPublisherOperations.js";
13
16
  export * from "./operations.js";
14
17
  export * from "./networkProfileOperations.js";
15
18
  export * from "./machineRunCommands.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./licenses.js\";\nexport * from \"./machines.js\";\nexport * from \"./licenseProfiles.js\";\nexport * from \"./machineExtensions.js\";\nexport * from \"./extensionMetadata.js\";\nexport * from \"./operations.js\";\nexport * from \"./networkProfileOperations.js\";\nexport * from \"./machineRunCommands.js\";\nexport * from \"./gateways.js\";\nexport * from \"./settingsOperations.js\";\nexport * from \"./privateLinkScopes.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./networkSecurityPerimeterConfigurations.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./licenses.js\";\nexport * from \"./machines.js\";\nexport * from \"./licenseProfiles.js\";\nexport * from \"./machineExtensions.js\";\nexport * from \"./extensionMetadata.js\";\nexport * from \"./extensionMetadataV2.js\";\nexport * from \"./extensionTypeOperations.js\";\nexport * from \"./extensionPublisherOperations.js\";\nexport * from \"./operations.js\";\nexport * from \"./networkProfileOperations.js\";\nexport * from \"./machineRunCommands.js\";\nexport * from \"./gateways.js\";\nexport * from \"./settingsOperations.js\";\nexport * from \"./privateLinkScopes.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./networkSecurityPerimeterConfigurations.js\";\n"]}
@@ -1,6 +1,6 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { Machine, MachinesListByResourceGroupOptionalParams, MachinesListBySubscriptionOptionalParams, MachinesDeleteOptionalParams, MachinesGetOptionalParams, MachinesGetResponse, MachinesAssessPatchesOptionalParams, MachinesAssessPatchesResponse, MachineInstallPatchesParameters, MachinesInstallPatchesOptionalParams, MachinesInstallPatchesResponse } from "../models/index.js";
3
+ import { Machine, MachinesListByResourceGroupOptionalParams, MachinesListBySubscriptionOptionalParams, MachinesDeleteOptionalParams, MachinesDeleteResponse, MachinesGetOptionalParams, MachinesGetResponse, MachinesAssessPatchesOptionalParams, MachinesAssessPatchesResponse, MachineInstallPatchesParameters, MachinesInstallPatchesOptionalParams, MachinesInstallPatchesResponse } from "../models/index.js";
4
4
  /** Interface representing a Machines. */
5
5
  export interface Machines {
6
6
  /**
@@ -22,7 +22,14 @@ export interface Machines {
22
22
  * @param machineName The name of the hybrid machine.
23
23
  * @param options The options parameters.
24
24
  */
25
- delete(resourceGroupName: string, machineName: string, options?: MachinesDeleteOptionalParams): Promise<void>;
25
+ beginDelete(resourceGroupName: string, machineName: string, options?: MachinesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MachinesDeleteResponse>, MachinesDeleteResponse>>;
26
+ /**
27
+ * The operation to delete a hybrid machine.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param machineName The name of the hybrid machine.
30
+ * @param options The options parameters.
31
+ */
32
+ beginDeleteAndWait(resourceGroupName: string, machineName: string, options?: MachinesDeleteOptionalParams): Promise<MachinesDeleteResponse>;
26
33
  /**
27
34
  * Retrieves information about the model view or the instance view of a hybrid machine.
28
35
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1 +1 @@
1
- {"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/machines.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,OAAO,EACP,yCAAyC,EACzC,wCAAwC,EACxC,4BAA4B,EAC5B,yBAAyB,E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AAC,EAC9C,8BAA8B,CAC/B,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,mBAAmB,EAAE,+BAA+B,EACpD,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
1
+ {"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/machines.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,OAAO,EACP,yCAAyC,EACzC,wCAAwC,EACxC,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,mCAAmC,EACnC,6BAA6B,EAC7B,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;OAIG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sBAAsB,CAAC,EACtC,sBAAsB,CACvB,CACF,CAAC;IACF;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,6BAA6B,CAAC,EAC7C,6BAA6B,CAC9B,CACF,CAAC;IACF;;;;;OAKG;IACH,yBAAyB,CACvB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,mBAAmB,EAAE,+BAA+B,EACpD,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,8BAA8B,CAAC,EAC9C,8BAA8B,CAC/B,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,mBAAmB,EAAE,+BAA+B,EACpD,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"machines.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/machines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n Machine,\n MachinesListByResourceGroupOptionalParams,\n MachinesListBySubscriptionOptionalParams,\n MachinesDeleteOptionalParams,\n MachinesGetOptionalParams,\n MachinesGetResponse,\n MachinesAssessPatchesOptionalParams,\n MachinesAssessPatchesResponse,\n MachineInstallPatchesParameters,\n MachinesInstallPatchesOptionalParams,\n MachinesInstallPatchesResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Machines. */\nexport interface Machines {\n /**\n * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Machine>;\n /**\n * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: MachinesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<Machine>;\n /**\n * The operation to delete a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Retrieves information about the model view or the instance view of a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesGetOptionalParams,\n ): Promise<MachinesGetResponse>;\n /**\n * The operation to assess patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param options The options parameters.\n */\n beginAssessPatches(\n resourceGroupName: string,\n name: string,\n options?: MachinesAssessPatchesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesAssessPatchesResponse>,\n MachinesAssessPatchesResponse\n >\n >;\n /**\n * The operation to assess patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param options The options parameters.\n */\n beginAssessPatchesAndWait(\n resourceGroupName: string,\n name: string,\n options?: MachinesAssessPatchesOptionalParams,\n ): Promise<MachinesAssessPatchesResponse>;\n /**\n * The operation to install patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param installPatchesInput Input for InstallPatches as directly received by the API\n * @param options The options parameters.\n */\n beginInstallPatches(\n resourceGroupName: string,\n name: string,\n installPatchesInput: MachineInstallPatchesParameters,\n options?: MachinesInstallPatchesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesInstallPatchesResponse>,\n MachinesInstallPatchesResponse\n >\n >;\n /**\n * The operation to install patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param installPatchesInput Input for InstallPatches as directly received by the API\n * @param options The options parameters.\n */\n beginInstallPatchesAndWait(\n resourceGroupName: string,\n name: string,\n installPatchesInput: MachineInstallPatchesParameters,\n options?: MachinesInstallPatchesOptionalParams,\n ): Promise<MachinesInstallPatchesResponse>;\n}\n"]}
1
+ {"version":3,"file":"machines.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/machines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n Machine,\n MachinesListByResourceGroupOptionalParams,\n MachinesListBySubscriptionOptionalParams,\n MachinesDeleteOptionalParams,\n MachinesDeleteResponse,\n MachinesGetOptionalParams,\n MachinesGetResponse,\n MachinesAssessPatchesOptionalParams,\n MachinesAssessPatchesResponse,\n MachineInstallPatchesParameters,\n MachinesInstallPatchesOptionalParams,\n MachinesInstallPatchesResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Machines. */\nexport interface Machines {\n /**\n * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: MachinesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Machine>;\n /**\n * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the\n * response to get the next page of hybrid machines.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: MachinesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<Machine>;\n /**\n * The operation to delete a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesDeleteResponse>,\n MachinesDeleteResponse\n >\n >;\n /**\n * The operation to delete a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesDeleteOptionalParams,\n ): Promise<MachinesDeleteResponse>;\n /**\n * Retrieves information about the model view or the instance view of a hybrid machine.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param machineName The name of the hybrid machine.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n machineName: string,\n options?: MachinesGetOptionalParams,\n ): Promise<MachinesGetResponse>;\n /**\n * The operation to assess patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param options The options parameters.\n */\n beginAssessPatches(\n resourceGroupName: string,\n name: string,\n options?: MachinesAssessPatchesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesAssessPatchesResponse>,\n MachinesAssessPatchesResponse\n >\n >;\n /**\n * The operation to assess patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param options The options parameters.\n */\n beginAssessPatchesAndWait(\n resourceGroupName: string,\n name: string,\n options?: MachinesAssessPatchesOptionalParams,\n ): Promise<MachinesAssessPatchesResponse>;\n /**\n * The operation to install patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param installPatchesInput Input for InstallPatches as directly received by the API\n * @param options The options parameters.\n */\n beginInstallPatches(\n resourceGroupName: string,\n name: string,\n installPatchesInput: MachineInstallPatchesParameters,\n options?: MachinesInstallPatchesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MachinesInstallPatchesResponse>,\n MachinesInstallPatchesResponse\n >\n >;\n /**\n * The operation to install patches on a hybrid machine identity in Azure.\n * @param resourceGroupName The name of the resource group.\n * @param name The name of the hybrid machine.\n * @param installPatchesInput Input for InstallPatches as directly received by the API\n * @param options The options parameters.\n */\n beginInstallPatchesAndWait(\n resourceGroupName: string,\n name: string,\n installPatchesInput: MachineInstallPatchesParameters,\n options?: MachinesInstallPatchesOptionalParams,\n ): Promise<MachinesInstallPatchesResponse>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGlF,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,cAAc,CAAC,CAAC;CAC/C"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,cAAc,EACd,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,cAAc,CAAC,CAAC;CAC/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { OperationValue, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Gets a list of hybrid compute operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<OperationValue>;\n}\n"]}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n OperationValue,\n OperationsListOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Gets a list of hybrid compute operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<OperationValue>;\n}\n"]}
@@ -1,12 +1,12 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
3
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
4
- import { Licenses, Machines, LicenseProfiles, MachineExtensions, ExtensionMetadata, Operations, NetworkProfileOperations, MachineRunCommands, Gateways, SettingsOperations, PrivateLinkScopes, PrivateLinkResources, PrivateEndpointConnections, NetworkSecurityPerimeterConfigurations } from "./operationsInterfaces/index.js";
5
- import { HybridComputeManagementClientOptionalParams, MachineExtensionUpgrade, UpgradeExtensionsOptionalParams } from "./models/index.js";
4
+ import { Licenses, Machines, LicenseProfiles, MachineExtensions, ExtensionMetadata, ExtensionMetadataV2, ExtensionTypeOperations, ExtensionPublisherOperations, Operations, NetworkProfileOperations, MachineRunCommands, Gateways, SettingsOperations, PrivateLinkScopes, PrivateLinkResources, PrivateEndpointConnections, NetworkSecurityPerimeterConfigurations } from "./operationsInterfaces/index.js";
5
+ import { HybridComputeManagementClientOptionalParams, MachineExtensionUpgrade, UpgradeExtensionsOptionalParams, SetupExtensionRequest, SetupExtensionsOptionalParams, SetupExtensionsResponse } from "./models/index.js";
6
6
  export declare class HybridComputeManagementClient extends coreClient.ServiceClient {
7
7
  $host: string;
8
8
  apiVersion: string;
9
- subscriptionId: string;
9
+ subscriptionId?: string;
10
10
  /**
11
11
  * Initializes a new instance of the HybridComputeManagementClient class.
12
12
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -14,6 +14,7 @@ export declare class HybridComputeManagementClient extends coreClient.ServiceCli
14
14
  * @param options The parameter options
15
15
  */
16
16
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: HybridComputeManagementClientOptionalParams);
17
+ constructor(credentials: coreAuth.TokenCredential, options?: HybridComputeManagementClientOptionalParams);
17
18
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
18
19
  private addCustomApiVersionPolicy;
19
20
  /**
@@ -32,11 +33,30 @@ export declare class HybridComputeManagementClient extends coreClient.ServiceCli
32
33
  * @param options The options parameters.
33
34
  */
34
35
  beginUpgradeExtensionsAndWait(resourceGroupName: string, machineName: string, extensionUpgradeParameters: MachineExtensionUpgrade, options?: UpgradeExtensionsOptionalParams): Promise<void>;
36
+ /**
37
+ * The operation to Setup Machine Extensions.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
+ * @param machineName The name of the hybrid machine.
40
+ * @param extensions Parameters supplied to the Setup Extensions operation.
41
+ * @param options The options parameters.
42
+ */
43
+ beginSetupExtensions(resourceGroupName: string, machineName: string, extensions: SetupExtensionRequest, options?: SetupExtensionsOptionalParams): Promise<SimplePollerLike<OperationState<SetupExtensionsResponse>, SetupExtensionsResponse>>;
44
+ /**
45
+ * The operation to Setup Machine Extensions.
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param machineName The name of the hybrid machine.
48
+ * @param extensions Parameters supplied to the Setup Extensions operation.
49
+ * @param options The options parameters.
50
+ */
51
+ beginSetupExtensionsAndWait(resourceGroupName: string, machineName: string, extensions: SetupExtensionRequest, options?: SetupExtensionsOptionalParams): Promise<SetupExtensionsResponse>;
35
52
  licenses: Licenses;
36
53
  machines: Machines;
37
54
  licenseProfiles: LicenseProfiles;
38
55
  machineExtensions: MachineExtensions;
39
56
  extensionMetadata: ExtensionMetadata;
57
+ extensionMetadataV2: ExtensionMetadataV2;
58
+ extensionTypeOperations: ExtensionTypeOperations;
59
+ extensionPublisherOperations: ExtensionPublisherOperations;
40
60
  operations: Operations;
41
61
  networkProfileOperations: NetworkProfileOperations;
42
62
  machineRunCommands: MachineRunCommands;
@@ -1 +1 @@
1
- {"version":3,"file":"hybridComputeManagementClient.d.ts","sourceRoot":"","sources":["../../src/hybridComputeManagementCl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EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,eAAe,CAAC;IACjC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,UAAU,EAAE,UAAU,CAAC;IACvB,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,QAAQ,EAAE,QAAQ,CAAC;IACnB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,sCAAsC,EAAE,sCAAsC,CAAC;CAChF"}
1
+ {"version":3,"file":"hybridComputeManagementClient.d.ts","sourceRoot":"","sources":["../../src/hybridComputeManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAqBzB,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,4BAA4B,EAC5B,UAAU,EACV,wBAAwB,EACxB,kBAAkB,EAClB,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,0BAA0B,EAC1B,sCAAsC,EACvC,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,2CAA2C,EAC3C,uBAAuB,EACvB,+BAA+B,EAC/B,qBAAqB,EACrB,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB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