@azure/arm-computelimit 1.0.0-beta.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/api/computeLimitContext.d.ts +3 -3
  3. package/dist/browser/api/computeLimitContext.js +4 -23
  4. package/dist/browser/api/computeLimitContext.js.map +1 -1
  5. package/dist/browser/api/features/index.d.ts +3 -0
  6. package/dist/browser/api/features/index.js +4 -0
  7. package/dist/browser/api/features/index.js.map +1 -0
  8. package/dist/browser/api/features/operations.d.ts +19 -0
  9. package/dist/browser/api/features/operations.js +95 -0
  10. package/dist/browser/api/features/operations.js.map +1 -0
  11. package/dist/browser/api/features/options.d.ts +13 -0
  12. package/dist/browser/api/features/options.js +4 -0
  13. package/dist/browser/api/features/options.js.map +1 -0
  14. package/dist/browser/api/guestSubscriptions/index.d.ts +1 -1
  15. package/dist/browser/api/guestSubscriptions/index.js.map +1 -1
  16. package/dist/browser/api/guestSubscriptions/operations.js +8 -17
  17. package/dist/browser/api/guestSubscriptions/operations.js.map +1 -1
  18. package/dist/browser/api/guestSubscriptions/options.js.map +1 -1
  19. package/dist/browser/api/index.d.ts +2 -1
  20. package/dist/browser/api/index.js +1 -1
  21. package/dist/browser/api/index.js.map +1 -1
  22. package/dist/browser/api/operations/index.d.ts +1 -1
  23. package/dist/browser/api/operations/index.js.map +1 -1
  24. package/dist/browser/api/operations/operations.js +3 -6
  25. package/dist/browser/api/operations/operations.js.map +1 -1
  26. package/dist/browser/api/sharedLimits/index.d.ts +1 -1
  27. package/dist/browser/api/sharedLimits/index.js.map +1 -1
  28. package/dist/browser/api/sharedLimits/operations.js +10 -23
  29. package/dist/browser/api/sharedLimits/operations.js.map +1 -1
  30. package/dist/browser/api/sharedLimits/options.js.map +1 -1
  31. package/dist/browser/classic/features/index.d.ts +16 -0
  32. package/dist/browser/classic/features/index.js +16 -0
  33. package/dist/browser/classic/features/index.js.map +1 -0
  34. package/dist/browser/classic/index.d.ts +4 -3
  35. package/dist/browser/classic/index.js.map +1 -1
  36. package/dist/browser/computeLimitClient.d.ts +4 -1
  37. package/dist/browser/computeLimitClient.js +4 -0
  38. package/dist/browser/computeLimitClient.js.map +1 -1
  39. package/dist/browser/index.d.ts +16 -10
  40. package/dist/browser/index.js +2 -1
  41. package/dist/browser/index.js.map +1 -1
  42. package/dist/browser/models/index.d.ts +2 -1
  43. package/dist/browser/models/index.js +1 -1
  44. package/dist/browser/models/index.js.map +1 -1
  45. package/dist/browser/models/models.d.ts +72 -8
  46. package/dist/browser/models/models.js +68 -8
  47. package/dist/browser/models/models.js.map +1 -1
  48. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  49. package/dist/browser/restorePollerHelpers.js +94 -0
  50. package/dist/browser/restorePollerHelpers.js.map +1 -0
  51. package/dist/browser/static-helpers/pagingHelpers.d.ts +2 -0
  52. package/dist/browser/static-helpers/pagingHelpers.js +28 -3
  53. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  54. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  55. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  56. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  57. package/dist/browser/static-helpers/urlTemplate.js +20 -5
  58. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  59. package/dist/commonjs/api/computeLimitContext.d.ts +3 -3
  60. package/dist/commonjs/api/computeLimitContext.js +43 -44
  61. package/dist/commonjs/api/computeLimitContext.js.map +7 -1
  62. package/dist/commonjs/api/features/index.d.ts +3 -0
  63. package/dist/commonjs/api/features/index.js +32 -0
  64. package/dist/commonjs/api/features/index.js.map +7 -0
  65. package/dist/commonjs/api/features/operations.d.ts +19 -0
  66. package/dist/commonjs/api/features/operations.js +150 -0
  67. package/dist/commonjs/api/features/operations.js.map +7 -0
  68. package/dist/commonjs/api/features/options.d.ts +13 -0
  69. package/dist/commonjs/api/features/options.js +16 -0
  70. package/dist/commonjs/api/features/options.js.map +7 -0
  71. package/dist/commonjs/api/guestSubscriptions/index.d.ts +1 -1
  72. package/dist/commonjs/api/guestSubscriptions/index.js +34 -11
  73. package/dist/commonjs/api/guestSubscriptions/index.js.map +7 -1
  74. package/dist/commonjs/api/guestSubscriptions/operations.js +158 -122
  75. package/dist/commonjs/api/guestSubscriptions/operations.js.map +7 -1
  76. package/dist/commonjs/api/guestSubscriptions/options.js +16 -5
  77. package/dist/commonjs/api/guestSubscriptions/options.js.map +7 -1
  78. package/dist/commonjs/api/index.d.ts +2 -1
  79. package/dist/commonjs/api/index.js +28 -8
  80. package/dist/commonjs/api/index.js.map +7 -1
  81. package/dist/commonjs/api/operations/index.d.ts +1 -1
  82. package/dist/commonjs/api/operations/index.js +28 -8
  83. package/dist/commonjs/api/operations/index.js.map +7 -1
  84. package/dist/commonjs/api/operations/operations.js +62 -33
  85. package/dist/commonjs/api/operations/operations.js.map +7 -1
  86. package/dist/commonjs/api/operations/options.js +16 -5
  87. package/dist/commonjs/api/operations/options.js.map +7 -1
  88. package/dist/commonjs/api/sharedLimits/index.d.ts +1 -1
  89. package/dist/commonjs/api/sharedLimits/index.js +34 -11
  90. package/dist/commonjs/api/sharedLimits/index.js.map +7 -1
  91. package/dist/commonjs/api/sharedLimits/operations.js +158 -126
  92. package/dist/commonjs/api/sharedLimits/operations.js.map +7 -1
  93. package/dist/commonjs/api/sharedLimits/options.js +16 -5
  94. package/dist/commonjs/api/sharedLimits/options.js.map +7 -1
  95. package/dist/commonjs/classic/features/index.d.ts +16 -0
  96. package/dist/commonjs/classic/features/index.js +40 -0
  97. package/dist/commonjs/classic/features/index.js.map +7 -0
  98. package/dist/commonjs/classic/guestSubscriptions/index.js +37 -16
  99. package/dist/commonjs/classic/guestSubscriptions/index.js.map +7 -1
  100. package/dist/commonjs/classic/index.d.ts +4 -3
  101. package/dist/commonjs/classic/index.js +16 -5
  102. package/dist/commonjs/classic/index.js.map +7 -1
  103. package/dist/commonjs/classic/operations/index.js +34 -13
  104. package/dist/commonjs/classic/operations/index.js.map +7 -1
  105. package/dist/commonjs/classic/sharedLimits/index.js +37 -16
  106. package/dist/commonjs/classic/sharedLimits/index.js.map +7 -1
  107. package/dist/commonjs/computeLimitClient.d.ts +4 -1
  108. package/dist/commonjs/computeLimitClient.js +57 -35
  109. package/dist/commonjs/computeLimitClient.js.map +7 -1
  110. package/dist/commonjs/index.d.ts +16 -10
  111. package/dist/commonjs/index.js +47 -16
  112. package/dist/commonjs/index.js.map +7 -1
  113. package/dist/commonjs/logger.js +29 -8
  114. package/dist/commonjs/logger.js.map +7 -1
  115. package/dist/commonjs/models/index.d.ts +2 -1
  116. package/dist/commonjs/models/index.js +38 -12
  117. package/dist/commonjs/models/index.js.map +7 -1
  118. package/dist/commonjs/models/models.d.ts +72 -8
  119. package/dist/commonjs/models/models.js +312 -229
  120. package/dist/commonjs/models/models.js.map +7 -1
  121. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  122. package/dist/commonjs/restorePollerHelpers.js +107 -0
  123. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  124. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +50 -40
  125. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -1
  126. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +2 -0
  127. package/dist/commonjs/static-helpers/pagingHelpers.js +125 -103
  128. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
  129. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  130. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  131. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  132. package/dist/commonjs/static-helpers/urlTemplate.js +167 -158
  133. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
  134. package/dist/commonjs/tsdoc-metadata.json +1 -1
  135. package/dist/esm/api/computeLimitContext.d.ts +3 -3
  136. package/dist/esm/api/computeLimitContext.js +4 -23
  137. package/dist/esm/api/computeLimitContext.js.map +1 -1
  138. package/dist/esm/api/features/index.d.ts +3 -0
  139. package/dist/esm/api/features/index.js +4 -0
  140. package/dist/esm/api/features/index.js.map +1 -0
  141. package/dist/esm/api/features/operations.d.ts +19 -0
  142. package/dist/esm/api/features/operations.js +95 -0
  143. package/dist/esm/api/features/operations.js.map +1 -0
  144. package/dist/esm/api/features/options.d.ts +13 -0
  145. package/dist/esm/api/features/options.js +4 -0
  146. package/dist/esm/api/features/options.js.map +1 -0
  147. package/dist/esm/api/guestSubscriptions/index.d.ts +1 -1
  148. package/dist/esm/api/guestSubscriptions/index.js.map +1 -1
  149. package/dist/esm/api/guestSubscriptions/operations.js +8 -17
  150. package/dist/esm/api/guestSubscriptions/operations.js.map +1 -1
  151. package/dist/esm/api/guestSubscriptions/options.js.map +1 -1
  152. package/dist/esm/api/index.d.ts +2 -1
  153. package/dist/esm/api/index.js +1 -1
  154. package/dist/esm/api/index.js.map +1 -1
  155. package/dist/esm/api/operations/index.d.ts +1 -1
  156. package/dist/esm/api/operations/index.js.map +1 -1
  157. package/dist/esm/api/operations/operations.js +3 -6
  158. package/dist/esm/api/operations/operations.js.map +1 -1
  159. package/dist/esm/api/sharedLimits/index.d.ts +1 -1
  160. package/dist/esm/api/sharedLimits/index.js.map +1 -1
  161. package/dist/esm/api/sharedLimits/operations.js +10 -23
  162. package/dist/esm/api/sharedLimits/operations.js.map +1 -1
  163. package/dist/esm/api/sharedLimits/options.js.map +1 -1
  164. package/dist/esm/classic/features/index.d.ts +16 -0
  165. package/dist/esm/classic/features/index.js +16 -0
  166. package/dist/esm/classic/features/index.js.map +1 -0
  167. package/dist/esm/classic/index.d.ts +4 -3
  168. package/dist/esm/classic/index.js.map +1 -1
  169. package/dist/esm/computeLimitClient.d.ts +4 -1
  170. package/dist/esm/computeLimitClient.js +4 -0
  171. package/dist/esm/computeLimitClient.js.map +1 -1
  172. package/dist/esm/index.d.ts +16 -10
  173. package/dist/esm/index.js +2 -1
  174. package/dist/esm/index.js.map +1 -1
  175. package/dist/esm/models/index.d.ts +2 -1
  176. package/dist/esm/models/index.js +1 -1
  177. package/dist/esm/models/index.js.map +1 -1
  178. package/dist/esm/models/models.d.ts +72 -8
  179. package/dist/esm/models/models.js +68 -8
  180. package/dist/esm/models/models.js.map +1 -1
  181. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  182. package/dist/esm/restorePollerHelpers.js +94 -0
  183. package/dist/esm/restorePollerHelpers.js.map +1 -0
  184. package/dist/esm/static-helpers/pagingHelpers.d.ts +2 -0
  185. package/dist/esm/static-helpers/pagingHelpers.js +28 -3
  186. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  187. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  188. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  189. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  190. package/dist/esm/static-helpers/urlTemplate.js +20 -5
  191. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  192. package/dist/react-native/api/computeLimitContext.d.ts +3 -3
  193. package/dist/react-native/api/computeLimitContext.js +4 -23
  194. package/dist/react-native/api/computeLimitContext.js.map +1 -1
  195. package/dist/react-native/api/features/index.d.ts +3 -0
  196. package/dist/react-native/api/features/index.js +4 -0
  197. package/dist/react-native/api/features/index.js.map +1 -0
  198. package/dist/react-native/api/features/operations.d.ts +19 -0
  199. package/dist/react-native/api/features/operations.js +95 -0
  200. package/dist/react-native/api/features/operations.js.map +1 -0
  201. package/dist/react-native/api/features/options.d.ts +13 -0
  202. package/dist/react-native/api/features/options.js +4 -0
  203. package/dist/react-native/api/features/options.js.map +1 -0
  204. package/dist/react-native/api/guestSubscriptions/index.d.ts +1 -1
  205. package/dist/react-native/api/guestSubscriptions/index.js.map +1 -1
  206. package/dist/react-native/api/guestSubscriptions/operations.js +8 -17
  207. package/dist/react-native/api/guestSubscriptions/operations.js.map +1 -1
  208. package/dist/react-native/api/guestSubscriptions/options.js.map +1 -1
  209. package/dist/react-native/api/index.d.ts +2 -1
  210. package/dist/react-native/api/index.js +1 -1
  211. package/dist/react-native/api/index.js.map +1 -1
  212. package/dist/react-native/api/operations/index.d.ts +1 -1
  213. package/dist/react-native/api/operations/index.js.map +1 -1
  214. package/dist/react-native/api/operations/operations.js +3 -6
  215. package/dist/react-native/api/operations/operations.js.map +1 -1
  216. package/dist/react-native/api/sharedLimits/index.d.ts +1 -1
  217. package/dist/react-native/api/sharedLimits/index.js.map +1 -1
  218. package/dist/react-native/api/sharedLimits/operations.js +10 -23
  219. package/dist/react-native/api/sharedLimits/operations.js.map +1 -1
  220. package/dist/react-native/api/sharedLimits/options.js.map +1 -1
  221. package/dist/react-native/classic/features/index.d.ts +16 -0
  222. package/dist/react-native/classic/features/index.js +16 -0
  223. package/dist/react-native/classic/features/index.js.map +1 -0
  224. package/dist/react-native/classic/index.d.ts +4 -3
  225. package/dist/react-native/classic/index.js.map +1 -1
  226. package/dist/react-native/computeLimitClient.d.ts +4 -1
  227. package/dist/react-native/computeLimitClient.js +4 -0
  228. package/dist/react-native/computeLimitClient.js.map +1 -1
  229. package/dist/react-native/index.d.ts +16 -10
  230. package/dist/react-native/index.js +2 -1
  231. package/dist/react-native/index.js.map +1 -1
  232. package/dist/react-native/models/index.d.ts +2 -1
  233. package/dist/react-native/models/index.js +1 -1
  234. package/dist/react-native/models/index.js.map +1 -1
  235. package/dist/react-native/models/models.d.ts +72 -8
  236. package/dist/react-native/models/models.js +68 -8
  237. package/dist/react-native/models/models.js.map +1 -1
  238. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  239. package/dist/react-native/restorePollerHelpers.js +94 -0
  240. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  241. package/dist/react-native/static-helpers/pagingHelpers.d.ts +2 -0
  242. package/dist/react-native/static-helpers/pagingHelpers.js +28 -3
  243. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  244. package/dist/react-native/static-helpers/pollingHelpers.d.ts +34 -0
  245. package/dist/react-native/static-helpers/pollingHelpers.js +95 -0
  246. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  247. package/dist/react-native/static-helpers/urlTemplate.js +20 -5
  248. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
  249. package/package.json +33 -35
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/features/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,MAAM,EAAE,kCAAkC,EAAE,GAAG,EAAE,MAAM,kCAAkC,CAAC;AA+BnG,SAAS,YAAY,CAAC,OAA4B;IAChD,OAAO;QACL,MAAM,EAAE,CAAC,QAAgB,EAAE,WAAmB,EAAE,OAAsC,EAAE,EAAE,CACxF,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC;QACjD,kCAAkC,EAAE,CAClC,QAAgB,EAChB,OAAkE,EAClE,EAAE,CAAC,kCAAkC,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QACnE,GAAG,EAAE,CAAC,QAAgB,EAAE,WAAmB,EAAE,OAAmC,EAAE,EAAE,CAClF,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC;KAC/C,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAA4B;IACjE,OAAO;QACL,GAAG,YAAY,CAAC,OAAO,CAAC;KACzB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport { enable, listBySubscriptionLocationResource, get } from \"../../api/features/operations.js\";\nimport type {\n FeaturesEnableOptionalParams,\n FeaturesListBySubscriptionLocationResourceOptionalParams,\n FeaturesGetOptionalParams,\n} from \"../../api/features/options.js\";\nimport type { Feature, OperationStatusResult } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a Features operations. */\nexport interface FeaturesOperations {\n /** Enables a compute limit feature for the subscription at the specified location. */\n enable: (\n location: string,\n featureName: string,\n options?: FeaturesEnableOptionalParams,\n ) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n /** Lists all compute limit features for the subscription at the specified location. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: FeaturesListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<Feature>;\n /** Gets the properties of a compute limit feature. */\n get: (\n location: string,\n featureName: string,\n options?: FeaturesGetOptionalParams,\n ) => Promise<Feature>;\n}\n\nfunction _getFeatures(context: ComputeLimitContext) {\n return {\n enable: (location: string, featureName: string, options?: FeaturesEnableOptionalParams) =>\n enable(context, location, featureName, options),\n listBySubscriptionLocationResource: (\n location: string,\n options?: FeaturesListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n get: (location: string, featureName: string, options?: FeaturesGetOptionalParams) =>\n get(context, location, featureName, options),\n };\n}\n\nexport function _getFeaturesOperations(context: ComputeLimitContext): FeaturesOperations {\n return {\n ..._getFeatures(context),\n };\n}\n"]}
@@ -1,4 +1,5 @@
1
- export { GuestSubscriptionsOperations } from "./guestSubscriptions/index.js";
2
- export { OperationsOperations } from "./operations/index.js";
3
- export { SharedLimitsOperations } from "./sharedLimits/index.js";
1
+ export type { FeaturesOperations } from "./features/index.js";
2
+ export type { GuestSubscriptionsOperations } from "./guestSubscriptions/index.js";
3
+ export type { OperationsOperations } from "./operations/index.js";
4
+ export type { SharedLimitsOperations } from "./sharedLimits/index.js";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { GuestSubscriptionsOperations } from \"./guestSubscriptions/index.js\";\nexport { OperationsOperations } from \"./operations/index.js\";\nexport { SharedLimitsOperations } from \"./sharedLimits/index.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type { FeaturesOperations } from \"./features/index.js\";\nexport type { GuestSubscriptionsOperations } from \"./guestSubscriptions/index.js\";\nexport type { OperationsOperations } from \"./operations/index.js\";\nexport type { SharedLimitsOperations } from \"./sharedLimits/index.js\";\n"]}
@@ -1,16 +1,19 @@
1
1
  import type { ComputeLimitClientOptionalParams } from "./api/index.js";
2
+ import type { FeaturesOperations } from "./classic/features/index.js";
2
3
  import type { GuestSubscriptionsOperations } from "./classic/guestSubscriptions/index.js";
3
4
  import type { OperationsOperations } from "./classic/operations/index.js";
4
5
  import type { SharedLimitsOperations } from "./classic/sharedLimits/index.js";
5
6
  import type { TokenCredential } from "@azure/core-auth";
6
7
  import type { Pipeline } from "@azure/core-rest-pipeline";
7
- export { ComputeLimitClientOptionalParams } from "./api/computeLimitContext.js";
8
+ export type { ComputeLimitClientOptionalParams } from "./api/computeLimitContext.js";
8
9
  export declare class ComputeLimitClient {
9
10
  private _client;
10
11
  /** The pipeline used by this client to make requests */
11
12
  readonly pipeline: Pipeline;
12
13
  /** Microsoft Azure Compute Limit Resource Provider. */
13
14
  constructor(credential: TokenCredential, subscriptionId: string, options?: ComputeLimitClientOptionalParams);
15
+ /** The operation groups for features */
16
+ readonly features: FeaturesOperations;
14
17
  /** The operation groups for sharedLimits */
15
18
  readonly sharedLimits: SharedLimitsOperations;
16
19
  /** The operation groups for guestSubscriptions */
@@ -1,6 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
3
  import { createComputeLimit } from "./api/index.js";
4
+ import { _getFeaturesOperations } from "./classic/features/index.js";
4
5
  import { _getGuestSubscriptionsOperations } from "./classic/guestSubscriptions/index.js";
5
6
  import { _getOperationsOperations } from "./classic/operations/index.js";
6
7
  import { _getSharedLimitsOperations } from "./classic/sharedLimits/index.js";
@@ -19,10 +20,13 @@ export class ComputeLimitClient {
19
20
  userAgentOptions: { userAgentPrefix },
20
21
  });
21
22
  this.pipeline = this._client.pipeline;
23
+ this.features = _getFeaturesOperations(this._client);
22
24
  this.sharedLimits = _getSharedLimitsOperations(this._client);
23
25
  this.guestSubscriptions = _getGuestSubscriptionsOperations(this._client);
24
26
  this.operations = _getOperationsOperations(this._client);
25
27
  }
28
+ /** The operation groups for features */
29
+ features;
26
30
  /** The operation groups for sharedLimits */
27
31
  sharedLimits;
28
32
  /** The operation groups for guestSubscriptions */
@@ -1 +1 @@
1
- {"version":3,"file":"computeLimitClient.js","sourceRoot":"","sources":["../../src/computeLimitClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAM7E,MAAM,OAAO,kBAAkB;IACrB,OAAO,CAAsB;IACrC,wDAAwD;IACxC,QAAQ,CAAW;IAEnC,uDAAuD;IACvD,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAA4C,EAAE;QAE9C,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,kBAAkB,CAAC,UAAU,EAAE,cAAc,EAAE;YAC5D,GAAG,OAAO;YACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;SACtC,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,YAAY,GAAG,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7D,IAAI,CAAC,kBAAkB,GAAG,gCAAgC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzE,IAAI,CAAC,UAAU,GAAG,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED,4CAA4C;IAC5B,YAAY,CAAyB;IACrD,kDAAkD;IAClC,kBAAkB,CAA+B;IACjE,0CAA0C;IAC1B,UAAU,CAAuB;CAClD","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext, ComputeLimitClientOptionalParams } from \"./api/index.js\";\nimport { createComputeLimit } from \"./api/index.js\";\nimport type { GuestSubscriptionsOperations } from \"./classic/guestSubscriptions/index.js\";\nimport { _getGuestSubscriptionsOperations } from \"./classic/guestSubscriptions/index.js\";\nimport type { OperationsOperations } from \"./classic/operations/index.js\";\nimport { _getOperationsOperations } from \"./classic/operations/index.js\";\nimport type { SharedLimitsOperations } from \"./classic/sharedLimits/index.js\";\nimport { _getSharedLimitsOperations } from \"./classic/sharedLimits/index.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport { ComputeLimitClientOptionalParams } from \"./api/computeLimitContext.js\";\n\nexport class ComputeLimitClient {\n private _client: ComputeLimitContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Microsoft Azure Compute Limit Resource Provider. */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: ComputeLimitClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createComputeLimit(credential, subscriptionId, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.sharedLimits = _getSharedLimitsOperations(this._client);\n this.guestSubscriptions = _getGuestSubscriptionsOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for sharedLimits */\n public readonly sharedLimits: SharedLimitsOperations;\n /** The operation groups for guestSubscriptions */\n public readonly guestSubscriptions: GuestSubscriptionsOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"]}
1
+ {"version":3,"file":"computeLimitClient.js","sourceRoot":"","sources":["../../src/computeLimitClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAM7E,MAAM,OAAO,kBAAkB;IACrB,OAAO,CAAsB;IACrC,wDAAwD;IACxC,QAAQ,CAAW;IAEnC,uDAAuD;IACvD,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAA4C,EAAE;QAE9C,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,kBAAkB,CAAC,UAAU,EAAE,cAAc,EAAE;YAC5D,GAAG,OAAO;YACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;SACtC,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,QAAQ,GAAG,sBAAsB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrD,IAAI,CAAC,YAAY,GAAG,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7D,IAAI,CAAC,kBAAkB,GAAG,gCAAgC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzE,IAAI,CAAC,UAAU,GAAG,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED,wCAAwC;IACxB,QAAQ,CAAqB;IAC7C,4CAA4C;IAC5B,YAAY,CAAyB;IACrD,kDAAkD;IAClC,kBAAkB,CAA+B;IACjE,0CAA0C;IAC1B,UAAU,CAAuB;CAClD","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext, ComputeLimitClientOptionalParams } from \"./api/index.js\";\nimport { createComputeLimit } from \"./api/index.js\";\nimport type { FeaturesOperations } from \"./classic/features/index.js\";\nimport { _getFeaturesOperations } from \"./classic/features/index.js\";\nimport type { GuestSubscriptionsOperations } from \"./classic/guestSubscriptions/index.js\";\nimport { _getGuestSubscriptionsOperations } from \"./classic/guestSubscriptions/index.js\";\nimport type { OperationsOperations } from \"./classic/operations/index.js\";\nimport { _getOperationsOperations } from \"./classic/operations/index.js\";\nimport type { SharedLimitsOperations } from \"./classic/sharedLimits/index.js\";\nimport { _getSharedLimitsOperations } from \"./classic/sharedLimits/index.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { ComputeLimitClientOptionalParams } from \"./api/computeLimitContext.js\";\n\nexport class ComputeLimitClient {\n private _client: ComputeLimitContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Microsoft Azure Compute Limit Resource Provider. */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: ComputeLimitClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createComputeLimit(credential, subscriptionId, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.features = _getFeaturesOperations(this._client);\n this.sharedLimits = _getSharedLimitsOperations(this._client);\n this.guestSubscriptions = _getGuestSubscriptionsOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for features */\n public readonly features: FeaturesOperations;\n /** The operation groups for sharedLimits */\n public readonly sharedLimits: SharedLimitsOperations;\n /** The operation groups for guestSubscriptions */\n public readonly guestSubscriptions: GuestSubscriptionsOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"]}
@@ -1,12 +1,18 @@
1
- import { AzureClouds, AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
2
- import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
1
+ import type { AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
2
+ import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
3
+ import type { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
3
4
  export { ComputeLimitClient } from "./computeLimitClient.js";
4
- export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, KnownResourceProvisioningState, ResourceProvisioningState, ProxyResource, Resource, SystemData, KnownCreatedByType, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, KnownVersions, } from "./models/index.js";
5
- export { ComputeLimitClientOptionalParams } from "./api/index.js";
6
- export { GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams, GuestSubscriptionsDeleteOptionalParams, GuestSubscriptionsCreateOptionalParams, GuestSubscriptionsGetOptionalParams, } from "./api/guestSubscriptions/index.js";
7
- export { OperationsListOptionalParams } from "./api/operations/index.js";
8
- export { SharedLimitsListBySubscriptionLocationResourceOptionalParams, SharedLimitsDeleteOptionalParams, SharedLimitsCreateOptionalParams, SharedLimitsGetOptionalParams, } from "./api/sharedLimits/index.js";
9
- export { GuestSubscriptionsOperations, OperationsOperations, SharedLimitsOperations, } from "./classic/index.js";
10
- export { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
11
- export { AzureClouds, AzureSupportedClouds };
5
+ export type { RestorePollerOptions } from "./restorePollerHelpers.js";
6
+ export { restorePoller } from "./restorePollerHelpers.js";
7
+ export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, ResourceProvisioningState, ProxyResource, Resource, SystemData, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, Feature, FeatureProperties, FeatureState, OperationStatusResult, } from "./models/index.js";
8
+ export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models/index.js";
9
+ export type { ComputeLimitClientOptionalParams } from "./api/index.js";
10
+ export type { FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams, } from "./api/features/index.js";
11
+ export type { GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams, GuestSubscriptionsDeleteOptionalParams, GuestSubscriptionsCreateOptionalParams, GuestSubscriptionsGetOptionalParams, } from "./api/guestSubscriptions/index.js";
12
+ export type { OperationsListOptionalParams } from "./api/operations/index.js";
13
+ export type { SharedLimitsListBySubscriptionLocationResourceOptionalParams, SharedLimitsDeleteOptionalParams, SharedLimitsCreateOptionalParams, SharedLimitsGetOptionalParams, } from "./api/sharedLimits/index.js";
14
+ export type { FeaturesOperations, GuestSubscriptionsOperations, OperationsOperations, SharedLimitsOperations, } from "./classic/index.js";
15
+ export type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
16
+ export { AzureClouds };
17
+ export type { AzureSupportedClouds };
12
18
  //# sourceMappingURL=index.d.ts.map
package/dist/esm/index.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // Licensed under the MIT License.
3
3
  import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
4
4
  export { ComputeLimitClient } from "./computeLimitClient.js";
5
- export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownVersions, } from "./models/index.js";
5
+ export { restorePoller } from "./restorePollerHelpers.js";
6
+ export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models/index.js";
6
7
  export { AzureClouds };
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,WAAW,EAAwB,MAAM,yCAAyC,CAAC;AAO5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,8BAA8B,EAK9B,kBAAkB,EAKlB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAqB3B,OAAO,EAAE,WAAW,EAAwB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AzureClouds, AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { ComputeLimitClient } from \"./computeLimitClient.js\";\nexport {\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GuestSubscription,\n GuestSubscriptionProperties,\n KnownResourceProvisioningState,\n ResourceProvisioningState,\n ProxyResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n SharedLimit,\n SharedLimitProperties,\n LimitName,\n KnownVersions,\n} from \"./models/index.js\";\nexport { ComputeLimitClientOptionalParams } from \"./api/index.js\";\nexport {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"./api/guestSubscriptions/index.js\";\nexport { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"./api/sharedLimits/index.js\";\nexport {\n GuestSubscriptionsOperations,\n OperationsOperations,\n SharedLimitsOperations,\n} from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds, AzureSupportedClouds };\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAOtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAwB1D,OAAO,EACL,WAAW,EACX,eAAe,EACf,8BAA8B,EAC9B,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,GACd,MAAM,mBAAmB,CAAC;AA2B3B,OAAO,EAAE,WAAW,EAAE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport { AzureClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport type {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { ComputeLimitClient } from \"./computeLimitClient.js\";\nexport type { RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport { restorePoller } from \"./restorePollerHelpers.js\";\nexport type {\n Operation,\n OperationDisplay,\n Origin,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GuestSubscription,\n GuestSubscriptionProperties,\n ResourceProvisioningState,\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n SharedLimit,\n SharedLimitProperties,\n LimitName,\n Feature,\n FeatureProperties,\n FeatureState,\n OperationStatusResult,\n} from \"./models/index.js\";\nexport {\n KnownOrigin,\n KnownActionType,\n KnownResourceProvisioningState,\n KnownCreatedByType,\n KnownFeatureState,\n KnownVersions,\n} from \"./models/index.js\";\nexport type { ComputeLimitClientOptionalParams } from \"./api/index.js\";\nexport type {\n FeaturesEnableOptionalParams,\n FeaturesListBySubscriptionLocationResourceOptionalParams,\n FeaturesGetOptionalParams,\n} from \"./api/features/index.js\";\nexport type {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"./api/guestSubscriptions/index.js\";\nexport type { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport type {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"./api/sharedLimits/index.js\";\nexport type {\n FeaturesOperations,\n GuestSubscriptionsOperations,\n OperationsOperations,\n SharedLimitsOperations,\n} from \"./classic/index.js\";\nexport type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds };\nexport type { AzureSupportedClouds };\n"]}
@@ -1,2 +1,3 @@
1
- export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, KnownResourceProvisioningState, ResourceProvisioningState, ProxyResource, Resource, SystemData, KnownCreatedByType, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, KnownVersions, } from "./models.js";
1
+ export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, ResourceProvisioningState, ProxyResource, Resource, SystemData, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, Feature, FeatureProperties, FeatureState, OperationStatusResult, } from "./models.js";
2
+ export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models.js";
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownVersions, } from "./models.js";
3
+ export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models.js";
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,8BAA8B,EAK9B,kBAAkB,EAKlB,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GuestSubscription,\n GuestSubscriptionProperties,\n KnownResourceProvisioningState,\n ResourceProvisioningState,\n ProxyResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n SharedLimit,\n SharedLimitProperties,\n LimitName,\n KnownVersions,\n} from \"./models.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAyBlC,OAAO,EACL,WAAW,EACX,eAAe,EACf,8BAA8B,EAC9B,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n Operation,\n OperationDisplay,\n Origin,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GuestSubscription,\n GuestSubscriptionProperties,\n ResourceProvisioningState,\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n SharedLimit,\n SharedLimitProperties,\n LimitName,\n Feature,\n FeatureProperties,\n FeatureState,\n OperationStatusResult,\n} from \"./models.js\";\nexport {\n KnownOrigin,\n KnownActionType,\n KnownResourceProvisioningState,\n KnownCreatedByType,\n KnownFeatureState,\n KnownVersions,\n} from \"./models.js\";\n"]}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * This file contains only generated model types and (de)serializers.
3
- * Disable this rule for deserializer functions which require 'any' for raw JSON input.
2
+ * This file contains only generated model types and their (de)serializers.
3
+ * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
4
4
  */
5
5
  /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
6
6
  export interface _OperationListResult {
@@ -25,7 +25,7 @@ export interface Operation {
25
25
  readonly actionType?: ActionType;
26
26
  }
27
27
  export declare function operationDeserializer(item: any): Operation;
28
- /** Localized display information for and operation. */
28
+ /** Localized display information for an operation. */
29
29
  export interface OperationDisplay {
30
30
  /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
31
31
  readonly provider?: string;
@@ -111,7 +111,7 @@ export interface GuestSubscriptionProperties {
111
111
  /** The provisioning state of the resource. */
112
112
  readonly provisioningState?: ResourceProvisioningState;
113
113
  }
114
- export declare function guestSubscriptionPropertiesSerializer(item: GuestSubscriptionProperties): any;
114
+ export declare function guestSubscriptionPropertiesSerializer(_item: GuestSubscriptionProperties): any;
115
115
  export declare function guestSubscriptionPropertiesDeserializer(item: any): GuestSubscriptionProperties;
116
116
  /** The provisioning state of a resource type. */
117
117
  export declare enum KnownResourceProvisioningState {
@@ -135,7 +135,7 @@ export type ResourceProvisioningState = string;
135
135
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
136
136
  export interface ProxyResource extends Resource {
137
137
  }
138
- export declare function proxyResourceSerializer(item: ProxyResource): any;
138
+ export declare function proxyResourceSerializer(_item: ProxyResource): any;
139
139
  export declare function proxyResourceDeserializer(item: any): ProxyResource;
140
140
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
141
141
  export interface Resource {
@@ -148,7 +148,7 @@ export interface Resource {
148
148
  /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
149
149
  readonly systemData?: SystemData;
150
150
  }
151
- export declare function resourceSerializer(item: Resource): any;
151
+ export declare function resourceSerializer(_item: Resource): any;
152
152
  export declare function resourceDeserializer(item: any): Resource;
153
153
  /** Metadata pertaining to creation and last modification of the resource. */
154
154
  export interface SystemData {
@@ -216,7 +216,7 @@ export interface SharedLimitProperties {
216
216
  /** The provisioning state of the resource. */
217
217
  readonly provisioningState?: ResourceProvisioningState;
218
218
  }
219
- export declare function sharedLimitPropertiesSerializer(item: SharedLimitProperties): any;
219
+ export declare function sharedLimitPropertiesSerializer(_item: SharedLimitProperties): any;
220
220
  export declare function sharedLimitPropertiesDeserializer(item: any): SharedLimitProperties;
221
221
  /** Properties of the limit name. */
222
222
  export interface LimitName {
@@ -236,9 +236,73 @@ export interface _SharedLimitListResult {
236
236
  export declare function _sharedLimitListResultDeserializer(item: any): _SharedLimitListResult;
237
237
  export declare function sharedLimitArraySerializer(result: Array<SharedLimit>): any[];
238
238
  export declare function sharedLimitArrayDeserializer(result: Array<SharedLimit>): any[];
239
+ /** Compute limit feature. */
240
+ export interface Feature extends ProxyResource {
241
+ /** The resource-specific properties for this resource. */
242
+ properties?: FeatureProperties;
243
+ }
244
+ export declare function featureDeserializer(item: any): Feature;
245
+ /** Properties of the compute limit feature. */
246
+ export interface FeatureProperties {
247
+ /** The current state of the feature (for example, Enabled, Disabled). */
248
+ state?: FeatureState;
249
+ /** The provisioning state of the resource. */
250
+ readonly provisioningState?: ResourceProvisioningState;
251
+ }
252
+ export declare function featurePropertiesDeserializer(item: any): FeatureProperties;
253
+ /** The allowed states for a compute limit feature. */
254
+ export declare enum KnownFeatureState {
255
+ /** The feature is enabled. */
256
+ Enabled = "Enabled",
257
+ /** The feature is disabled. */
258
+ Disabled = "Disabled"
259
+ }
260
+ /**
261
+ * The allowed states for a compute limit feature. \
262
+ * {@link KnownFeatureState} can be used interchangeably with FeatureState,
263
+ * this enum contains the known values that the service supports.
264
+ * ### Known values supported by the service
265
+ * **Enabled**: The feature is enabled. \
266
+ * **Disabled**: The feature is disabled.
267
+ */
268
+ export type FeatureState = string;
269
+ /** The response of a Feature list operation. */
270
+ export interface _FeatureListResult {
271
+ /** The Feature items on this page */
272
+ value: Feature[];
273
+ /** The link to the next page of items */
274
+ nextLink?: string;
275
+ }
276
+ export declare function _featureListResultDeserializer(item: any): _FeatureListResult;
277
+ export declare function featureArrayDeserializer(result: Array<Feature>): any[];
278
+ /** The current status of an async operation. */
279
+ export interface OperationStatusResult {
280
+ /** Fully qualified ID for the async operation. */
281
+ id?: string;
282
+ /** Name of the async operation. */
283
+ name?: string;
284
+ /** Operation status. */
285
+ status: string;
286
+ /** Percent of the operation that is complete. */
287
+ percentComplete?: number;
288
+ /** The start time of the operation. */
289
+ startTime?: Date;
290
+ /** The end time of the operation. */
291
+ endTime?: Date;
292
+ /** The operations list. */
293
+ operations?: OperationStatusResult[];
294
+ /** If present, details of the operation error. */
295
+ error?: ErrorDetail;
296
+ /** Fully qualified ID of the resource against which the original async operation was started. */
297
+ readonly resourceId?: string;
298
+ }
299
+ export declare function operationStatusResultDeserializer(item: any): OperationStatusResult;
300
+ export declare function operationStatusResultArrayDeserializer(result: Array<OperationStatusResult>): any[];
239
301
  /** The available API versions. */
240
302
  export declare enum KnownVersions {
241
303
  /** The 2025-08-15 API version. */
242
- V20250815 = "2025-08-15"
304
+ V20250815 = "2025-08-15",
305
+ /** The 2026-03-20 API version. */
306
+ V20260320 = "2026-03-20"
243
307
  }
244
308
  //# sourceMappingURL=models.d.ts.map
@@ -96,8 +96,8 @@ export function guestSubscriptionDeserializer(item) {
96
96
  : guestSubscriptionPropertiesDeserializer(item["properties"]),
97
97
  };
98
98
  }
99
- export function guestSubscriptionPropertiesSerializer(item) {
100
- return item;
99
+ export function guestSubscriptionPropertiesSerializer(_item) {
100
+ return {};
101
101
  }
102
102
  export function guestSubscriptionPropertiesDeserializer(item) {
103
103
  return {
@@ -114,8 +114,8 @@ export var KnownResourceProvisioningState;
114
114
  /** Resource creation was canceled. */
115
115
  KnownResourceProvisioningState["Canceled"] = "Canceled";
116
116
  })(KnownResourceProvisioningState || (KnownResourceProvisioningState = {}));
117
- export function proxyResourceSerializer(item) {
118
- return item;
117
+ export function proxyResourceSerializer(_item) {
118
+ return {};
119
119
  }
120
120
  export function proxyResourceDeserializer(item) {
121
121
  return {
@@ -127,8 +127,8 @@ export function proxyResourceDeserializer(item) {
127
127
  : systemDataDeserializer(item["systemData"]),
128
128
  };
129
129
  }
130
- export function resourceSerializer(item) {
131
- return item;
130
+ export function resourceSerializer(_item) {
131
+ return {};
132
132
  }
133
133
  export function resourceDeserializer(item) {
134
134
  return {
@@ -200,8 +200,8 @@ export function sharedLimitDeserializer(item) {
200
200
  : sharedLimitPropertiesDeserializer(item["properties"]),
201
201
  };
202
202
  }
203
- export function sharedLimitPropertiesSerializer(item) {
204
- return item;
203
+ export function sharedLimitPropertiesSerializer(_item) {
204
+ return {};
205
205
  }
206
206
  export function sharedLimitPropertiesDeserializer(item) {
207
207
  return {
@@ -235,10 +235,70 @@ export function sharedLimitArrayDeserializer(result) {
235
235
  return sharedLimitDeserializer(item);
236
236
  });
237
237
  }
238
+ export function featureDeserializer(item) {
239
+ return {
240
+ id: item["id"],
241
+ name: item["name"],
242
+ type: item["type"],
243
+ systemData: !item["systemData"]
244
+ ? item["systemData"]
245
+ : systemDataDeserializer(item["systemData"]),
246
+ properties: !item["properties"]
247
+ ? item["properties"]
248
+ : featurePropertiesDeserializer(item["properties"]),
249
+ };
250
+ }
251
+ export function featurePropertiesDeserializer(item) {
252
+ return {
253
+ state: item["state"],
254
+ provisioningState: item["provisioningState"],
255
+ };
256
+ }
257
+ /** The allowed states for a compute limit feature. */
258
+ export var KnownFeatureState;
259
+ (function (KnownFeatureState) {
260
+ /** The feature is enabled. */
261
+ KnownFeatureState["Enabled"] = "Enabled";
262
+ /** The feature is disabled. */
263
+ KnownFeatureState["Disabled"] = "Disabled";
264
+ })(KnownFeatureState || (KnownFeatureState = {}));
265
+ export function _featureListResultDeserializer(item) {
266
+ return {
267
+ value: featureArrayDeserializer(item["value"]),
268
+ nextLink: item["nextLink"],
269
+ };
270
+ }
271
+ export function featureArrayDeserializer(result) {
272
+ return result.map((item) => {
273
+ return featureDeserializer(item);
274
+ });
275
+ }
276
+ export function operationStatusResultDeserializer(item) {
277
+ return {
278
+ id: item["id"],
279
+ name: item["name"],
280
+ status: item["status"],
281
+ percentComplete: item["percentComplete"],
282
+ startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
283
+ endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
284
+ operations: !item["operations"]
285
+ ? item["operations"]
286
+ : operationStatusResultArrayDeserializer(item["operations"]),
287
+ error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
288
+ resourceId: item["resourceId"],
289
+ };
290
+ }
291
+ export function operationStatusResultArrayDeserializer(result) {
292
+ return result.map((item) => {
293
+ return operationStatusResultDeserializer(item);
294
+ });
295
+ }
238
296
  /** The available API versions. */
239
297
  export var KnownVersions;
240
298
  (function (KnownVersions) {
241
299
  /** The 2025-08-15 API version. */
242
300
  KnownVersions["V20250815"] = "2025-08-15";
301
+ /** The 2026-03-20 API version. */
302
+ KnownVersions["V20260320"] = "2026-03-20";
243
303
  })(KnownVersions || (KnownVersions = {}));
244
304
  //# sourceMappingURL=models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAelC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAgBD,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC7C,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,OAAO,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3F,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;KAC/B,CAAC;AACJ,CAAC;AAcD,MAAM,UAAU,4BAA4B,CAAC,IAAS;IACpD,OAAO;QACL,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1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AAE,IAAI,CAAC,MAAM,CAAC;QAClB,iBAAiB,EAAE,IAAI,CAAC,mBAAmB,CAAC;KAC7C,CAAC;AACJ,CAAC;AAUD,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC7C,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;QACpB,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC;KACvC,CAAC;AACJ,CAAC;AAUD,MAAM,UAAU,kCAAkC,CAAC,IAAS;IAC1D,OAAO;QACL,KAAK,EAAE,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAA0B;IACnE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,MAA0B;IACrE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,kCAAkC;AAClC,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,kCAAkC;IAClC,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * This file contains only generated model types and (de)serializers.\n * Disable this rule for deserializer functions which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Guest subscription that consumes shared compute limits. */\nexport interface GuestSubscription extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: GuestSubscriptionProperties;\n}\n\nexport function guestSubscriptionSerializer(item: GuestSubscription): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : guestSubscriptionPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function guestSubscriptionDeserializer(item: any): GuestSubscription {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : guestSubscriptionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties for guest subscription. */\nexport interface GuestSubscriptionProperties {\n /** The provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function guestSubscriptionPropertiesSerializer(item: GuestSubscriptionProperties): any {\n return item;\n}\n\nexport function guestSubscriptionPropertiesDeserializer(item: any): GuestSubscriptionProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The provisioning state of a resource type. */\nexport enum KnownResourceProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled.\n */\nexport type ResourceProvisioningState = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\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\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\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**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The response of a GuestSubscription list operation. */\nexport interface _GuestSubscriptionListResult {\n /** The GuestSubscription items on this page */\n value: GuestSubscription[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _guestSubscriptionListResultDeserializer(item: any): _GuestSubscriptionListResult {\n return {\n value: guestSubscriptionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function guestSubscriptionArraySerializer(result: Array<GuestSubscription>): any[] {\n return result.map((item) => {\n return guestSubscriptionSerializer(item);\n });\n}\n\nexport function guestSubscriptionArrayDeserializer(result: Array<GuestSubscription>): any[] {\n return result.map((item) => {\n return guestSubscriptionDeserializer(item);\n });\n}\n\n/** Compute limits shared by the subscription. */\nexport interface SharedLimit extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: SharedLimitProperties;\n}\n\nexport function sharedLimitSerializer(item: SharedLimit): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : sharedLimitPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function sharedLimitDeserializer(item: any): SharedLimit {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : sharedLimitPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of the compute shared limit. */\nexport interface SharedLimitProperties {\n /** The limit name properties. */\n readonly resourceName?: LimitName;\n /** The maximum permitted usage of the resource. */\n readonly limit?: number;\n /** The quota units, such as Count. */\n readonly unit?: string;\n /** The provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function sharedLimitPropertiesSerializer(item: SharedLimitProperties): any {\n return item;\n}\n\nexport function sharedLimitPropertiesDeserializer(item: any): SharedLimitProperties {\n return {\n resourceName: !item[\"resourceName\"]\n ? item[\"resourceName\"]\n : limitNameDeserializer(item[\"resourceName\"]),\n limit: item[\"limit\"],\n unit: item[\"unit\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Properties of the limit name. */\nexport interface LimitName {\n /** The limit name. */\n value: string;\n /** The localized limit name. */\n readonly localizedValue?: string;\n}\n\nexport function limitNameDeserializer(item: any): LimitName {\n return {\n value: item[\"value\"],\n localizedValue: item[\"localizedValue\"],\n };\n}\n\n/** The response of a SharedLimit list operation. */\nexport interface _SharedLimitListResult {\n /** The SharedLimit items on this page */\n value: SharedLimit[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _sharedLimitListResultDeserializer(item: any): _SharedLimitListResult {\n return {\n value: sharedLimitArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function sharedLimitArraySerializer(result: Array<SharedLimit>): any[] {\n return result.map((item) => {\n return sharedLimitSerializer(item);\n });\n}\n\nexport function sharedLimitArrayDeserializer(result: Array<SharedLimit>): any[] {\n return result.map((item) => {\n return sharedLimitDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2025-08-15 API version. */\n V20250815 = \"2025-08-15\",\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAgBlC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAgBD,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC7C,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,OAAO,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3F,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;KAC/B,CAAC;AACJ,CAAC;AAcD,MAAM,UAAU,4BAA4B,CAAC,IAAS;IACpD,OAAO;QACL,QAAQ,EAAE,IAAI,CAAC,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;QAC/E,OAAO,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvE,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,sCAAsC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC9D,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,uBAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9E,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;KAC/B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sCAAsC,CACpD,MAAoC;IAEpC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,iCAAiC,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC,CAAC,CAAC;AACL,CAAC;AAED,kCAAkC;AAClC,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,kCAAkC;IAClC,yCAAwB,CAAA;IACxB,kCAAkC;IAClC,yCAAwB,CAAA;AAC1B,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for an operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Guest subscription that consumes shared compute limits. */\nexport interface GuestSubscription extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: GuestSubscriptionProperties;\n}\n\nexport function guestSubscriptionSerializer(item: GuestSubscription): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : guestSubscriptionPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function guestSubscriptionDeserializer(item: any): GuestSubscription {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : guestSubscriptionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties for guest subscription. */\nexport interface GuestSubscriptionProperties {\n /** The provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function guestSubscriptionPropertiesSerializer(_item: GuestSubscriptionProperties): any {\n return {};\n}\n\nexport function guestSubscriptionPropertiesDeserializer(item: any): GuestSubscriptionProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The provisioning state of a resource type. */\nexport enum KnownResourceProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled.\n */\nexport type ResourceProvisioningState = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(_item: ProxyResource): any {\n return {};\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(_item: Resource): any {\n return {};\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\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\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\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**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The response of a GuestSubscription list operation. */\nexport interface _GuestSubscriptionListResult {\n /** The GuestSubscription items on this page */\n value: GuestSubscription[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _guestSubscriptionListResultDeserializer(item: any): _GuestSubscriptionListResult {\n return {\n value: guestSubscriptionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function guestSubscriptionArraySerializer(result: Array<GuestSubscription>): any[] {\n return result.map((item) => {\n return guestSubscriptionSerializer(item);\n });\n}\n\nexport function guestSubscriptionArrayDeserializer(result: Array<GuestSubscription>): any[] {\n return result.map((item) => {\n return guestSubscriptionDeserializer(item);\n });\n}\n\n/** Compute limits shared by the subscription. */\nexport interface SharedLimit extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: SharedLimitProperties;\n}\n\nexport function sharedLimitSerializer(item: SharedLimit): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : sharedLimitPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function sharedLimitDeserializer(item: any): SharedLimit {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : sharedLimitPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of the compute shared limit. */\nexport interface SharedLimitProperties {\n /** The limit name properties. */\n readonly resourceName?: LimitName;\n /** The maximum permitted usage of the resource. */\n readonly limit?: number;\n /** The quota units, such as Count. */\n readonly unit?: string;\n /** The provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function sharedLimitPropertiesSerializer(_item: SharedLimitProperties): any {\n return {};\n}\n\nexport function sharedLimitPropertiesDeserializer(item: any): SharedLimitProperties {\n return {\n resourceName: !item[\"resourceName\"]\n ? item[\"resourceName\"]\n : limitNameDeserializer(item[\"resourceName\"]),\n limit: item[\"limit\"],\n unit: item[\"unit\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Properties of the limit name. */\nexport interface LimitName {\n /** The limit name. */\n value: string;\n /** The localized limit name. */\n readonly localizedValue?: string;\n}\n\nexport function limitNameDeserializer(item: any): LimitName {\n return {\n value: item[\"value\"],\n localizedValue: item[\"localizedValue\"],\n };\n}\n\n/** The response of a SharedLimit list operation. */\nexport interface _SharedLimitListResult {\n /** The SharedLimit items on this page */\n value: SharedLimit[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _sharedLimitListResultDeserializer(item: any): _SharedLimitListResult {\n return {\n value: sharedLimitArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function sharedLimitArraySerializer(result: Array<SharedLimit>): any[] {\n return result.map((item) => {\n return sharedLimitSerializer(item);\n });\n}\n\nexport function sharedLimitArrayDeserializer(result: Array<SharedLimit>): any[] {\n return result.map((item) => {\n return sharedLimitDeserializer(item);\n });\n}\n\n/** Compute limit feature. */\nexport interface Feature extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: FeatureProperties;\n}\n\nexport function featureDeserializer(item: any): Feature {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : featurePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of the compute limit feature. */\nexport interface FeatureProperties {\n /** The current state of the feature (for example, Enabled, Disabled). */\n state?: FeatureState;\n /** The provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function featurePropertiesDeserializer(item: any): FeatureProperties {\n return {\n state: item[\"state\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The allowed states for a compute limit feature. */\nexport enum KnownFeatureState {\n /** The feature is enabled. */\n Enabled = \"Enabled\",\n /** The feature is disabled. */\n Disabled = \"Disabled\",\n}\n\n/**\n * The allowed states for a compute limit feature. \\\n * {@link KnownFeatureState} can be used interchangeably with FeatureState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled**: The feature is enabled. \\\n * **Disabled**: The feature is disabled.\n */\nexport type FeatureState = string;\n\n/** The response of a Feature list operation. */\nexport interface _FeatureListResult {\n /** The Feature items on this page */\n value: Feature[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _featureListResultDeserializer(item: any): _FeatureListResult {\n return {\n value: featureArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function featureArrayDeserializer(result: Array<Feature>): any[] {\n return result.map((item) => {\n return featureDeserializer(item);\n });\n}\n\n/** The current status of an async operation. */\nexport interface OperationStatusResult {\n /** Fully qualified ID for the async operation. */\n id?: string;\n /** Name of the async operation. */\n name?: string;\n /** Operation status. */\n status: string;\n /** Percent of the operation that is complete. */\n percentComplete?: number;\n /** The start time of the operation. */\n startTime?: Date;\n /** The end time of the operation. */\n endTime?: Date;\n /** The operations list. */\n operations?: OperationStatusResult[];\n /** If present, details of the operation error. */\n error?: ErrorDetail;\n /** Fully qualified ID of the resource against which the original async operation was started. */\n readonly resourceId?: string;\n}\n\nexport function operationStatusResultDeserializer(item: any): OperationStatusResult {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n status: item[\"status\"],\n percentComplete: item[\"percentComplete\"],\n startTime: !item[\"startTime\"] ? item[\"startTime\"] : new Date(item[\"startTime\"]),\n endTime: !item[\"endTime\"] ? item[\"endTime\"] : new Date(item[\"endTime\"]),\n operations: !item[\"operations\"]\n ? item[\"operations\"]\n : operationStatusResultArrayDeserializer(item[\"operations\"]),\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n resourceId: item[\"resourceId\"],\n };\n}\n\nexport function operationStatusResultArrayDeserializer(\n result: Array<OperationStatusResult>,\n): any[] {\n return result.map((item) => {\n return operationStatusResultDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2025-08-15 API version. */\n V20250815 = \"2025-08-15\",\n /** The 2026-03-20 API version. */\n V20260320 = \"2026-03-20\",\n}\n"]}
@@ -0,0 +1,21 @@
1
+ import type { ComputeLimitClient } from "./computeLimitClient.js";
2
+ import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
3
+ import type { AbortSignalLike } from "@azure/abort-controller";
4
+ import type { PollerLike, OperationState } from "@azure/core-lro";
5
+ export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
6
+ /** Delay to wait until next poll, in milliseconds. */
7
+ updateIntervalInMs?: number;
8
+ /**
9
+ * The signal which can be used to abort requests.
10
+ */
11
+ abortSignal?: AbortSignalLike;
12
+ /** Deserialization function for raw response body */
13
+ processResponseBody?: (result: TResponse) => Promise<TResult>;
14
+ }
15
+ /**
16
+ * Creates a poller from the serialized state of another poller. This can be
17
+ * useful when you want to create pollers on a different host or a poller
18
+ * needs to be constructed after the original one is not in scope.
19
+ */
20
+ export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: ComputeLimitClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
21
+ //# sourceMappingURL=restorePollerHelpers.d.ts.map