@azure/arm-resourceconnector 1.0.0-alpha.20241118.1 → 1.0.0-alpha.20250220.1

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 (263) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/dist/browser/index.d.ts +5 -0
  5. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  9. package/{dist-esm/src → dist/browser}/lroImpl.js +0 -7
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/dist/browser/models/mappers.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/appliances.d.ts +3 -3
  16. package/dist/browser/operations/appliances.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/appliances.js +79 -87
  18. package/dist/browser/operations/appliances.js.map +1 -0
  19. package/dist/browser/operations/index.d.ts +2 -0
  20. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  21. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +1 -1
  22. package/dist/browser/operations/index.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operationsInterfaces/appliances.d.ts +1 -1
  24. package/dist/browser/operationsInterfaces/appliances.d.ts.map +1 -0
  25. package/dist/browser/operationsInterfaces/appliances.js.map +1 -0
  26. package/dist/browser/operationsInterfaces/index.d.ts +2 -0
  27. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  28. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +1 -1
  29. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  30. package/dist/browser/package.json +3 -0
  31. package/dist/browser/pagingHelper.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/resourceConnectorManagementClient.d.ts +2 -2
  33. package/dist/browser/resourceConnectorManagementClient.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/resourceConnectorManagementClient.js +15 -18
  35. package/dist/browser/resourceConnectorManagementClient.js.map +1 -0
  36. package/dist/commonjs/index.d.ts +5 -0
  37. package/dist/commonjs/index.d.ts.map +1 -0
  38. package/dist/commonjs/index.js +19 -0
  39. package/dist/commonjs/index.js.map +1 -0
  40. package/dist/commonjs/lroImpl.d.ts +11 -0
  41. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  42. package/dist/commonjs/lroImpl.js +17 -0
  43. package/dist/commonjs/lroImpl.js.map +1 -0
  44. package/{types/arm-resourceconnector.d.ts → dist/commonjs/models/index.d.ts} +715 -911
  45. package/dist/commonjs/models/index.d.ts.map +1 -0
  46. package/dist/commonjs/models/index.js +135 -0
  47. package/dist/commonjs/models/index.js.map +1 -0
  48. package/dist/commonjs/models/mappers.d.ts +28 -0
  49. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  50. package/dist/commonjs/models/mappers.js +774 -0
  51. package/dist/commonjs/models/mappers.js.map +1 -0
  52. package/dist/commonjs/models/parameters.d.ts +13 -0
  53. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  54. package/dist/commonjs/models/parameters.js +127 -0
  55. package/dist/commonjs/models/parameters.js.map +1 -0
  56. package/dist/commonjs/operations/appliances.d.ts +149 -0
  57. package/dist/commonjs/operations/appliances.d.ts.map +1 -0
  58. package/dist/commonjs/operations/appliances.js +715 -0
  59. package/dist/commonjs/operations/appliances.js.map +1 -0
  60. package/dist/commonjs/operations/index.d.ts +2 -0
  61. package/dist/commonjs/operations/index.d.ts.map +1 -0
  62. package/dist/commonjs/operations/index.js +12 -0
  63. package/dist/commonjs/operations/index.js.map +1 -0
  64. package/dist/commonjs/operationsInterfaces/appliances.d.ts +98 -0
  65. package/dist/commonjs/operationsInterfaces/appliances.d.ts.map +1 -0
  66. package/dist/commonjs/operationsInterfaces/appliances.js +10 -0
  67. package/dist/commonjs/operationsInterfaces/appliances.js.map +1 -0
  68. package/dist/commonjs/operationsInterfaces/index.d.ts +2 -0
  69. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  70. package/dist/commonjs/operationsInterfaces/index.js +12 -0
  71. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  72. package/dist/commonjs/package.json +3 -0
  73. package/dist/commonjs/pagingHelper.d.ts +13 -0
  74. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  75. package/dist/commonjs/pagingHelper.js +36 -0
  76. package/dist/commonjs/pagingHelper.js.map +1 -0
  77. package/dist/commonjs/resourceConnectorManagementClient.d.ts +21 -0
  78. package/dist/commonjs/resourceConnectorManagementClient.d.ts.map +1 -0
  79. package/dist/commonjs/resourceConnectorManagementClient.js +100 -0
  80. package/dist/commonjs/resourceConnectorManagementClient.js.map +1 -0
  81. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  82. package/dist/esm/index.d.ts +5 -0
  83. package/dist/esm/index.d.ts.map +1 -0
  84. package/{src/index.ts → dist/esm/index.js} +5 -5
  85. package/dist/esm/index.js.map +1 -0
  86. package/dist/esm/lroImpl.d.ts +11 -0
  87. package/dist/esm/lroImpl.d.ts.map +1 -0
  88. package/dist/esm/lroImpl.js +14 -0
  89. package/dist/esm/lroImpl.js.map +1 -0
  90. package/dist/esm/models/index.d.ts +715 -0
  91. package/dist/esm/models/index.d.ts.map +1 -0
  92. package/dist/esm/models/index.js +132 -0
  93. package/dist/esm/models/index.js.map +1 -0
  94. package/dist/esm/models/mappers.d.ts +28 -0
  95. package/dist/esm/models/mappers.d.ts.map +1 -0
  96. package/dist/esm/models/mappers.js +771 -0
  97. package/dist/esm/models/mappers.js.map +1 -0
  98. package/dist/esm/models/parameters.d.ts +13 -0
  99. package/dist/esm/models/parameters.d.ts.map +1 -0
  100. package/dist/esm/models/parameters.js +124 -0
  101. package/dist/esm/models/parameters.js.map +1 -0
  102. package/dist/esm/operations/appliances.d.ts +149 -0
  103. package/dist/esm/operations/appliances.d.ts.map +1 -0
  104. package/dist/esm/operations/appliances.js +711 -0
  105. package/dist/esm/operations/appliances.js.map +1 -0
  106. package/dist/esm/operations/index.d.ts +2 -0
  107. package/dist/esm/operations/index.d.ts.map +1 -0
  108. package/dist/esm/operations/index.js +9 -0
  109. package/dist/esm/operations/index.js.map +1 -0
  110. package/dist/esm/operationsInterfaces/appliances.d.ts +98 -0
  111. package/dist/esm/operationsInterfaces/appliances.d.ts.map +1 -0
  112. package/{src/operations/index.ts → dist/esm/operationsInterfaces/appliances.js} +2 -2
  113. package/dist/esm/operationsInterfaces/appliances.js.map +1 -0
  114. package/dist/esm/operationsInterfaces/index.d.ts +2 -0
  115. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  116. package/dist/esm/operationsInterfaces/index.js +9 -0
  117. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  118. package/dist/esm/package.json +3 -0
  119. package/dist/esm/pagingHelper.d.ts +13 -0
  120. package/dist/esm/pagingHelper.d.ts.map +1 -0
  121. package/dist/esm/pagingHelper.js +32 -0
  122. package/dist/esm/pagingHelper.js.map +1 -0
  123. package/dist/esm/resourceConnectorManagementClient.d.ts +21 -0
  124. package/dist/esm/resourceConnectorManagementClient.d.ts.map +1 -0
  125. package/dist/esm/resourceConnectorManagementClient.js +95 -0
  126. package/dist/esm/resourceConnectorManagementClient.js.map +1 -0
  127. package/dist/react-native/index.d.ts +5 -0
  128. package/dist/react-native/index.d.ts.map +1 -0
  129. package/dist/react-native/index.js +13 -0
  130. package/dist/react-native/index.js.map +1 -0
  131. package/dist/react-native/lroImpl.d.ts +11 -0
  132. package/dist/react-native/lroImpl.d.ts.map +1 -0
  133. package/dist/react-native/lroImpl.js +14 -0
  134. package/dist/react-native/lroImpl.js.map +1 -0
  135. package/dist/react-native/models/index.d.ts +715 -0
  136. package/dist/react-native/models/index.d.ts.map +1 -0
  137. package/dist/react-native/models/index.js +132 -0
  138. package/dist/react-native/models/index.js.map +1 -0
  139. package/dist/react-native/models/mappers.d.ts +28 -0
  140. package/dist/react-native/models/mappers.d.ts.map +1 -0
  141. package/dist/react-native/models/mappers.js +771 -0
  142. package/dist/react-native/models/mappers.js.map +1 -0
  143. package/dist/react-native/models/parameters.d.ts +13 -0
  144. package/dist/react-native/models/parameters.d.ts.map +1 -0
  145. package/dist/react-native/models/parameters.js +124 -0
  146. package/dist/react-native/models/parameters.js.map +1 -0
  147. package/dist/react-native/operations/appliances.d.ts +149 -0
  148. package/dist/react-native/operations/appliances.d.ts.map +1 -0
  149. package/dist/react-native/operations/appliances.js +711 -0
  150. package/dist/react-native/operations/appliances.js.map +1 -0
  151. package/dist/react-native/operations/index.d.ts +2 -0
  152. package/dist/react-native/operations/index.d.ts.map +1 -0
  153. package/dist/react-native/operations/index.js +9 -0
  154. package/dist/react-native/operations/index.js.map +1 -0
  155. package/dist/react-native/operationsInterfaces/appliances.d.ts +98 -0
  156. package/dist/react-native/operationsInterfaces/appliances.d.ts.map +1 -0
  157. package/{src/operationsInterfaces/index.ts → dist/react-native/operationsInterfaces/appliances.js} +2 -2
  158. package/dist/react-native/operationsInterfaces/appliances.js.map +1 -0
  159. package/dist/react-native/operationsInterfaces/index.d.ts +2 -0
  160. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  161. package/dist/react-native/operationsInterfaces/index.js +9 -0
  162. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  163. package/dist/react-native/package.json +3 -0
  164. package/dist/react-native/pagingHelper.d.ts +13 -0
  165. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  166. package/dist/react-native/pagingHelper.js +32 -0
  167. package/dist/react-native/pagingHelper.js.map +1 -0
  168. package/dist/react-native/resourceConnectorManagementClient.d.ts +21 -0
  169. package/dist/react-native/resourceConnectorManagementClient.d.ts.map +1 -0
  170. package/dist/react-native/resourceConnectorManagementClient.js +95 -0
  171. package/dist/react-native/resourceConnectorManagementClient.js.map +1 -0
  172. package/package.json +68 -37
  173. package/dist/index.js +0 -1942
  174. package/dist/index.js.map +0 -1
  175. package/dist/index.min.js +0 -1
  176. package/dist/index.min.js.map +0 -1
  177. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.d.ts +0 -2
  178. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.d.ts.map +0 -1
  179. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js +0 -44
  180. package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js.map +0 -1
  181. package/dist-esm/samples-dev/appliancesDeleteSample.d.ts +0 -2
  182. package/dist-esm/samples-dev/appliancesDeleteSample.d.ts.map +0 -1
  183. package/dist-esm/samples-dev/appliancesDeleteSample.js +0 -39
  184. package/dist-esm/samples-dev/appliancesDeleteSample.js.map +0 -1
  185. package/dist-esm/samples-dev/appliancesGetSample.d.ts +0 -2
  186. package/dist-esm/samples-dev/appliancesGetSample.d.ts.map +0 -1
  187. package/dist-esm/samples-dev/appliancesGetSample.js +0 -39
  188. package/dist-esm/samples-dev/appliancesGetSample.js.map +0 -1
  189. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.d.ts +0 -2
  190. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.d.ts.map +0 -1
  191. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.js +0 -37
  192. package/dist-esm/samples-dev/appliancesGetTelemetryConfigSample.js.map +0 -1
  193. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.d.ts +0 -2
  194. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.d.ts.map +0 -1
  195. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js +0 -40
  196. package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js.map +0 -1
  197. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.d.ts +0 -2
  198. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.d.ts.map +0 -1
  199. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js +0 -54
  200. package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js.map +0 -1
  201. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.d.ts +0 -2
  202. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.d.ts.map +0 -1
  203. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js +0 -53
  204. package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js.map +0 -1
  205. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.d.ts +0 -2
  206. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.d.ts.map +0 -1
  207. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js +0 -39
  208. package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js.map +0 -1
  209. package/dist-esm/samples-dev/appliancesListKeysSample.d.ts +0 -2
  210. package/dist-esm/samples-dev/appliancesListKeysSample.d.ts.map +0 -1
  211. package/dist-esm/samples-dev/appliancesListKeysSample.js +0 -39
  212. package/dist-esm/samples-dev/appliancesListKeysSample.js.map +0 -1
  213. package/dist-esm/samples-dev/appliancesListOperationsSample.d.ts +0 -2
  214. package/dist-esm/samples-dev/appliancesListOperationsSample.d.ts.map +0 -1
  215. package/dist-esm/samples-dev/appliancesListOperationsSample.js +0 -51
  216. package/dist-esm/samples-dev/appliancesListOperationsSample.js.map +0 -1
  217. package/dist-esm/samples-dev/appliancesUpdateSample.d.ts +0 -2
  218. package/dist-esm/samples-dev/appliancesUpdateSample.d.ts.map +0 -1
  219. package/dist-esm/samples-dev/appliancesUpdateSample.js +0 -41
  220. package/dist-esm/samples-dev/appliancesUpdateSample.js.map +0 -1
  221. package/dist-esm/src/index.d.ts +0 -5
  222. package/dist-esm/src/index.js.map +0 -1
  223. package/dist-esm/src/lroImpl.js.map +0 -1
  224. package/dist-esm/src/models/index.js.map +0 -1
  225. package/dist-esm/src/models/mappers.js.map +0 -1
  226. package/dist-esm/src/models/parameters.js.map +0 -1
  227. package/dist-esm/src/operations/appliances.d.ts.map +0 -1
  228. package/dist-esm/src/operations/appliances.js.map +0 -1
  229. package/dist-esm/src/operations/index.d.ts +0 -2
  230. package/dist-esm/src/operations/index.js.map +0 -1
  231. package/dist-esm/src/operationsInterfaces/appliances.d.ts.map +0 -1
  232. package/dist-esm/src/operationsInterfaces/appliances.js.map +0 -1
  233. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -2
  234. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  235. package/dist-esm/src/pagingHelper.js.map +0 -1
  236. package/dist-esm/src/resourceConnectorManagementClient.d.ts.map +0 -1
  237. package/dist-esm/src/resourceConnectorManagementClient.js.map +0 -1
  238. package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts +0 -4
  239. package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts.map +0 -1
  240. package/dist-esm/test/resourceconnnector__operations_test.spec.js +0 -117
  241. package/dist-esm/test/resourceconnnector__operations_test.spec.js.map +0 -1
  242. package/src/lroImpl.ts +0 -42
  243. package/src/models/index.ts +0 -786
  244. package/src/models/mappers.ts +0 -811
  245. package/src/models/parameters.ts +0 -145
  246. package/src/operations/appliances.ts +0 -916
  247. package/src/operationsInterfaces/appliances.ts +0 -181
  248. package/src/pagingHelper.ts +0 -39
  249. package/src/resourceConnectorManagementClient.ts +0 -156
  250. package/tsconfig.json +0 -33
  251. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  252. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  253. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  254. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  255. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  256. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  257. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  258. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  259. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  260. /package/{dist-esm/src → dist/browser}/operationsInterfaces/appliances.js +0 -0
  261. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  262. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  263. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
package/CHANGELOG.md CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  ## 1.0.0 (2023-08-14)
4
4
 
5
+ ### Features Added
6
+
5
7
  The package of @azure/arm-resourceconnector is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2023 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,7 +6,7 @@ The appliances Rest API spec.
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourceconnector/arm-resourceconnector) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-resourceconnector) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-resourceconnector) |
9
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-resourceconnector) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
@@ -46,26 +46,34 @@ npm install @azure/identity
46
46
  You will also need to **register a new AAD application and grant access to Azure ResourceConnectorManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
47
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
48
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
49
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
50
 
51
- ```javascript
52
- const { ResourceConnectorManagementClient } = require("@azure/arm-resourceconnector");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
51
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52
+
53
+ ```ts snippet:ReadmeSampleCreateClient_Node
54
+ import { ResourceConnectorManagementClient } from "@azure/arm-resourceconnector";
55
+ import { DefaultAzureCredential } from "@azure/identity";
55
56
 
56
57
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
58
  const client = new ResourceConnectorManagementClient(new DefaultAzureCredential(), subscriptionId);
58
-
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new ResourceConnectorManagementClient(credential, subscriptionId);
65
59
  ```
66
60
 
61
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
62
+
63
+ ```ts snippet:ReadmeSampleCreateClient_Browser
64
+ import { InteractiveBrowserCredential } from "@azure/identity";
65
+ import { ResourceConnectorManagementClient } from "@azure/arm-resourceconnector";
66
+
67
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
68
+ const credential = new InteractiveBrowserCredential({
69
+ tenantId: "<YOUR_TENANT_ID>",
70
+ clientId: "<YOUR_CLIENT_ID>",
71
+ });
72
+ const client = new ResourceConnectorManagementClient(credential, subscriptionId);
73
+ ```
67
74
 
68
75
  ### JavaScript Bundle
76
+
69
77
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
70
78
 
71
79
  ## Key concepts
@@ -80,8 +88,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
88
 
81
89
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
90
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
91
+ ```ts snippet:SetLogLevel
92
+ import { setLogLevel } from "@azure/logger";
93
+
85
94
  setLogLevel("info");
86
95
  ```
87
96
 
@@ -99,9 +108,9 @@ If you'd like to contribute to this library, please read the [contributing guide
99
108
 
100
109
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
110
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fresourceconnector%2Farm-resourceconnector%2FREADME.png)
103
111
 
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
112
+
113
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
114
  [azure_sub]: https://azure.microsoft.com/free/
106
115
  [azure_sub]: https://azure.microsoft.com/free/
107
116
  [azure_portal]: https://portal.azure.com
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { ResourceConnectorManagementClient } from "./resourceConnectorManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { ResourceConnectorManagementClient } from "./resourceConnectorManagementClient";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { ResourceConnectorManagementClient } from "./resourceConnectorManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ResourceConnectorManagementClient } from \"./resourceConnectorManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
@@ -1,10 +1,3 @@
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
1
  import { __rest } from "tslib";
9
2
  export function createLroSpec(inputs) {
10
3
  const { args, spec, sendOperationFn } = inputs;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal\n });\n }\n };\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA4aH,6EAA6E;AAC7E,MAAM,CAAN,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,qBAAqB;IACrB,8DAAiC,CAAA;IACjC,WAAW;IACX,0CAAa,CAAA;AACf,CAAC,EALW,yBAAyB,KAAzB,yBAAyB,QAKpC;AAYD,+DAA+D;AAC/D,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,cAAc;IACd,kCAAmB,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C/E,oBAAoB;IACpB,8CAA+B,CAAA;IAC/B,cAAc;IACd,kCAAmB,CAAA;IACnB,WAAW;IACX,4BAAa,CAAA;AACf,CAAC,EAvDW,WAAW,KAAX,WAAW,QAuDtB;AAqCD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B;AAcD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,kBAAkB;IAClB,qDAA2B,CAAA;IAC3B,0BAA0B;IAC1B,qEAA2C,CAAA;AAC7C,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC;AAYD,qEAAqE;AACrE,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,uBAAuB;IACvB,0DAAqC,CAAA;AACvC,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B;AAWD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eASX;AATD,WAAY,eAAe;IACzB,sBAAsB;IACtB,sDAAmC,CAAA;IACnC,sBAAsB;IACtB,sDAAmC,CAAA;IACnC,cAAc;IACd,sCAAmB,CAAA;IACnB,sBAAsB;IACtB,sDAAmC,CAAA;AACrC,CAAC,EATW,eAAe,KAAf,eAAe,QAS1B","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 * as coreClient from \"@azure/core-client\";\n\n/** Lists of Appliances operations. */\nexport interface ApplianceOperationsList {\n /** Next page of operations. */\n nextLink?: string;\n /** Array of applianceOperation */\n value: ApplianceOperation[];\n}\n\n/** Appliances operation. */\nexport interface ApplianceOperation {\n /**\n * Is this Operation a data plane operation\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /**\n * The name of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The origin of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: string;\n /**\n * The description of the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n /**\n * The display name of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The resource provider for the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The display name of the resource the operation applies to.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The List Appliances operation response. */\nexport interface ApplianceListResult {\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n /**\n * The list of Appliances.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Appliance[];\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /**\n * The principal ID of resource identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityType;\n}\n\n/** Contains infrastructure information about the Appliance */\nexport interface AppliancePropertiesInfrastructureConfig {\n /** Information about the connected appliance. */\n provider?: Provider;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** The Get Telemetry Config Result appliance. */\nexport interface ApplianceGetTelemetryConfigResult {\n /**\n * Telemetry instrumentation key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly telemetryInstrumentationKey?: string;\n}\n\n/** The Appliances patchable resource definition. */\nexport interface PatchableAppliance {\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n}\n\n/** The List Cluster User Credential appliance. */\nexport interface ApplianceListCredentialResults {\n /**\n * Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hybridConnectionConfig?: HybridConnectionConfig;\n /**\n * The list of appliance kubeconfigs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kubeconfigs?: ApplianceCredentialKubeconfig[];\n}\n\n/** Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS). */\nexport interface HybridConnectionConfig {\n /**\n * Timestamp when this token will be expired.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly expirationTime?: number;\n /**\n * Name of the connection\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hybridConnectionName?: string;\n /**\n * Name of the notification service.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly relay?: string;\n /**\n * Listener access token\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly token?: string;\n}\n\n/** Cluster User Credential appliance. */\nexport interface ApplianceCredentialKubeconfig {\n /**\n * Name which contains the role of the kubeconfig.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: AccessProfileType;\n /**\n * Contains the kubeconfig value.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: string;\n}\n\n/** The List Cluster Keys Results appliance. */\nexport interface ApplianceListKeysResults {\n /**\n * Map of artifacts that contains a list of ArtifactProfile used to upload artifacts such as logs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly artifactProfiles?: { [propertyName: string]: ArtifactProfile };\n /**\n * The list of appliance kubeconfigs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kubeconfigs?: ApplianceCredentialKubeconfig[];\n /**\n * Map of Customer User Public, Private SSH Keys and Certificate when available.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly sshKeys?: { [propertyName: string]: SSHKey };\n}\n\n/** Appliance ArtifactProfile definition. */\nexport interface ArtifactProfile {\n /**\n * Endpoint is the URL to upload artifacts to.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly endpoint?: string;\n}\n\n/** Appliance SSHKey definition. */\nexport interface SSHKey {\n /**\n * Certificate associated with the public key if the key is signed.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly certificate?: string;\n /**\n * Certificate creation timestamp (Unix).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly creationTimeStamp?: number;\n /**\n * Certificate expiration timestamp (Unix).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly expirationTimeStamp?: number;\n /**\n * Private Key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly privateKey?: string;\n /**\n * Public Key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly publicKey?: string;\n}\n\n/** The Upgrade Graph for appliance. */\nexport interface UpgradeGraph {\n /**\n * The appliance resource path\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The release train name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /** The properties of supported version */\n properties?: UpgradeGraphProperties;\n}\n\n/** The Upgrade Graph Properties for appliance. */\nexport interface UpgradeGraphProperties {\n /**\n * The current appliance version\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly applianceVersion?: string;\n /**\n * This contains the current version and supported upgrade versions.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly supportedVersions?: SupportedVersion[];\n}\n\n/** The SupportedVersion object for appliance. */\nexport interface SupportedVersion {\n /**\n * This is the metadata of the supported newer version.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly metadata?: SupportedVersionMetadata;\n /**\n * The newer version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly version?: string;\n}\n\n/** The SupportedVersionMetadata object for appliance. */\nexport interface SupportedVersionMetadata {\n /**\n * The newer supported version catalog version.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly catalogVersion?: SupportedVersionCatalogVersion;\n}\n\n/** The SupportedVersionCatalogVersion object for appliance. */\nexport interface SupportedVersionCatalogVersion {\n /**\n * The newer supported version catalog version data.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly data?: SupportedVersionCatalogVersionData;\n /**\n * The catalog version name for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The catalog version namespace for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly namespace?: string;\n}\n\n/** The SupportedVersionCatalogVersionData object for appliance. */\nexport interface SupportedVersionCatalogVersionData {\n /**\n * The image audience name for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly audience?: string;\n /**\n * The image catalog name for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly catalog?: string;\n /**\n * The image offer name for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly offer?: string;\n /**\n * The image version for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly version?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** Appliances definition. */\nexport interface Appliance extends TrackedResource {\n /** Identity for the resource. */\n identity?: Identity;\n /** Represents a supported Fabric/Infra. (AKSEdge etc...). */\n distro?: Distro;\n /** Contains infrastructure information about the Appliance */\n infrastructureConfig?: AppliancePropertiesInfrastructureConfig;\n /**\n * The current deployment or provisioning state, which only appears in the response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: string;\n /** Certificates pair used to download MSI certificate from HIS. Can only be set once. */\n publicKey?: string;\n /**\n * Appliance’s health and state of connection to on-prem\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly status?: Status;\n /** Version of the Appliance */\n version?: string;\n}\n\n/** Known values of {@link ResourceIdentityType} that the service accepts. */\nexport enum KnownResourceIdentityType {\n /** SystemAssigned */\n SystemAssigned = \"SystemAssigned\",\n /** None */\n None = \"None\"\n}\n\n/**\n * Defines values for ResourceIdentityType. \\\n * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SystemAssigned** \\\n * **None**\n */\nexport type ResourceIdentityType = string;\n\n/** Known values of {@link Distro} that the service accepts. */\nexport enum KnownDistro {\n /** AKSEdge */\n AKSEdge = \"AKSEdge\"\n}\n\n/**\n * Defines values for Distro. \\\n * {@link KnownDistro} can be used interchangeably with Distro,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AKSEdge**\n */\nexport type Distro = string;\n\n/** Known values of {@link Provider} that the service accepts. */\nexport enum KnownProvider {\n /** VMWare */\n VMWare = \"VMWare\",\n /** HCI */\n HCI = \"HCI\",\n /** Scvmm */\n Scvmm = \"SCVMM\",\n /** KubeVirt */\n KubeVirt = \"KubeVirt\",\n /** OpenStack */\n OpenStack = \"OpenStack\"\n}\n\n/**\n * Defines values for Provider. \\\n * {@link KnownProvider} can be used interchangeably with Provider,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **VMWare** \\\n * **HCI** \\\n * **SCVMM** \\\n * **KubeVirt** \\\n * **OpenStack**\n */\nexport type Provider = string;\n\n/** Known values of {@link Status} that the service accepts. */\nexport enum KnownStatus {\n /** WaitingForHeartbeat */\n WaitingForHeartbeat = \"WaitingForHeartbeat\",\n /** Validating */\n Validating = \"Validating\",\n /** Connecting */\n Connecting = \"Connecting\",\n /** Connected */\n Connected = \"Connected\",\n /** Running */\n Running = \"Running\",\n /** PreparingForUpgrade */\n PreparingForUpgrade = \"PreparingForUpgrade\",\n /** UpgradePrerequisitesCompleted */\n UpgradePrerequisitesCompleted = \"UpgradePrerequisitesCompleted\",\n /** PreUpgrade */\n PreUpgrade = \"PreUpgrade\",\n /** UpgradingKvaio */\n UpgradingKvaio = \"UpgradingKVAIO\",\n /** WaitingForKvaio */\n WaitingForKvaio = \"WaitingForKVAIO\",\n /** ImagePending */\n ImagePending = \"ImagePending\",\n /** ImageProvisioning */\n ImageProvisioning = \"ImageProvisioning\",\n /** ImageProvisioned */\n ImageProvisioned = \"ImageProvisioned\",\n /** ImageDownloading */\n ImageDownloading = \"ImageDownloading\",\n /** ImageDownloaded */\n ImageDownloaded = \"ImageDownloaded\",\n /** ImageDeprovisioning */\n ImageDeprovisioning = \"ImageDeprovisioning\",\n /** ImageUnknown */\n ImageUnknown = \"ImageUnknown\",\n /** UpdatingCloudOperator */\n UpdatingCloudOperator = \"UpdatingCloudOperator\",\n /** WaitingForCloudOperator */\n WaitingForCloudOperator = \"WaitingForCloudOperator\",\n /** UpdatingCapi */\n UpdatingCapi = \"UpdatingCAPI\",\n /** UpdatingCluster */\n UpdatingCluster = \"UpdatingCluster\",\n /** PostUpgrade */\n PostUpgrade = \"PostUpgrade\",\n /** UpgradeComplete */\n UpgradeComplete = \"UpgradeComplete\",\n /** UpgradeClusterExtensionFailedToDelete */\n UpgradeClusterExtensionFailedToDelete = \"UpgradeClusterExtensionFailedToDelete\",\n /** UpgradeFailed */\n UpgradeFailed = \"UpgradeFailed\",\n /** Offline */\n Offline = \"Offline\",\n /** None */\n None = \"None\"\n}\n\n/**\n * Defines values for Status. \\\n * {@link KnownStatus} can be used interchangeably with Status,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **WaitingForHeartbeat** \\\n * **Validating** \\\n * **Connecting** \\\n * **Connected** \\\n * **Running** \\\n * **PreparingForUpgrade** \\\n * **UpgradePrerequisitesCompleted** \\\n * **PreUpgrade** \\\n * **UpgradingKVAIO** \\\n * **WaitingForKVAIO** \\\n * **ImagePending** \\\n * **ImageProvisioning** \\\n * **ImageProvisioned** \\\n * **ImageDownloading** \\\n * **ImageDownloaded** \\\n * **ImageDeprovisioning** \\\n * **ImageUnknown** \\\n * **UpdatingCloudOperator** \\\n * **WaitingForCloudOperator** \\\n * **UpdatingCAPI** \\\n * **UpdatingCluster** \\\n * **PostUpgrade** \\\n * **UpgradeComplete** \\\n * **UpgradeClusterExtensionFailedToDelete** \\\n * **UpgradeFailed** \\\n * **Offline** \\\n * **None**\n */\nexport type Status = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link AccessProfileType} that the service accepts. */\nexport enum KnownAccessProfileType {\n /** ClusterUser */\n ClusterUser = \"clusterUser\",\n /** ClusterCustomerUser */\n ClusterCustomerUser = \"clusterCustomerUser\"\n}\n\n/**\n * Defines values for AccessProfileType. \\\n * {@link KnownAccessProfileType} can be used interchangeably with AccessProfileType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **clusterUser** \\\n * **clusterCustomerUser**\n */\nexport type AccessProfileType = string;\n\n/** Known values of {@link ArtifactType} that the service accepts. */\nexport enum KnownArtifactType {\n /** LogsArtifactType */\n LogsArtifactType = \"LogsArtifactType\"\n}\n\n/**\n * Defines values for ArtifactType. \\\n * {@link KnownArtifactType} can be used interchangeably with ArtifactType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **LogsArtifactType**\n */\nexport type ArtifactType = string;\n\n/** Known values of {@link SSHKeyType} that the service accepts. */\nexport enum KnownSSHKeyType {\n /** SSHCustomerUser */\n SSHCustomerUser = \"SSHCustomerUser\",\n /** ManagementCAKey */\n ManagementCAKey = \"ManagementCAKey\",\n /** LogsKey */\n LogsKey = \"LogsKey\",\n /** ScopedAccessKey */\n ScopedAccessKey = \"ScopedAccessKey\"\n}\n\n/**\n * Defines values for SSHKeyType. \\\n * {@link KnownSSHKeyType} can be used interchangeably with SSHKeyType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SSHCustomerUser** \\\n * **ManagementCAKey** \\\n * **LogsKey** \\\n * **ScopedAccessKey**\n */\nexport type SSHKeyType = string;\n\n/** Optional parameters. */\nexport interface AppliancesListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type AppliancesListOperationsResponse = ApplianceOperationsList;\n\n/** Optional parameters. */\nexport interface AppliancesListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type AppliancesListBySubscriptionResponse = ApplianceListResult;\n\n/** Optional parameters. */\nexport interface AppliancesGetTelemetryConfigOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTelemetryConfig operation. */\nexport type AppliancesGetTelemetryConfigResponse = ApplianceGetTelemetryConfigResult;\n\n/** Optional parameters. */\nexport interface AppliancesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type AppliancesListByResourceGroupResponse = ApplianceListResult;\n\n/** Optional parameters. */\nexport interface AppliancesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type AppliancesGetResponse = Appliance;\n\n/** Optional parameters. */\nexport interface AppliancesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type AppliancesCreateOrUpdateResponse = Appliance;\n\n/** Optional parameters. */\nexport interface AppliancesDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface AppliancesUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n}\n\n/** Contains response data for the update operation. */\nexport type AppliancesUpdateResponse = Appliance;\n\n/** Optional parameters. */\nexport interface AppliancesListClusterUserCredentialOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listClusterUserCredential operation. */\nexport type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;\n\n/** Optional parameters. */\nexport interface AppliancesListKeysOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listKeys operation. */\nexport type AppliancesListKeysResponse = ApplianceListKeysResults;\n\n/** Optional parameters. */\nexport interface AppliancesGetUpgradeGraphOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getUpgradeGraph operation. */\nexport type AppliancesGetUpgradeGraphResponse = UpgradeGraph;\n\n/** Optional parameters. */\nexport interface AppliancesListOperationsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperationsNext operation. */\nexport type AppliancesListOperationsNextResponse = ApplianceOperationsList;\n\n/** Optional parameters. */\nexport interface AppliancesListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type AppliancesListBySubscriptionNextResponse = ApplianceListResult;\n\n/** Optional parameters. */\nexport interface AppliancesListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type AppliancesListByResourceGroupNextResponse = ApplianceListResult;\n\n/** Optional parameters. */\nexport interface ResourceConnectorManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,oBAAoB;yBAChC;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,oBAAoB;QAC/B,eAAe,EAAE;YACf,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ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I,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,kCACV,eAAe,CAAC,IAAI,CAAC,eAAe,KACvC,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,UAAU;iBACtB;aACF,EACD,MAAM,EAAE;gBACN,YAAY,EAAE,SAAS;gBACvB,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,oBAAoB,EAAE;gBACpB,cAAc,EAAE,iCAAiC;gBACjD,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,yCAAyC;iBACrD;aACF,EACD,iBAAiB,EAAE;gBACjB,cAAc,EAAE,8BAA8B;gBAC9C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,OAAO,EAAE;gBACP,cAAc,EAAE,oBAAoB;gBACpC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,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 * as coreClient from \"@azure/core-client\";\n\nexport const ApplianceOperationsList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceOperationsList\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplianceOperation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ApplianceOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceOperation\",\n modelProperties: {\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"display.description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"display.operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n provider: {\n serializedName: \"display.provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"display.resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ApplianceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Appliance\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Identity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Identity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AppliancePropertiesInfrastructureConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AppliancePropertiesInfrastructureConfig\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const ApplianceGetTelemetryConfigResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceGetTelemetryConfigResult\",\n modelProperties: {\n telemetryInstrumentationKey: {\n serializedName: \"telemetryInstrumentationKey\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PatchableAppliance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PatchableAppliance\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ApplianceListCredentialResults: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceListCredentialResults\",\n modelProperties: {\n hybridConnectionConfig: {\n serializedName: \"hybridConnectionConfig\",\n type: {\n name: \"Composite\",\n className: \"HybridConnectionConfig\"\n }\n },\n kubeconfigs: {\n serializedName: \"kubeconfigs\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplianceCredentialKubeconfig\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const HybridConnectionConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HybridConnectionConfig\",\n modelProperties: {\n expirationTime: {\n serializedName: \"expirationTime\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n hybridConnectionName: {\n serializedName: \"hybridConnectionName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n relay: {\n serializedName: \"relay\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n token: {\n serializedName: \"token\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplianceCredentialKubeconfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceCredentialKubeconfig\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplianceListKeysResults: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceListKeysResults\",\n modelProperties: {\n artifactProfiles: {\n serializedName: \"artifactProfiles\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Composite\", className: \"ArtifactProfile\" } }\n }\n },\n kubeconfigs: {\n serializedName: \"kubeconfigs\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplianceCredentialKubeconfig\"\n }\n }\n }\n },\n sshKeys: {\n serializedName: \"sshKeys\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Composite\", className: \"SSHKey\" } }\n }\n }\n }\n }\n};\n\nexport const ArtifactProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ArtifactProfile\",\n modelProperties: {\n endpoint: {\n serializedName: \"endpoint\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SSHKey: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SSHKey\",\n modelProperties: {\n certificate: {\n serializedName: \"certificate\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n creationTimeStamp: {\n serializedName: \"creationTimeStamp\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n expirationTimeStamp: {\n serializedName: \"expirationTimeStamp\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n privateKey: {\n serializedName: \"privateKey\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n publicKey: {\n serializedName: \"publicKey\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const UpgradeGraph: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpgradeGraph\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"UpgradeGraphProperties\"\n }\n }\n }\n }\n};\n\nexport const UpgradeGraphProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpgradeGraphProperties\",\n modelProperties: {\n applianceVersion: {\n serializedName: \"applianceVersion\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n supportedVersions: {\n serializedName: \"supportedVersions\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SupportedVersion\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SupportedVersion: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SupportedVersion\",\n modelProperties: {\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Composite\",\n className: \"SupportedVersionMetadata\"\n }\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SupportedVersionMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SupportedVersionMetadata\",\n modelProperties: {\n catalogVersion: {\n serializedName: \"catalogVersion\",\n type: {\n name: \"Composite\",\n className: \"SupportedVersionCatalogVersion\"\n }\n }\n }\n }\n};\n\nexport const SupportedVersionCatalogVersion: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SupportedVersionCatalogVersion\",\n modelProperties: {\n data: {\n serializedName: \"data\",\n type: {\n name: \"Composite\",\n className: \"SupportedVersionCatalogVersionData\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n namespace: {\n serializedName: \"namespace\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SupportedVersionCatalogVersionData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SupportedVersionCatalogVersionData\",\n modelProperties: {\n audience: {\n serializedName: \"audience\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n catalog: {\n serializedName: \"catalog\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n offer: {\n serializedName: \"offer\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Appliance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Appliance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"Identity\"\n }\n },\n distro: {\n defaultValue: \"AKSEdge\",\n serializedName: \"properties.distro\",\n type: {\n name: \"String\"\n }\n },\n infrastructureConfig: {\n serializedName: \"properties.infrastructureConfig\",\n type: {\n name: \"Composite\",\n className: \"AppliancePropertiesInfrastructureConfig\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n publicKey: {\n serializedName: \"properties.publicKey\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"properties.status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"properties.version\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { Appliance as ApplianceMapper, PatchableAppliance as PatchableApplianceMapper } from "../models/mappers";
8
+ import { Appliance as ApplianceMapper, PatchableAppliance as PatchableApplianceMapper } from "../models/mappers.js";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,SAAS,IAAI,eAAe,EAC5B,kBAAkB,IAAI,wBAAwB,EAC/C,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;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,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,eAAe;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAuB;IACtC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,wBAAwB;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA0B;IACjD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Appliance as ApplianceMapper,\n PatchableAppliance as PatchableApplianceMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-10-27\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\"\n ),\n MaxLength: 63,\n MinLength: 1\n },\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ApplianceMapper\n};\n\nexport const tags: OperationParameter = {\n parameterPath: [\"options\", \"tags\"],\n mapper: PatchableApplianceMapper\n};\n\nexport const upgradeGraph: OperationURLParameter = {\n parameterPath: \"upgradeGraph\",\n mapper: {\n serializedName: \"upgradeGraph\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n"]}
@@ -1,8 +1,8 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Appliances } from "../operationsInterfaces";
3
- import { ResourceConnectorManagementClient } from "../resourceConnectorManagementClient";
2
+ import { Appliances } from "../operationsInterfaces/index.js";
3
+ import { ResourceConnectorManagementClient } from "../resourceConnectorManagementClient.js";
4
4
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { ApplianceOperation, AppliancesListOperationsOptionalParams, Appliance, AppliancesListBySubscriptionOptionalParams, AppliancesListByResourceGroupOptionalParams, AppliancesGetTelemetryConfigOptionalParams, AppliancesGetTelemetryConfigResponse, AppliancesGetOptionalParams, AppliancesGetResponse, AppliancesCreateOrUpdateOptionalParams, AppliancesCreateOrUpdateResponse, AppliancesDeleteOptionalParams, AppliancesUpdateOptionalParams, AppliancesUpdateResponse, AppliancesListClusterUserCredentialOptionalParams, AppliancesListClusterUserCredentialResponse, AppliancesListKeysOptionalParams, AppliancesListKeysResponse, AppliancesGetUpgradeGraphOptionalParams, AppliancesGetUpgradeGraphResponse } from "../models";
5
+ import { ApplianceOperation, AppliancesListOperationsOptionalParams, Appliance, AppliancesListBySubscriptionOptionalParams, AppliancesListByResourceGroupOptionalParams, AppliancesGetTelemetryConfigOptionalParams, AppliancesGetTelemetryConfigResponse, AppliancesGetOptionalParams, AppliancesGetResponse, AppliancesCreateOrUpdateOptionalParams, AppliancesCreateOrUpdateResponse, AppliancesDeleteOptionalParams, AppliancesUpdateOptionalParams, AppliancesUpdateResponse, AppliancesListClusterUserCredentialOptionalParams, AppliancesListClusterUserCredentialResponse, AppliancesListKeysOptionalParams, AppliancesListKeysResponse, AppliancesGetUpgradeGraphOptionalParams, AppliancesGetUpgradeGraphResponse } from "../models/index.js";
6
6
  /** Class containing Appliances operations. */
7
7
  export declare class AppliancesImpl implements Appliances {
8
8
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appliances.d.ts","sourceRoot":"","sources":["../../../src/operations/appliances.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,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,CACN,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;;;OAOG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAO7C;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAU3B;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -5,13 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  import { createHttpPoller } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
14
+ import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing Appliances operations. */
17
17
  export class AppliancesImpl {
@@ -255,43 +255,41 @@ export class AppliancesImpl {
255
255
  * @param parameters Parameters supplied to create or update an Appliance.
256
256
  * @param options The options parameters.
257
257
  */
258
- beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options) {
259
- return __awaiter(this, void 0, void 0, function* () {
260
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
261
- return this.client.sendOperationRequest(args, spec);
262
- });
263
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
264
- var _a;
265
- let currentRawResponse = undefined;
266
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
267
- const callback = (rawResponse, flatResponse) => {
268
- currentRawResponse = rawResponse;
269
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
270
- };
271
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
272
- const flatResponse = yield directSendOperation(updatedArgs, spec);
273
- return {
274
- flatResponse,
275
- rawResponse: {
276
- statusCode: currentRawResponse.status,
277
- body: currentRawResponse.parsedBody,
278
- headers: currentRawResponse.headers.toJSON()
279
- }
280
- };
281
- });
282
- const lro = createLroSpec({
283
- sendOperationFn,
284
- args: { resourceGroupName, resourceName, parameters, options },
285
- spec: createOrUpdateOperationSpec
286
- });
287
- const poller = yield createHttpPoller(lro, {
288
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
289
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
290
- resourceLocationConfig: "azure-async-operation"
291
- });
292
- yield poller.poll();
293
- return poller;
258
+ async beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options) {
259
+ const directSendOperation = async (args, spec) => {
260
+ return this.client.sendOperationRequest(args, spec);
261
+ };
262
+ const sendOperationFn = async (args, spec) => {
263
+ var _a;
264
+ let currentRawResponse = undefined;
265
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
266
+ const callback = (rawResponse, flatResponse) => {
267
+ currentRawResponse = rawResponse;
268
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
269
+ };
270
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
271
+ const flatResponse = await directSendOperation(updatedArgs, spec);
272
+ return {
273
+ flatResponse,
274
+ rawResponse: {
275
+ statusCode: currentRawResponse.status,
276
+ body: currentRawResponse.parsedBody,
277
+ headers: currentRawResponse.headers.toJSON()
278
+ }
279
+ };
280
+ };
281
+ const lro = createLroSpec({
282
+ sendOperationFn,
283
+ args: { resourceGroupName, resourceName, parameters, options },
284
+ spec: createOrUpdateOperationSpec
294
285
  });
286
+ const poller = await createHttpPoller(lro, {
287
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
288
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
289
+ resourceLocationConfig: "azure-async-operation"
290
+ });
291
+ await poller.poll();
292
+ return poller;
295
293
  }
296
294
  /**
297
295
  * Creates or updates an Appliance in the specified Subscription and Resource Group.
@@ -300,11 +298,9 @@ export class AppliancesImpl {
300
298
  * @param parameters Parameters supplied to create or update an Appliance.
301
299
  * @param options The options parameters.
302
300
  */
303
- beginCreateOrUpdateAndWait(resourceGroupName, resourceName, parameters, options) {
304
- return __awaiter(this, void 0, void 0, function* () {
305
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options);
306
- return poller.pollUntilDone();
307
- });
301
+ async beginCreateOrUpdateAndWait(resourceGroupName, resourceName, parameters, options) {
302
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options);
303
+ return poller.pollUntilDone();
308
304
  }
309
305
  /**
310
306
  * Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.
@@ -312,43 +308,41 @@ export class AppliancesImpl {
312
308
  * @param resourceName Appliances name.
313
309
  * @param options The options parameters.
314
310
  */
315
- beginDelete(resourceGroupName, resourceName, options) {
316
- return __awaiter(this, void 0, void 0, function* () {
317
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
318
- return this.client.sendOperationRequest(args, spec);
319
- });
320
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
321
- var _a;
322
- let currentRawResponse = undefined;
323
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
324
- const callback = (rawResponse, flatResponse) => {
325
- currentRawResponse = rawResponse;
326
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
327
- };
328
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
329
- const flatResponse = yield directSendOperation(updatedArgs, spec);
330
- return {
331
- flatResponse,
332
- rawResponse: {
333
- statusCode: currentRawResponse.status,
334
- body: currentRawResponse.parsedBody,
335
- headers: currentRawResponse.headers.toJSON()
336
- }
337
- };
338
- });
339
- const lro = createLroSpec({
340
- sendOperationFn,
341
- args: { resourceGroupName, resourceName, options },
342
- spec: deleteOperationSpec
343
- });
344
- const poller = yield createHttpPoller(lro, {
345
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
346
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
347
- resourceLocationConfig: "azure-async-operation"
348
- });
349
- yield poller.poll();
350
- return poller;
311
+ async beginDelete(resourceGroupName, resourceName, options) {
312
+ const directSendOperation = async (args, spec) => {
313
+ return this.client.sendOperationRequest(args, spec);
314
+ };
315
+ const sendOperationFn = async (args, spec) => {
316
+ var _a;
317
+ let currentRawResponse = undefined;
318
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
319
+ const callback = (rawResponse, flatResponse) => {
320
+ currentRawResponse = rawResponse;
321
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
322
+ };
323
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
324
+ const flatResponse = await directSendOperation(updatedArgs, spec);
325
+ return {
326
+ flatResponse,
327
+ rawResponse: {
328
+ statusCode: currentRawResponse.status,
329
+ body: currentRawResponse.parsedBody,
330
+ headers: currentRawResponse.headers.toJSON()
331
+ }
332
+ };
333
+ };
334
+ const lro = createLroSpec({
335
+ sendOperationFn,
336
+ args: { resourceGroupName, resourceName, options },
337
+ spec: deleteOperationSpec
351
338
  });
339
+ const poller = await createHttpPoller(lro, {
340
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
341
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
342
+ resourceLocationConfig: "azure-async-operation"
343
+ });
344
+ await poller.poll();
345
+ return poller;
352
346
  }
353
347
  /**
354
348
  * Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.
@@ -356,11 +350,9 @@ export class AppliancesImpl {
356
350
  * @param resourceName Appliances name.
357
351
  * @param options The options parameters.
358
352
  */
359
- beginDeleteAndWait(resourceGroupName, resourceName, options) {
360
- return __awaiter(this, void 0, void 0, function* () {
361
- const poller = yield this.beginDelete(resourceGroupName, resourceName, options);
362
- return poller.pollUntilDone();
363
- });
353
+ async beginDeleteAndWait(resourceGroupName, resourceName, options) {
354
+ const poller = await this.beginDelete(resourceGroupName, resourceName, options);
355
+ return poller.pollUntilDone();
364
356
  }
365
357
  /**
366
358
  * Updates an Appliance with the specified Resource Name in the specified Resource Group and