@azure/arm-hybridcompute 2.1.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -85
  4. package/dist/index.js +3565 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.d.ts +2 -0
  9. package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.js +40 -0
  11. package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.js.map +1 -0
  12. package/dist-esm/samples-dev/createOrUpdateAMachineExtension.d.ts +2 -0
  13. package/dist-esm/samples-dev/createOrUpdateAMachineExtension.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createOrUpdateAMachineExtension.js +42 -0
  15. package/dist-esm/samples-dev/createOrUpdateAMachineExtension.js.map +1 -0
  16. package/dist-esm/samples-dev/deleteAMachine.d.ts +2 -0
  17. package/dist-esm/samples-dev/deleteAMachine.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/deleteAMachine.js +31 -0
  19. package/dist-esm/samples-dev/deleteAMachine.js.map +1 -0
  20. package/dist-esm/samples-dev/deleteAMachineExtension.d.ts +2 -0
  21. package/dist-esm/samples-dev/deleteAMachineExtension.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/deleteAMachineExtension.js +32 -0
  23. package/dist-esm/samples-dev/deleteAMachineExtension.js.map +1 -0
  24. package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.d.ts +2 -0
  25. package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.js +32 -0
  27. package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.js.map +1 -0
  28. package/dist-esm/samples-dev/getAllMachineExtensions.d.ts +2 -0
  29. package/dist-esm/samples-dev/getAllMachineExtensions.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/getAllMachineExtensions.js +45 -0
  31. package/dist-esm/samples-dev/getAllMachineExtensions.js.map +1 -0
  32. package/dist-esm/samples-dev/getMachine.d.ts +2 -0
  33. package/dist-esm/samples-dev/getMachine.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/getMachine.js +31 -0
  35. package/dist-esm/samples-dev/getMachine.js.map +1 -0
  36. package/dist-esm/samples-dev/getMachineExtension.d.ts +2 -0
  37. package/dist-esm/samples-dev/getMachineExtension.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/getMachineExtension.js +32 -0
  39. package/dist-esm/samples-dev/getMachineExtension.js.map +1 -0
  40. package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.d.ts +2 -0
  41. package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.js +45 -0
  43. package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.js.map +1 -0
  44. package/dist-esm/samples-dev/getsPrivateEndpointConnection.d.ts +2 -0
  45. package/dist-esm/samples-dev/getsPrivateEndpointConnection.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/getsPrivateEndpointConnection.js +32 -0
  47. package/dist-esm/samples-dev/getsPrivateEndpointConnection.js.map +1 -0
  48. package/dist-esm/samples-dev/listMachinesByResourceGroup.d.ts +2 -0
  49. package/dist-esm/samples-dev/listMachinesByResourceGroup.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/listMachinesByResourceGroup.js +43 -0
  51. package/dist-esm/samples-dev/listMachinesByResourceGroup.js.map +1 -0
  52. package/dist-esm/samples-dev/privateLinkScopeCreate.d.ts +2 -0
  53. package/dist-esm/samples-dev/privateLinkScopeCreate.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/privateLinkScopeCreate.js +32 -0
  55. package/dist-esm/samples-dev/privateLinkScopeCreate.js.map +1 -0
  56. package/dist-esm/samples-dev/privateLinkScopeGet.d.ts +2 -0
  57. package/dist-esm/samples-dev/privateLinkScopeGet.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/privateLinkScopeGet.js +31 -0
  59. package/dist-esm/samples-dev/privateLinkScopeGet.js.map +1 -0
  60. package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.d.ts +2 -0
  61. package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.js +44 -0
  63. package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.js.map +1 -0
  64. package/dist-esm/samples-dev/privateLinkScopeUpdate.d.ts +2 -0
  65. package/dist-esm/samples-dev/privateLinkScopeUpdate.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/privateLinkScopeUpdate.js +35 -0
  67. package/dist-esm/samples-dev/privateLinkScopeUpdate.js.map +1 -0
  68. package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.d.ts +2 -0
  69. package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.js +34 -0
  71. package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.js.map +1 -0
  72. package/dist-esm/samples-dev/privateLinkScopesDelete.d.ts +2 -0
  73. package/dist-esm/samples-dev/privateLinkScopesDelete.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/privateLinkScopesDelete.js +31 -0
  75. package/dist-esm/samples-dev/privateLinkScopesDelete.js.map +1 -0
  76. package/dist-esm/samples-dev/privateLinkScopesListJson.d.ts +2 -0
  77. package/dist-esm/samples-dev/privateLinkScopesListJson.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/privateLinkScopesListJson.js +43 -0
  79. package/dist-esm/samples-dev/privateLinkScopesListJson.js.map +1 -0
  80. package/dist-esm/samples-dev/upgradeMachineExtensions.d.ts +2 -0
  81. package/dist-esm/samples-dev/upgradeMachineExtensions.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/upgradeMachineExtensions.js +37 -0
  83. package/dist-esm/samples-dev/upgradeMachineExtensions.js.map +1 -0
  84. package/dist-esm/src/hybridComputeManagementClient.d.ts +40 -0
  85. package/dist-esm/src/hybridComputeManagementClient.d.ts.map +1 -0
  86. package/dist-esm/src/hybridComputeManagementClient.js +138 -0
  87. package/dist-esm/src/hybridComputeManagementClient.js.map +1 -0
  88. package/dist-esm/src/index.d.ts +5 -0
  89. package/dist-esm/src/index.d.ts.map +1 -0
  90. package/dist-esm/src/index.js +12 -0
  91. package/dist-esm/src/index.js.map +1 -0
  92. package/dist-esm/src/lroImpl.d.ts +16 -0
  93. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  94. package/dist-esm/src/lroImpl.js +29 -0
  95. package/dist-esm/src/lroImpl.js.map +1 -0
  96. package/dist-esm/src/models/index.d.ts +875 -0
  97. package/dist-esm/src/models/index.d.ts.map +1 -0
  98. package/dist-esm/src/models/index.js +43 -0
  99. package/dist-esm/src/models/index.js.map +1 -0
  100. package/dist-esm/src/models/mappers.d.ts +45 -0
  101. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  102. package/{esm → dist-esm/src}/models/mappers.js +829 -555
  103. package/dist-esm/src/models/mappers.js.map +1 -0
  104. package/dist-esm/src/models/parameters.d.ts +25 -0
  105. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  106. package/dist-esm/src/models/parameters.js +219 -0
  107. package/dist-esm/src/models/parameters.js.map +1 -0
  108. package/dist-esm/src/operations/index.d.ts +7 -0
  109. package/dist-esm/src/operations/index.d.ts.map +1 -0
  110. package/dist-esm/src/operations/index.js +14 -0
  111. package/dist-esm/src/operations/index.js.map +1 -0
  112. package/dist-esm/src/operations/machineExtensions.d.ts +99 -0
  113. package/dist-esm/src/operations/machineExtensions.d.ts.map +1 -0
  114. package/dist-esm/src/operations/machineExtensions.js +429 -0
  115. package/dist-esm/src/operations/machineExtensions.js.map +1 -0
  116. package/dist-esm/src/operations/machines.d.ts +71 -0
  117. package/dist-esm/src/operations/machines.d.ts.map +1 -0
  118. package/dist-esm/src/operations/machines.js +294 -0
  119. package/dist-esm/src/operations/machines.js.map +1 -0
  120. package/dist-esm/src/operations/operations.d.ts +26 -0
  121. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  122. package/dist-esm/src/operations/operations.js +90 -0
  123. package/dist-esm/src/operations/operations.js.map +1 -0
  124. package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
  125. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  126. package/dist-esm/src/operations/privateEndpointConnections.js +337 -0
  127. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  128. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  129. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  130. package/dist-esm/src/operations/privateLinkResources.js +169 -0
  131. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  132. package/dist-esm/src/operations/privateLinkScopes.d.ts +108 -0
  133. package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -0
  134. package/dist-esm/src/operations/privateLinkScopes.js +466 -0
  135. package/dist-esm/src/operations/privateLinkScopes.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
  137. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/index.js +14 -0
  139. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts +74 -0
  141. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/machineExtensions.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/machineExtensions.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/machines.d.ts +33 -0
  145. package/dist-esm/src/operationsInterfaces/machines.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/machines.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/machines.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  149. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  153. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  157. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts +72 -0
  161. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/privateLinkScopes.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/privateLinkScopes.js.map +1 -0
  164. package/dist-esm/test/sampleTest.d.ts +2 -0
  165. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  166. package/dist-esm/test/sampleTest.js +40 -0
  167. package/dist-esm/test/sampleTest.js.map +1 -0
  168. package/package.json +80 -33
  169. package/review/arm-hybridcompute.api.md +708 -0
  170. package/rollup.config.js +181 -30
  171. package/src/hybridComputeManagementClient.ts +204 -37
  172. package/src/index.ts +12 -0
  173. package/src/lroImpl.ts +34 -0
  174. package/src/models/index.ts +744 -786
  175. package/src/models/mappers.ts +836 -576
  176. package/src/models/parameters.ts +192 -33
  177. package/src/operations/index.ts +6 -5
  178. package/src/operations/machineExtensions.ts +484 -275
  179. package/src/operations/machines.ts +240 -225
  180. package/src/operations/operations.ts +66 -42
  181. package/src/operations/privateEndpointConnections.ts +483 -0
  182. package/src/operations/privateLinkResources.ts +233 -0
  183. package/src/operations/privateLinkScopes.ts +599 -0
  184. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +7 -6
  185. package/src/operationsInterfaces/machineExtensions.ts +147 -0
  186. package/src/operationsInterfaces/machines.ts +62 -0
  187. package/src/operationsInterfaces/operations.ts +22 -0
  188. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  189. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  190. package/src/operationsInterfaces/privateLinkScopes.ts +132 -0
  191. package/tsconfig.json +5 -4
  192. package/types/arm-hybridcompute.d.ts +1280 -0
  193. package/types/tsdoc-metadata.json +11 -0
  194. package/dist/arm-hybridcompute.js +0 -1971
  195. package/dist/arm-hybridcompute.js.map +0 -1
  196. package/dist/arm-hybridcompute.min.js +0 -1
  197. package/dist/arm-hybridcompute.min.js.map +0 -1
  198. package/esm/hybridComputeManagementClient.d.ts +0 -27
  199. package/esm/hybridComputeManagementClient.d.ts.map +0 -1
  200. package/esm/hybridComputeManagementClient.js +0 -41
  201. package/esm/hybridComputeManagementClient.js.map +0 -1
  202. package/esm/hybridComputeManagementClientContext.d.ts +0 -23
  203. package/esm/hybridComputeManagementClientContext.d.ts.map +0 -1
  204. package/esm/hybridComputeManagementClientContext.js +0 -62
  205. package/esm/hybridComputeManagementClientContext.js.map +0 -1
  206. package/esm/models/index.d.ts +0 -971
  207. package/esm/models/index.d.ts.map +0 -1
  208. package/esm/models/index.js +0 -8
  209. package/esm/models/index.js.map +0 -1
  210. package/esm/models/machineExtensionsMappers.d.ts +0 -2
  211. package/esm/models/machineExtensionsMappers.d.ts.map +0 -1
  212. package/esm/models/machineExtensionsMappers.js +0 -9
  213. package/esm/models/machineExtensionsMappers.js.map +0 -1
  214. package/esm/models/machinesMappers.d.ts +0 -2
  215. package/esm/models/machinesMappers.d.ts.map +0 -1
  216. package/esm/models/machinesMappers.js +0 -9
  217. package/esm/models/machinesMappers.js.map +0 -1
  218. package/esm/models/mappers.d.ts +0 -32
  219. package/esm/models/mappers.d.ts.map +0 -1
  220. package/esm/models/mappers.js.map +0 -1
  221. package/esm/models/operationsMappers.d.ts +0 -2
  222. package/esm/models/operationsMappers.d.ts.map +0 -1
  223. package/esm/models/operationsMappers.js +0 -9
  224. package/esm/models/operationsMappers.js.map +0 -1
  225. package/esm/models/parameters.d.ts +0 -10
  226. package/esm/models/parameters.d.ts.map +0 -1
  227. package/esm/models/parameters.js +0 -93
  228. package/esm/models/parameters.js.map +0 -1
  229. package/esm/operations/index.d.ts +0 -4
  230. package/esm/operations/index.d.ts.map +0 -1
  231. package/esm/operations/index.js.map +0 -1
  232. package/esm/operations/machineExtensions.d.ts +0 -135
  233. package/esm/operations/machineExtensions.d.ts.map +0 -1
  234. package/esm/operations/machineExtensions.js +0 -294
  235. package/esm/operations/machineExtensions.js.map +0 -1
  236. package/esm/operations/machines.d.ts +0 -128
  237. package/esm/operations/machines.d.ts.map +0 -1
  238. package/esm/operations/machines.js +0 -197
  239. package/esm/operations/machines.js.map +0 -1
  240. package/esm/operations/operations.d.ts +0 -28
  241. package/esm/operations/operations.d.ts.map +0 -1
  242. package/esm/operations/operations.js +0 -51
  243. package/esm/operations/operations.js.map +0 -1
  244. package/src/hybridComputeManagementClientContext.ts +0 -69
  245. package/src/models/machineExtensionsMappers.ts +0 -31
  246. package/src/models/machinesMappers.ts +0 -28
  247. package/src/models/operationsMappers.ts +0 -14
@@ -0,0 +1,147 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ MachineExtension,
13
+ MachineExtensionsListOptionalParams,
14
+ MachineExtensionsCreateOrUpdateOptionalParams,
15
+ MachineExtensionsCreateOrUpdateResponse,
16
+ MachineExtensionUpdate,
17
+ MachineExtensionsUpdateOptionalParams,
18
+ MachineExtensionsUpdateResponse,
19
+ MachineExtensionsDeleteOptionalParams,
20
+ MachineExtensionsGetOptionalParams,
21
+ MachineExtensionsGetResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a MachineExtensions. */
26
+ export interface MachineExtensions {
27
+ /**
28
+ * The operation to get all extensions of a non-Azure machine
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param machineName The name of the machine containing the extension.
31
+ * @param options The options parameters.
32
+ */
33
+ list(
34
+ resourceGroupName: string,
35
+ machineName: string,
36
+ options?: MachineExtensionsListOptionalParams
37
+ ): PagedAsyncIterableIterator<MachineExtension>;
38
+ /**
39
+ * The operation to create or update the extension.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param machineName The name of the machine where the extension should be created or updated.
42
+ * @param extensionName The name of the machine extension.
43
+ * @param extensionParameters Parameters supplied to the Create Machine Extension operation.
44
+ * @param options The options parameters.
45
+ */
46
+ beginCreateOrUpdate(
47
+ resourceGroupName: string,
48
+ machineName: string,
49
+ extensionName: string,
50
+ extensionParameters: MachineExtension,
51
+ options?: MachineExtensionsCreateOrUpdateOptionalParams
52
+ ): Promise<
53
+ PollerLike<
54
+ PollOperationState<MachineExtensionsCreateOrUpdateResponse>,
55
+ MachineExtensionsCreateOrUpdateResponse
56
+ >
57
+ >;
58
+ /**
59
+ * The operation to create or update the extension.
60
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
61
+ * @param machineName The name of the machine where the extension should be created or updated.
62
+ * @param extensionName The name of the machine extension.
63
+ * @param extensionParameters Parameters supplied to the Create Machine Extension operation.
64
+ * @param options The options parameters.
65
+ */
66
+ beginCreateOrUpdateAndWait(
67
+ resourceGroupName: string,
68
+ machineName: string,
69
+ extensionName: string,
70
+ extensionParameters: MachineExtension,
71
+ options?: MachineExtensionsCreateOrUpdateOptionalParams
72
+ ): Promise<MachineExtensionsCreateOrUpdateResponse>;
73
+ /**
74
+ * The operation to create or update the extension.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param machineName The name of the machine where the extension should be created or updated.
77
+ * @param extensionName The name of the machine extension.
78
+ * @param extensionParameters Parameters supplied to the Create Machine Extension operation.
79
+ * @param options The options parameters.
80
+ */
81
+ beginUpdate(
82
+ resourceGroupName: string,
83
+ machineName: string,
84
+ extensionName: string,
85
+ extensionParameters: MachineExtensionUpdate,
86
+ options?: MachineExtensionsUpdateOptionalParams
87
+ ): Promise<
88
+ PollerLike<
89
+ PollOperationState<MachineExtensionsUpdateResponse>,
90
+ MachineExtensionsUpdateResponse
91
+ >
92
+ >;
93
+ /**
94
+ * The operation to create or update the extension.
95
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
96
+ * @param machineName The name of the machine where the extension should be created or updated.
97
+ * @param extensionName The name of the machine extension.
98
+ * @param extensionParameters Parameters supplied to the Create Machine Extension operation.
99
+ * @param options The options parameters.
100
+ */
101
+ beginUpdateAndWait(
102
+ resourceGroupName: string,
103
+ machineName: string,
104
+ extensionName: string,
105
+ extensionParameters: MachineExtensionUpdate,
106
+ options?: MachineExtensionsUpdateOptionalParams
107
+ ): Promise<MachineExtensionsUpdateResponse>;
108
+ /**
109
+ * The operation to delete the extension.
110
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
111
+ * @param machineName The name of the machine where the extension should be deleted.
112
+ * @param extensionName The name of the machine extension.
113
+ * @param options The options parameters.
114
+ */
115
+ beginDelete(
116
+ resourceGroupName: string,
117
+ machineName: string,
118
+ extensionName: string,
119
+ options?: MachineExtensionsDeleteOptionalParams
120
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
121
+ /**
122
+ * The operation to delete the extension.
123
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
124
+ * @param machineName The name of the machine where the extension should be deleted.
125
+ * @param extensionName The name of the machine extension.
126
+ * @param options The options parameters.
127
+ */
128
+ beginDeleteAndWait(
129
+ resourceGroupName: string,
130
+ machineName: string,
131
+ extensionName: string,
132
+ options?: MachineExtensionsDeleteOptionalParams
133
+ ): Promise<void>;
134
+ /**
135
+ * The operation to get the extension.
136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
+ * @param machineName The name of the machine containing the extension.
138
+ * @param extensionName The name of the machine extension.
139
+ * @param options The options parameters.
140
+ */
141
+ get(
142
+ resourceGroupName: string,
143
+ machineName: string,
144
+ extensionName: string,
145
+ options?: MachineExtensionsGetOptionalParams
146
+ ): Promise<MachineExtensionsGetResponse>;
147
+ }
@@ -0,0 +1,62 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Machine,
12
+ MachinesListByResourceGroupOptionalParams,
13
+ MachinesListBySubscriptionOptionalParams,
14
+ MachinesDeleteOptionalParams,
15
+ MachinesGetOptionalParams,
16
+ MachinesGetResponse
17
+ } from "../models";
18
+
19
+ /// <reference lib="esnext.asynciterable" />
20
+ /** Interface representing a Machines. */
21
+ export interface Machines {
22
+ /**
23
+ * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the
24
+ * response to get the next page of hybrid machines.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param options The options parameters.
27
+ */
28
+ listByResourceGroup(
29
+ resourceGroupName: string,
30
+ options?: MachinesListByResourceGroupOptionalParams
31
+ ): PagedAsyncIterableIterator<Machine>;
32
+ /**
33
+ * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the
34
+ * response to get the next page of hybrid machines.
35
+ * @param options The options parameters.
36
+ */
37
+ listBySubscription(
38
+ options?: MachinesListBySubscriptionOptionalParams
39
+ ): PagedAsyncIterableIterator<Machine>;
40
+ /**
41
+ * The operation to remove a hybrid machine identity in Azure.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param machineName The name of the hybrid machine.
44
+ * @param options The options parameters.
45
+ */
46
+ delete(
47
+ resourceGroupName: string,
48
+ machineName: string,
49
+ options?: MachinesDeleteOptionalParams
50
+ ): Promise<void>;
51
+ /**
52
+ * Retrieves information about the model view or the instance view of a hybrid machine.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param machineName The name of the hybrid machine.
55
+ * @param options The options parameters.
56
+ */
57
+ get(
58
+ resourceGroupName: string,
59
+ machineName: string,
60
+ options?: MachinesGetOptionalParams
61
+ ): Promise<MachinesGetResponse>;
62
+ }
@@ -0,0 +1,22 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { OperationValue, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Gets a list of hybrid compute operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<OperationValue>;
22
+ }
@@ -0,0 +1,109 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ PrivateEndpointConnection,
13
+ PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,
14
+ PrivateEndpointConnectionsGetOptionalParams,
15
+ PrivateEndpointConnectionsGetResponse,
16
+ PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
17
+ PrivateEndpointConnectionsCreateOrUpdateResponse,
18
+ PrivateEndpointConnectionsDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a PrivateEndpointConnections. */
23
+ export interface PrivateEndpointConnections {
24
+ /**
25
+ * Gets all private endpoint connections on a private link scope.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
28
+ * @param options The options parameters.
29
+ */
30
+ listByPrivateLinkScope(
31
+ resourceGroupName: string,
32
+ scopeName: string,
33
+ options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
34
+ ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
35
+ /**
36
+ * Gets a private endpoint connection.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
39
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
40
+ * @param options The options parameters.
41
+ */
42
+ get(
43
+ resourceGroupName: string,
44
+ scopeName: string,
45
+ privateEndpointConnectionName: string,
46
+ options?: PrivateEndpointConnectionsGetOptionalParams
47
+ ): Promise<PrivateEndpointConnectionsGetResponse>;
48
+ /**
49
+ * Approve or reject a private endpoint connection with a given name.
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
52
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
53
+ * @param parameters A private endpoint connection
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreateOrUpdate(
57
+ resourceGroupName: string,
58
+ scopeName: string,
59
+ privateEndpointConnectionName: string,
60
+ parameters: PrivateEndpointConnection,
61
+ options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
62
+ ): Promise<
63
+ PollerLike<
64
+ PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
65
+ PrivateEndpointConnectionsCreateOrUpdateResponse
66
+ >
67
+ >;
68
+ /**
69
+ * Approve or reject a private endpoint connection with a given name.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
72
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
73
+ * @param parameters A private endpoint connection
74
+ * @param options The options parameters.
75
+ */
76
+ beginCreateOrUpdateAndWait(
77
+ resourceGroupName: string,
78
+ scopeName: string,
79
+ privateEndpointConnectionName: string,
80
+ parameters: PrivateEndpointConnection,
81
+ options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
82
+ ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
83
+ /**
84
+ * Deletes a private endpoint connection with a given name.
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
87
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
88
+ * @param options The options parameters.
89
+ */
90
+ beginDelete(
91
+ resourceGroupName: string,
92
+ scopeName: string,
93
+ privateEndpointConnectionName: string,
94
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
95
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
96
+ /**
97
+ * Deletes a private endpoint connection with a given name.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
100
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
101
+ * @param options The options parameters.
102
+ */
103
+ beginDeleteAndWait(
104
+ resourceGroupName: string,
105
+ scopeName: string,
106
+ privateEndpointConnectionName: string,
107
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
108
+ ): Promise<void>;
109
+ }
@@ -0,0 +1,44 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ PrivateLinkResource,
12
+ PrivateLinkResourcesListByPrivateLinkScopeOptionalParams,
13
+ PrivateLinkResourcesGetOptionalParams,
14
+ PrivateLinkResourcesGetResponse
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a PrivateLinkResources. */
19
+ export interface PrivateLinkResources {
20
+ /**
21
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
24
+ * @param options The options parameters.
25
+ */
26
+ listByPrivateLinkScope(
27
+ resourceGroupName: string,
28
+ scopeName: string,
29
+ options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams
30
+ ): PagedAsyncIterableIterator<PrivateLinkResource>;
31
+ /**
32
+ * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
35
+ * @param groupName The name of the private link resource.
36
+ * @param options The options parameters.
37
+ */
38
+ get(
39
+ resourceGroupName: string,
40
+ scopeName: string,
41
+ groupName: string,
42
+ options?: PrivateLinkResourcesGetOptionalParams
43
+ ): Promise<PrivateLinkResourcesGetResponse>;
44
+ }
@@ -0,0 +1,132 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ HybridComputePrivateLinkScope,
13
+ PrivateLinkScopesListOptionalParams,
14
+ PrivateLinkScopesListByResourceGroupOptionalParams,
15
+ PrivateLinkScopesDeleteOptionalParams,
16
+ PrivateLinkScopesGetOptionalParams,
17
+ PrivateLinkScopesGetResponse,
18
+ PrivateLinkScopesCreateOrUpdateOptionalParams,
19
+ PrivateLinkScopesCreateOrUpdateResponse,
20
+ TagsResource,
21
+ PrivateLinkScopesUpdateTagsOptionalParams,
22
+ PrivateLinkScopesUpdateTagsResponse,
23
+ PrivateLinkScopesGetValidationDetailsOptionalParams,
24
+ PrivateLinkScopesGetValidationDetailsResponse,
25
+ PrivateLinkScopesGetValidationDetailsForMachineOptionalParams,
26
+ PrivateLinkScopesGetValidationDetailsForMachineResponse
27
+ } from "../models";
28
+
29
+ /// <reference lib="esnext.asynciterable" />
30
+ /** Interface representing a PrivateLinkScopes. */
31
+ export interface PrivateLinkScopes {
32
+ /**
33
+ * Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
34
+ * @param options The options parameters.
35
+ */
36
+ list(
37
+ options?: PrivateLinkScopesListOptionalParams
38
+ ): PagedAsyncIterableIterator<HybridComputePrivateLinkScope>;
39
+ /**
40
+ * Gets a list of Azure Arc PrivateLinkScopes within a resource group.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param options The options parameters.
43
+ */
44
+ listByResourceGroup(
45
+ resourceGroupName: string,
46
+ options?: PrivateLinkScopesListByResourceGroupOptionalParams
47
+ ): PagedAsyncIterableIterator<HybridComputePrivateLinkScope>;
48
+ /**
49
+ * Deletes a Azure Arc PrivateLinkScope.
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
52
+ * @param options The options parameters.
53
+ */
54
+ beginDelete(
55
+ resourceGroupName: string,
56
+ scopeName: string,
57
+ options?: PrivateLinkScopesDeleteOptionalParams
58
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
59
+ /**
60
+ * Deletes a Azure Arc PrivateLinkScope.
61
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
62
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
63
+ * @param options The options parameters.
64
+ */
65
+ beginDeleteAndWait(
66
+ resourceGroupName: string,
67
+ scopeName: string,
68
+ options?: PrivateLinkScopesDeleteOptionalParams
69
+ ): Promise<void>;
70
+ /**
71
+ * Returns a Azure Arc PrivateLinkScope.
72
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
73
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
74
+ * @param options The options parameters.
75
+ */
76
+ get(
77
+ resourceGroupName: string,
78
+ scopeName: string,
79
+ options?: PrivateLinkScopesGetOptionalParams
80
+ ): Promise<PrivateLinkScopesGetResponse>;
81
+ /**
82
+ * Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for
83
+ * InstrumentationKey nor AppId in the Put operation.
84
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
85
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
86
+ * @param parameters Properties that need to be specified to create or update a Azure Arc for Servers
87
+ * and Clusters PrivateLinkScope.
88
+ * @param options The options parameters.
89
+ */
90
+ createOrUpdate(
91
+ resourceGroupName: string,
92
+ scopeName: string,
93
+ parameters: HybridComputePrivateLinkScope,
94
+ options?: PrivateLinkScopesCreateOrUpdateOptionalParams
95
+ ): Promise<PrivateLinkScopesCreateOrUpdateResponse>;
96
+ /**
97
+ * Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param scopeName The name of the Azure Arc PrivateLinkScope resource.
100
+ * @param privateLinkScopeTags Updated tag information to set into the PrivateLinkScope instance.
101
+ * @param options The options parameters.
102
+ */
103
+ updateTags(
104
+ resourceGroupName: string,
105
+ scopeName: string,
106
+ privateLinkScopeTags: TagsResource,
107
+ options?: PrivateLinkScopesUpdateTagsOptionalParams
108
+ ): Promise<PrivateLinkScopesUpdateTagsResponse>;
109
+ /**
110
+ * Returns a Azure Arc PrivateLinkScope's validation details.
111
+ * @param location The location of the target resource.
112
+ * @param privateLinkScopeId The id (Guid) of the Azure Arc PrivateLinkScope resource.
113
+ * @param options The options parameters.
114
+ */
115
+ getValidationDetails(
116
+ location: string,
117
+ privateLinkScopeId: string,
118
+ options?: PrivateLinkScopesGetValidationDetailsOptionalParams
119
+ ): Promise<PrivateLinkScopesGetValidationDetailsResponse>;
120
+ /**
121
+ * Returns a Azure Arc PrivateLinkScope's validation details for a given machine.
122
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
123
+ * @param machineName The name of the target machine to get the private link scope validation details
124
+ * for.
125
+ * @param options The options parameters.
126
+ */
127
+ getValidationDetailsForMachine(
128
+ resourceGroupName: string,
129
+ machineName: string,
130
+ options?: PrivateLinkScopesGetValidationDetailsForMachineOptionalParams
131
+ ): Promise<PrivateLinkScopesGetValidationDetailsForMachineResponse>;
132
+ }
package/tsconfig.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "module": "es6",
4
4
  "moduleResolution": "node",
5
5
  "strict": true,
6
- "target": "es5",
6
+ "target": "es6",
7
7
  "sourceMap": true,
8
8
  "declarationMap": true,
9
9
  "esModuleInterop": true,
@@ -11,9 +11,10 @@
11
11
  "forceConsistentCasingInFileNames": true,
12
12
  "lib": ["es6", "dom"],
13
13
  "declaration": true,
14
- "outDir": "./esm",
15
- "importHelpers": true
14
+ "outDir": "./dist-esm",
15
+ "importHelpers": true,
16
+ "paths": { "@azure/arm-hybridcompute": ["./src/index"] }
16
17
  },
17
- "include": ["./src/**/*.ts"],
18
+ "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"],
18
19
  "exclude": ["node_modules"]
19
20
  }