@azure/arm-computelimit 1.0.0 → 1.1.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 (256) hide show
  1. package/dist/browser/api/computeLimitContext.js +4 -2
  2. package/dist/browser/api/computeLimitContext.js.map +1 -1
  3. package/dist/browser/api/features/index.d.ts +2 -2
  4. package/dist/browser/api/features/index.js +1 -1
  5. package/dist/browser/api/features/index.js.map +1 -1
  6. package/dist/browser/api/features/operations.d.ts +5 -1
  7. package/dist/browser/api/features/operations.js +43 -8
  8. package/dist/browser/api/features/operations.js.map +1 -1
  9. package/dist/browser/api/features/options.d.ts +8 -0
  10. package/dist/browser/api/features/options.js.map +1 -1
  11. package/dist/browser/api/guestSubscriptions/operations.d.ts +0 -5
  12. package/dist/browser/api/guestSubscriptions/operations.js +5 -10
  13. package/dist/browser/api/guestSubscriptions/operations.js.map +1 -1
  14. package/dist/browser/api/operations/operations.js +2 -2
  15. package/dist/browser/api/operations/operations.js.map +1 -1
  16. package/dist/browser/api/sharedLimits/operations.d.ts +0 -5
  17. package/dist/browser/api/sharedLimits/operations.js +5 -10
  18. package/dist/browser/api/sharedLimits/operations.js.map +1 -1
  19. package/dist/browser/api/vmFamilies/index.d.ts +3 -0
  20. package/dist/browser/api/vmFamilies/index.js +4 -0
  21. package/dist/browser/api/vmFamilies/index.js.map +1 -0
  22. package/dist/browser/api/vmFamilies/operations.d.ts +14 -0
  23. package/dist/browser/api/vmFamilies/operations.js +62 -0
  24. package/dist/browser/api/vmFamilies/operations.js.map +1 -0
  25. package/dist/browser/api/vmFamilies/options.d.ts +10 -0
  26. package/dist/browser/api/vmFamilies/options.js.map +1 -0
  27. package/dist/browser/classic/features/index.d.ts +3 -1
  28. package/dist/browser/classic/features/index.js +2 -1
  29. package/dist/browser/classic/features/index.js.map +1 -1
  30. package/dist/browser/classic/guestSubscriptions/index.d.ts +0 -5
  31. package/dist/browser/classic/guestSubscriptions/index.js.map +1 -1
  32. package/dist/browser/classic/index.d.ts +1 -0
  33. package/dist/browser/classic/index.js.map +1 -1
  34. package/dist/browser/classic/sharedLimits/index.d.ts +0 -5
  35. package/dist/browser/classic/sharedLimits/index.js.map +1 -1
  36. package/dist/browser/classic/vmFamilies/index.d.ts +13 -0
  37. package/dist/browser/classic/vmFamilies/index.js +15 -0
  38. package/dist/browser/classic/vmFamilies/index.js.map +1 -0
  39. package/dist/browser/computeLimitClient.d.ts +3 -0
  40. package/dist/browser/computeLimitClient.js +4 -0
  41. package/dist/browser/computeLimitClient.js.map +1 -1
  42. package/dist/browser/index.d.ts +5 -3
  43. package/dist/browser/index.js +1 -0
  44. package/dist/browser/index.js.map +1 -1
  45. package/dist/browser/models/index.d.ts +1 -1
  46. package/dist/browser/models/index.js.map +1 -1
  47. package/dist/browser/models/models.d.ts +34 -1
  48. package/dist/browser/models/models.js +37 -0
  49. package/dist/browser/models/models.js.map +1 -1
  50. package/dist/browser/restorePollerHelpers.js +3 -2
  51. package/dist/browser/restorePollerHelpers.js.map +1 -1
  52. package/dist/browser/static-helpers/pagingHelpers.js +1 -1
  53. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  54. package/dist/browser/static-helpers/pollingHelpers.js +1 -1
  55. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  56. package/dist/commonjs/api/computeLimitContext.js +4 -2
  57. package/dist/commonjs/api/computeLimitContext.js.map +2 -2
  58. package/dist/commonjs/api/features/index.d.ts +2 -2
  59. package/dist/commonjs/api/features/index.js +2 -0
  60. package/dist/commonjs/api/features/index.js.map +2 -2
  61. package/dist/commonjs/api/features/operations.d.ts +5 -1
  62. package/dist/commonjs/api/features/operations.js +52 -8
  63. package/dist/commonjs/api/features/operations.js.map +2 -2
  64. package/dist/commonjs/api/features/options.d.ts +8 -0
  65. package/dist/commonjs/api/features/options.js.map +1 -1
  66. package/dist/commonjs/api/guestSubscriptions/operations.d.ts +0 -5
  67. package/dist/commonjs/api/guestSubscriptions/operations.js +5 -5
  68. package/dist/commonjs/api/guestSubscriptions/operations.js.map +2 -2
  69. package/dist/commonjs/api/operations/operations.js +2 -2
  70. package/dist/commonjs/api/operations/operations.js.map +1 -1
  71. package/dist/commonjs/api/sharedLimits/operations.d.ts +0 -5
  72. package/dist/commonjs/api/sharedLimits/operations.js +5 -5
  73. package/dist/commonjs/api/sharedLimits/operations.js.map +2 -2
  74. package/dist/commonjs/api/vmFamilies/index.d.ts +3 -0
  75. package/dist/commonjs/api/vmFamilies/index.js +30 -0
  76. package/dist/commonjs/api/vmFamilies/index.js.map +7 -0
  77. package/dist/commonjs/api/vmFamilies/operations.d.ts +14 -0
  78. package/dist/commonjs/api/vmFamilies/operations.js +108 -0
  79. package/dist/commonjs/api/vmFamilies/operations.js.map +7 -0
  80. package/dist/commonjs/api/vmFamilies/options.d.ts +10 -0
  81. package/dist/commonjs/api/vmFamilies/options.js +16 -0
  82. package/dist/commonjs/api/vmFamilies/options.js.map +7 -0
  83. package/dist/commonjs/classic/features/index.d.ts +3 -1
  84. package/dist/commonjs/classic/features/index.js +1 -0
  85. package/dist/commonjs/classic/features/index.js.map +2 -2
  86. package/dist/commonjs/classic/guestSubscriptions/index.d.ts +0 -5
  87. package/dist/commonjs/classic/guestSubscriptions/index.js.map +2 -2
  88. package/dist/commonjs/classic/index.d.ts +1 -0
  89. package/dist/commonjs/classic/index.js.map +1 -1
  90. package/dist/commonjs/classic/sharedLimits/index.d.ts +0 -5
  91. package/dist/commonjs/classic/sharedLimits/index.js.map +2 -2
  92. package/dist/commonjs/classic/vmFamilies/index.d.ts +13 -0
  93. package/dist/commonjs/classic/vmFamilies/index.js +39 -0
  94. package/dist/commonjs/classic/vmFamilies/index.js.map +7 -0
  95. package/dist/commonjs/computeLimitClient.d.ts +3 -0
  96. package/dist/commonjs/computeLimitClient.js +4 -0
  97. package/dist/commonjs/computeLimitClient.js.map +2 -2
  98. package/dist/commonjs/index.d.ts +5 -3
  99. package/dist/commonjs/index.js +5 -0
  100. package/dist/commonjs/index.js.map +2 -2
  101. package/dist/commonjs/models/index.d.ts +1 -1
  102. package/dist/commonjs/models/index.js.map +2 -2
  103. package/dist/commonjs/models/models.d.ts +34 -1
  104. package/dist/commonjs/models/models.js +43 -2
  105. package/dist/commonjs/models/models.js.map +2 -2
  106. package/dist/commonjs/restorePollerHelpers.js +2 -1
  107. package/dist/commonjs/restorePollerHelpers.js.map +2 -2
  108. package/dist/commonjs/static-helpers/pagingHelpers.js +1 -1
  109. package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
  110. package/dist/commonjs/static-helpers/pollingHelpers.js +1 -1
  111. package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
  112. package/dist/commonjs/tsdoc-metadata.json +1 -1
  113. package/dist/esm/api/computeLimitContext.js +4 -2
  114. package/dist/esm/api/computeLimitContext.js.map +1 -1
  115. package/dist/esm/api/features/index.d.ts +2 -2
  116. package/dist/esm/api/features/index.js +1 -1
  117. package/dist/esm/api/features/index.js.map +1 -1
  118. package/dist/esm/api/features/operations.d.ts +5 -1
  119. package/dist/esm/api/features/operations.js +43 -8
  120. package/dist/esm/api/features/operations.js.map +1 -1
  121. package/dist/esm/api/features/options.d.ts +8 -0
  122. package/dist/esm/api/features/options.js.map +1 -1
  123. package/dist/esm/api/guestSubscriptions/operations.d.ts +0 -5
  124. package/dist/esm/api/guestSubscriptions/operations.js +5 -10
  125. package/dist/esm/api/guestSubscriptions/operations.js.map +1 -1
  126. package/dist/esm/api/operations/operations.js +2 -2
  127. package/dist/esm/api/operations/operations.js.map +1 -1
  128. package/dist/esm/api/sharedLimits/operations.d.ts +0 -5
  129. package/dist/esm/api/sharedLimits/operations.js +5 -10
  130. package/dist/esm/api/sharedLimits/operations.js.map +1 -1
  131. package/dist/esm/api/vmFamilies/index.d.ts +3 -0
  132. package/dist/esm/api/vmFamilies/index.js +4 -0
  133. package/dist/esm/api/vmFamilies/index.js.map +1 -0
  134. package/dist/esm/api/vmFamilies/operations.d.ts +14 -0
  135. package/dist/esm/api/vmFamilies/operations.js +62 -0
  136. package/dist/esm/api/vmFamilies/operations.js.map +1 -0
  137. package/dist/esm/api/vmFamilies/options.d.ts +10 -0
  138. package/dist/esm/api/vmFamilies/options.js.map +1 -0
  139. package/dist/esm/classic/features/index.d.ts +3 -1
  140. package/dist/esm/classic/features/index.js +2 -1
  141. package/dist/esm/classic/features/index.js.map +1 -1
  142. package/dist/esm/classic/guestSubscriptions/index.d.ts +0 -5
  143. package/dist/esm/classic/guestSubscriptions/index.js.map +1 -1
  144. package/dist/esm/classic/index.d.ts +1 -0
  145. package/dist/esm/classic/index.js.map +1 -1
  146. package/dist/esm/classic/sharedLimits/index.d.ts +0 -5
  147. package/dist/esm/classic/sharedLimits/index.js.map +1 -1
  148. package/dist/esm/classic/vmFamilies/index.d.ts +13 -0
  149. package/dist/esm/classic/vmFamilies/index.js +15 -0
  150. package/dist/esm/classic/vmFamilies/index.js.map +1 -0
  151. package/dist/esm/computeLimitClient.d.ts +3 -0
  152. package/dist/esm/computeLimitClient.js +4 -0
  153. package/dist/esm/computeLimitClient.js.map +1 -1
  154. package/dist/esm/index.d.ts +5 -3
  155. package/dist/esm/index.js +1 -0
  156. package/dist/esm/index.js.map +1 -1
  157. package/dist/esm/models/index.d.ts +1 -1
  158. package/dist/esm/models/index.js.map +1 -1
  159. package/dist/esm/models/models.d.ts +34 -1
  160. package/dist/esm/models/models.js +37 -0
  161. package/dist/esm/models/models.js.map +1 -1
  162. package/dist/esm/restorePollerHelpers.js +3 -2
  163. package/dist/esm/restorePollerHelpers.js.map +1 -1
  164. package/dist/esm/static-helpers/pagingHelpers.js +1 -1
  165. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  166. package/dist/esm/static-helpers/pollingHelpers.js +1 -1
  167. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  168. package/package.json +32 -38
  169. package/dist/react-native/api/computeLimitContext.d.ts +0 -22
  170. package/dist/react-native/api/computeLimitContext.js +0 -24
  171. package/dist/react-native/api/computeLimitContext.js.map +0 -1
  172. package/dist/react-native/api/features/index.d.ts +0 -3
  173. package/dist/react-native/api/features/index.js +0 -4
  174. package/dist/react-native/api/features/index.js.map +0 -1
  175. package/dist/react-native/api/features/operations.d.ts +0 -19
  176. package/dist/react-native/api/features/operations.js +0 -95
  177. package/dist/react-native/api/features/operations.js.map +0 -1
  178. package/dist/react-native/api/features/options.d.ts +0 -13
  179. package/dist/react-native/api/features/options.js.map +0 -1
  180. package/dist/react-native/api/guestSubscriptions/index.d.ts +0 -3
  181. package/dist/react-native/api/guestSubscriptions/index.js +0 -4
  182. package/dist/react-native/api/guestSubscriptions/index.js.map +0 -1
  183. package/dist/react-native/api/guestSubscriptions/operations.d.ts +0 -27
  184. package/dist/react-native/api/guestSubscriptions/operations.js +0 -125
  185. package/dist/react-native/api/guestSubscriptions/operations.js.map +0 -1
  186. package/dist/react-native/api/guestSubscriptions/options.d.ts +0 -14
  187. package/dist/react-native/api/guestSubscriptions/options.js.map +0 -1
  188. package/dist/react-native/api/index.d.ts +0 -3
  189. package/dist/react-native/api/index.js +0 -4
  190. package/dist/react-native/api/index.js.map +0 -1
  191. package/dist/react-native/api/operations/index.d.ts +0 -3
  192. package/dist/react-native/api/operations/index.js +0 -4
  193. package/dist/react-native/api/operations/index.js.map +0 -1
  194. package/dist/react-native/api/operations/operations.d.ts +0 -10
  195. package/dist/react-native/api/operations/operations.js +0 -31
  196. package/dist/react-native/api/operations/operations.js.map +0 -1
  197. package/dist/react-native/api/operations/options.d.ts +0 -5
  198. package/dist/react-native/api/operations/options.js +0 -4
  199. package/dist/react-native/api/operations/options.js.map +0 -1
  200. package/dist/react-native/api/sharedLimits/index.d.ts +0 -3
  201. package/dist/react-native/api/sharedLimits/index.js +0 -4
  202. package/dist/react-native/api/sharedLimits/index.js.map +0 -1
  203. package/dist/react-native/api/sharedLimits/operations.d.ts +0 -27
  204. package/dist/react-native/api/sharedLimits/operations.js +0 -121
  205. package/dist/react-native/api/sharedLimits/operations.js.map +0 -1
  206. package/dist/react-native/api/sharedLimits/options.d.ts +0 -14
  207. package/dist/react-native/api/sharedLimits/options.js +0 -4
  208. package/dist/react-native/api/sharedLimits/options.js.map +0 -1
  209. package/dist/react-native/classic/features/index.d.ts +0 -16
  210. package/dist/react-native/classic/features/index.js +0 -16
  211. package/dist/react-native/classic/features/index.js.map +0 -1
  212. package/dist/react-native/classic/guestSubscriptions/index.d.ts +0 -22
  213. package/dist/react-native/classic/guestSubscriptions/index.js +0 -17
  214. package/dist/react-native/classic/guestSubscriptions/index.js.map +0 -1
  215. package/dist/react-native/classic/index.d.ts +0 -5
  216. package/dist/react-native/classic/index.js +0 -4
  217. package/dist/react-native/classic/index.js.map +0 -1
  218. package/dist/react-native/classic/operations/index.d.ts +0 -11
  219. package/dist/react-native/classic/operations/index.js +0 -14
  220. package/dist/react-native/classic/operations/index.js.map +0 -1
  221. package/dist/react-native/classic/sharedLimits/index.d.ts +0 -22
  222. package/dist/react-native/classic/sharedLimits/index.js +0 -17
  223. package/dist/react-native/classic/sharedLimits/index.js.map +0 -1
  224. package/dist/react-native/computeLimitClient.d.ts +0 -24
  225. package/dist/react-native/computeLimitClient.js +0 -37
  226. package/dist/react-native/computeLimitClient.js.map +0 -1
  227. package/dist/react-native/index.d.ts +0 -18
  228. package/dist/react-native/index.js +0 -8
  229. package/dist/react-native/index.js.map +0 -1
  230. package/dist/react-native/logger.d.ts +0 -2
  231. package/dist/react-native/logger.js +0 -5
  232. package/dist/react-native/logger.js.map +0 -1
  233. package/dist/react-native/models/index.d.ts +0 -3
  234. package/dist/react-native/models/index.js +0 -4
  235. package/dist/react-native/models/index.js.map +0 -1
  236. package/dist/react-native/models/models.d.ts +0 -308
  237. package/dist/react-native/models/models.js +0 -304
  238. package/dist/react-native/models/models.js.map +0 -1
  239. package/dist/react-native/package.json +0 -3
  240. package/dist/react-native/restorePollerHelpers.d.ts +0 -21
  241. package/dist/react-native/restorePollerHelpers.js +0 -94
  242. package/dist/react-native/restorePollerHelpers.js.map +0 -1
  243. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +0 -22
  244. package/dist/react-native/static-helpers/cloudSettingHelpers.js +0 -38
  245. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +0 -1
  246. package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -74
  247. package/dist/react-native/static-helpers/pagingHelpers.js +0 -143
  248. package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
  249. package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -34
  250. package/dist/react-native/static-helpers/pollingHelpers.js +0 -95
  251. package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
  252. package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
  253. package/dist/react-native/static-helpers/urlTemplate.js +0 -200
  254. package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
  255. /package/dist/{react-native/api/features → browser/api/vmFamilies}/options.js +0 -0
  256. /package/dist/{react-native/api/guestSubscriptions → esm/api/vmFamilies}/options.js +0 -0
@@ -1,10 +1,12 @@
1
1
  import type { ComputeLimitContext } from "../../api/computeLimitContext.js";
2
- import type { FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams } from "../../api/features/options.js";
2
+ import type { FeaturesDisableOptionalParams, FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams } from "../../api/features/options.js";
3
3
  import type { Feature, OperationStatusResult } from "../../models/models.js";
4
4
  import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
5
  import type { PollerLike, OperationState } from "@azure/core-lro";
6
6
  /** Interface representing a Features operations. */
7
7
  export interface FeaturesOperations {
8
+ /** Disables a compute limit feature for the subscription at the specified location. */
9
+ disable: (location: string, featureName: string, options?: FeaturesDisableOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;
8
10
  /** Enables a compute limit feature for the subscription at the specified location. */
9
11
  enable: (location: string, featureName: string, options?: FeaturesEnableOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;
10
12
  /** Lists all compute limit features for the subscription at the specified location. */
@@ -23,6 +23,7 @@ module.exports = __toCommonJS(features_exports);
23
23
  var import_operations = require("../../api/features/operations.js");
24
24
  function _getFeatures(context) {
25
25
  return {
26
+ disable: (location, featureName, options) => (0, import_operations.disable)(context, location, featureName, options),
26
27
  enable: (location, featureName, options) => (0, import_operations.enable)(context, location, featureName, options),
27
28
  listBySubscriptionLocationResource: (location, options) => (0, import_operations.listBySubscriptionLocationResource)(context, location, options),
28
29
  get: (location, featureName, options) => (0, import_operations.get)(context, location, featureName, options)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/classic/features/index.ts"],
4
- "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"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAAgE;AA+BhE,SAAS,aAAa,SAA8B;AAClD,SAAO;AAAA,IACL,QAAQ,CAAC,UAAkB,aAAqB,gBAC9C,0BAAO,SAAS,UAAU,aAAa,OAAO;AAAA,IAChD,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,KAAK,CAAC,UAAkB,aAAqB,gBAC3C,uBAAI,SAAS,UAAU,aAAa,OAAO;AAAA,EAC/C;AACF;AAEO,SAAS,uBAAuB,SAAkD;AACvF,SAAO;AAAA,IACL,GAAG,aAAa,OAAO;AAAA,EACzB;AACF;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n disable,\n enable,\n listBySubscriptionLocationResource,\n get,\n} from \"../../api/features/operations.js\";\nimport type {\n FeaturesDisableOptionalParams,\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 /** Disables a compute limit feature for the subscription at the specified location. */\n disable: (\n location: string,\n featureName: string,\n options?: FeaturesDisableOptionalParams,\n ) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\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 disable: (location: string, featureName: string, options?: FeaturesDisableOptionalParams) =>\n disable(context, location, featureName, options),\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"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;AAsCP,SAAS,aAAa,SAA8B;AAClD,SAAO;AAAA,IACL,SAAS,CAAC,UAAkB,aAAqB,gBAC/C,2BAAQ,SAAS,UAAU,aAAa,OAAO;AAAA,IACjD,QAAQ,CAAC,UAAkB,aAAqB,gBAC9C,0BAAO,SAAS,UAAU,aAAa,OAAO;AAAA,IAChD,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,KAAK,CAAC,UAAkB,aAAqB,gBAC3C,uBAAI,SAAS,UAAU,aAAa,OAAO;AAAA,EAC/C;AACF;AAEO,SAAS,uBAAuB,SAAkD;AACvF,SAAO;AAAA,IACL,GAAG,aAAa,OAAO;AAAA,EACzB;AACF;",
6
6
  "names": []
7
7
  }
@@ -7,11 +7,6 @@ export interface GuestSubscriptionsOperations {
7
7
  /** Lists all guest subscriptions in a location. */
8
8
  listBySubscriptionLocationResource: (location: string, options?: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams) => PagedAsyncIterableIterator<GuestSubscription>;
9
9
  /** Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription. */
10
- /**
11
- * @fixme delete is a reserved word that cannot be used as an operation name.
12
- * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
13
- * to the operation to override the generated name.
14
- */
15
10
  delete: (location: string, guestSubscriptionId: string, options?: GuestSubscriptionsDeleteOptionalParams) => Promise<void>;
16
11
  /** Adds a subscription as a guest to consume the compute limits shared by the host subscription. */
17
12
  create: (location: string, guestSubscriptionId: string, resource: GuestSubscription, options?: GuestSubscriptionsCreateOptionalParams) => Promise<GuestSubscription>;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/classic/guestSubscriptions/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n listBySubscriptionLocationResource,\n $delete,\n create,\n get,\n} from \"../../api/guestSubscriptions/operations.js\";\nimport type {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"../../api/guestSubscriptions/options.js\";\nimport type { GuestSubscription } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a GuestSubscriptions operations. */\nexport interface GuestSubscriptionsOperations {\n /** Lists all guest subscriptions in a location. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<GuestSubscription>;\n /** Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription. */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsDeleteOptionalParams,\n ) => Promise<void>;\n /** Adds a subscription as a guest to consume the compute limits shared by the host subscription. */\n create: (\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options?: GuestSubscriptionsCreateOptionalParams,\n ) => Promise<GuestSubscription>;\n /** Gets the properties of a guest subscription. */\n get: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsGetOptionalParams,\n ) => Promise<GuestSubscription>;\n}\n\nfunction _getGuestSubscriptions(context: ComputeLimitContext) {\n return {\n listBySubscriptionLocationResource: (\n location: string,\n options?: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n delete: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsDeleteOptionalParams,\n ) => $delete(context, location, guestSubscriptionId, options),\n create: (\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options?: GuestSubscriptionsCreateOptionalParams,\n ) => create(context, location, guestSubscriptionId, resource, options),\n get: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsGetOptionalParams,\n ) => get(context, location, guestSubscriptionId, options),\n };\n}\n\nexport function _getGuestSubscriptionsOperations(\n context: ComputeLimitContext,\n): GuestSubscriptionsOperations {\n return {\n ..._getGuestSubscriptions(context),\n };\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;AA2CP,SAAS,uBAAuB,SAA8B;AAC5D,SAAO;AAAA,IACL,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,QAAQ,CACN,UACA,qBACA,gBACG,2BAAQ,SAAS,UAAU,qBAAqB,OAAO;AAAA,IAC5D,QAAQ,CACN,UACA,qBACA,UACA,gBACG,0BAAO,SAAS,UAAU,qBAAqB,UAAU,OAAO;AAAA,IACrE,KAAK,CACH,UACA,qBACA,gBACG,uBAAI,SAAS,UAAU,qBAAqB,OAAO;AAAA,EAC1D;AACF;AAEO,SAAS,iCACd,SAC8B;AAC9B,SAAO;AAAA,IACL,GAAG,uBAAuB,OAAO;AAAA,EACnC;AACF;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n listBySubscriptionLocationResource,\n $delete,\n create,\n get,\n} from \"../../api/guestSubscriptions/operations.js\";\nimport type {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"../../api/guestSubscriptions/options.js\";\nimport type { GuestSubscription } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a GuestSubscriptions operations. */\nexport interface GuestSubscriptionsOperations {\n /** Lists all guest subscriptions in a location. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<GuestSubscription>;\n /** Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription. */\n delete: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsDeleteOptionalParams,\n ) => Promise<void>;\n /** Adds a subscription as a guest to consume the compute limits shared by the host subscription. */\n create: (\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options?: GuestSubscriptionsCreateOptionalParams,\n ) => Promise<GuestSubscription>;\n /** Gets the properties of a guest subscription. */\n get: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsGetOptionalParams,\n ) => Promise<GuestSubscription>;\n}\n\nfunction _getGuestSubscriptions(context: ComputeLimitContext) {\n return {\n listBySubscriptionLocationResource: (\n location: string,\n options?: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n delete: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsDeleteOptionalParams,\n ) => $delete(context, location, guestSubscriptionId, options),\n create: (\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options?: GuestSubscriptionsCreateOptionalParams,\n ) => create(context, location, guestSubscriptionId, resource, options),\n get: (\n location: string,\n guestSubscriptionId: string,\n options?: GuestSubscriptionsGetOptionalParams,\n ) => get(context, location, guestSubscriptionId, options),\n };\n}\n\nexport function _getGuestSubscriptionsOperations(\n context: ComputeLimitContext,\n): GuestSubscriptionsOperations {\n return {\n ..._getGuestSubscriptions(context),\n };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;AAsCP,SAAS,uBAAuB,SAA8B;AAC5D,SAAO;AAAA,IACL,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,QAAQ,CACN,UACA,qBACA,gBACG,2BAAQ,SAAS,UAAU,qBAAqB,OAAO;AAAA,IAC5D,QAAQ,CACN,UACA,qBACA,UACA,gBACG,0BAAO,SAAS,UAAU,qBAAqB,UAAU,OAAO;AAAA,IACrE,KAAK,CACH,UACA,qBACA,gBACG,uBAAI,SAAS,UAAU,qBAAqB,OAAO;AAAA,EAC1D;AACF;AAEO,SAAS,iCACd,SAC8B;AAC9B,SAAO;AAAA,IACL,GAAG,uBAAuB,OAAO;AAAA,EACnC;AACF;",
6
6
  "names": []
7
7
  }
@@ -2,4 +2,5 @@ export type { FeaturesOperations } from "./features/index.js";
2
2
  export type { GuestSubscriptionsOperations } from "./guestSubscriptions/index.js";
3
3
  export type { OperationsOperations } from "./operations/index.js";
4
4
  export type { SharedLimitsOperations } from "./sharedLimits/index.js";
5
+ export type { VmFamiliesOperations } from "./vmFamilies/index.js";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/classic/index.ts"],
4
- "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"],
4
+ "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\";\nexport type { VmFamiliesOperations } from \"./vmFamilies/index.js\";\n"],
5
5
  "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -7,11 +7,6 @@ export interface SharedLimitsOperations {
7
7
  /** Lists all compute limits shared by the host subscription with its guest subscriptions. */
8
8
  listBySubscriptionLocationResource: (location: string, options?: SharedLimitsListBySubscriptionLocationResourceOptionalParams) => PagedAsyncIterableIterator<SharedLimit>;
9
9
  /** Disables sharing of a compute limit by the host subscription with its guest subscriptions. */
10
- /**
11
- * @fixme delete is a reserved word that cannot be used as an operation name.
12
- * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
13
- * to the operation to override the generated name.
14
- */
15
10
  delete: (location: string, name: string, options?: SharedLimitsDeleteOptionalParams) => Promise<void>;
16
11
  /** Enables sharing of a compute limit by the host subscription with its guest subscriptions. */
17
12
  create: (location: string, name: string, resource: SharedLimit, options?: SharedLimitsCreateOptionalParams) => Promise<SharedLimit>;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/classic/sharedLimits/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n listBySubscriptionLocationResource,\n $delete,\n create,\n get,\n} from \"../../api/sharedLimits/operations.js\";\nimport type {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"../../api/sharedLimits/options.js\";\nimport type { SharedLimit } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a SharedLimits operations. */\nexport interface SharedLimitsOperations {\n /** Lists all compute limits shared by the host subscription with its guest subscriptions. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<SharedLimit>;\n /** Disables sharing of a compute limit by the host subscription with its guest subscriptions. */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n location: string,\n name: string,\n options?: SharedLimitsDeleteOptionalParams,\n ) => Promise<void>;\n /** Enables sharing of a compute limit by the host subscription with its guest subscriptions. */\n create: (\n location: string,\n name: string,\n resource: SharedLimit,\n options?: SharedLimitsCreateOptionalParams,\n ) => Promise<SharedLimit>;\n /** Gets the properties of a compute limit shared by the host subscription with its guest subscriptions. */\n get: (\n location: string,\n name: string,\n options?: SharedLimitsGetOptionalParams,\n ) => Promise<SharedLimit>;\n}\n\nfunction _getSharedLimits(context: ComputeLimitContext) {\n return {\n listBySubscriptionLocationResource: (\n location: string,\n options?: SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n delete: (location: string, name: string, options?: SharedLimitsDeleteOptionalParams) =>\n $delete(context, location, name, options),\n create: (\n location: string,\n name: string,\n resource: SharedLimit,\n options?: SharedLimitsCreateOptionalParams,\n ) => create(context, location, name, resource, options),\n get: (location: string, name: string, options?: SharedLimitsGetOptionalParams) =>\n get(context, location, name, options),\n };\n}\n\nexport function _getSharedLimitsOperations(context: ComputeLimitContext): SharedLimitsOperations {\n return {\n ..._getSharedLimits(context),\n };\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;AA2CP,SAAS,iBAAiB,SAA8B;AACtD,SAAO;AAAA,IACL,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,QAAQ,CAAC,UAAkB,MAAc,gBACvC,2BAAQ,SAAS,UAAU,MAAM,OAAO;AAAA,IAC1C,QAAQ,CACN,UACA,MACA,UACA,gBACG,0BAAO,SAAS,UAAU,MAAM,UAAU,OAAO;AAAA,IACtD,KAAK,CAAC,UAAkB,MAAc,gBACpC,uBAAI,SAAS,UAAU,MAAM,OAAO;AAAA,EACxC;AACF;AAEO,SAAS,2BAA2B,SAAsD;AAC/F,SAAO;AAAA,IACL,GAAG,iBAAiB,OAAO;AAAA,EAC7B;AACF;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport {\n listBySubscriptionLocationResource,\n $delete,\n create,\n get,\n} from \"../../api/sharedLimits/operations.js\";\nimport type {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"../../api/sharedLimits/options.js\";\nimport type { SharedLimit } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a SharedLimits operations. */\nexport interface SharedLimitsOperations {\n /** Lists all compute limits shared by the host subscription with its guest subscriptions. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<SharedLimit>;\n /** Disables sharing of a compute limit by the host subscription with its guest subscriptions. */\n delete: (\n location: string,\n name: string,\n options?: SharedLimitsDeleteOptionalParams,\n ) => Promise<void>;\n /** Enables sharing of a compute limit by the host subscription with its guest subscriptions. */\n create: (\n location: string,\n name: string,\n resource: SharedLimit,\n options?: SharedLimitsCreateOptionalParams,\n ) => Promise<SharedLimit>;\n /** Gets the properties of a compute limit shared by the host subscription with its guest subscriptions. */\n get: (\n location: string,\n name: string,\n options?: SharedLimitsGetOptionalParams,\n ) => Promise<SharedLimit>;\n}\n\nfunction _getSharedLimits(context: ComputeLimitContext) {\n return {\n listBySubscriptionLocationResource: (\n location: string,\n options?: SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n delete: (location: string, name: string, options?: SharedLimitsDeleteOptionalParams) =>\n $delete(context, location, name, options),\n create: (\n location: string,\n name: string,\n resource: SharedLimit,\n options?: SharedLimitsCreateOptionalParams,\n ) => create(context, location, name, resource, options),\n get: (location: string, name: string, options?: SharedLimitsGetOptionalParams) =>\n get(context, location, name, options),\n };\n}\n\nexport function _getSharedLimitsOperations(context: ComputeLimitContext): SharedLimitsOperations {\n return {\n ..._getSharedLimits(context),\n };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAKO;AAsCP,SAAS,iBAAiB,SAA8B;AACtD,SAAO;AAAA,IACL,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,QAAQ,CAAC,UAAkB,MAAc,gBACvC,2BAAQ,SAAS,UAAU,MAAM,OAAO;AAAA,IAC1C,QAAQ,CACN,UACA,MACA,UACA,gBACG,0BAAO,SAAS,UAAU,MAAM,UAAU,OAAO;AAAA,IACtD,KAAK,CAAC,UAAkB,MAAc,gBACpC,uBAAI,SAAS,UAAU,MAAM,OAAO;AAAA,EACxC;AACF;AAEO,SAAS,2BAA2B,SAAsD;AAC/F,SAAO;AAAA,IACL,GAAG,iBAAiB,OAAO;AAAA,EAC7B;AACF;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,13 @@
1
+ import type { ComputeLimitContext } from "../../api/computeLimitContext.js";
2
+ import type { VmFamiliesListBySubscriptionLocationResourceOptionalParams, VmFamiliesGetOptionalParams } from "../../api/vmFamilies/options.js";
3
+ import type { VmFamily } from "../../models/models.js";
4
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ /** Interface representing a VmFamilies operations. */
6
+ export interface VmFamiliesOperations {
7
+ /** Lists all VM families for the subscription at the specified location. */
8
+ listBySubscriptionLocationResource: (location: string, options?: VmFamiliesListBySubscriptionLocationResourceOptionalParams) => PagedAsyncIterableIterator<VmFamily>;
9
+ /** Gets the properties of a VM family. */
10
+ get: (location: string, vmFamilyName: string, options?: VmFamiliesGetOptionalParams) => Promise<VmFamily>;
11
+ }
12
+ export declare function _getVmFamiliesOperations(context: ComputeLimitContext): VmFamiliesOperations;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,39 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var vmFamilies_exports = {};
19
+ __export(vmFamilies_exports, {
20
+ _getVmFamiliesOperations: () => _getVmFamiliesOperations
21
+ });
22
+ module.exports = __toCommonJS(vmFamilies_exports);
23
+ var import_operations = require("../../api/vmFamilies/operations.js");
24
+ function _getVmFamilies(context) {
25
+ return {
26
+ listBySubscriptionLocationResource: (location, options) => (0, import_operations.listBySubscriptionLocationResource)(context, location, options),
27
+ get: (location, vmFamilyName, options) => (0, import_operations.get)(context, location, vmFamilyName, options)
28
+ };
29
+ }
30
+ function _getVmFamiliesOperations(context) {
31
+ return {
32
+ ..._getVmFamilies(context)
33
+ };
34
+ }
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+ 0 && (module.exports = {
37
+ _getVmFamiliesOperations
38
+ });
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/classic/vmFamilies/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext } from \"../../api/computeLimitContext.js\";\nimport { listBySubscriptionLocationResource, get } from \"../../api/vmFamilies/operations.js\";\nimport type {\n VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n VmFamiliesGetOptionalParams,\n} from \"../../api/vmFamilies/options.js\";\nimport type { VmFamily } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a VmFamilies operations. */\nexport interface VmFamiliesOperations {\n /** Lists all VM families for the subscription at the specified location. */\n listBySubscriptionLocationResource: (\n location: string,\n options?: VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n ) => PagedAsyncIterableIterator<VmFamily>;\n /** Gets the properties of a VM family. */\n get: (\n location: string,\n vmFamilyName: string,\n options?: VmFamiliesGetOptionalParams,\n ) => Promise<VmFamily>;\n}\n\nfunction _getVmFamilies(context: ComputeLimitContext) {\n return {\n listBySubscriptionLocationResource: (\n location: string,\n options?: VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n ) => listBySubscriptionLocationResource(context, location, options),\n get: (location: string, vmFamilyName: string, options?: VmFamiliesGetOptionalParams) =>\n get(context, location, vmFamilyName, options),\n };\n}\n\nexport function _getVmFamiliesOperations(context: ComputeLimitContext): VmFamiliesOperations {\n return {\n ..._getVmFamilies(context),\n };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAAwD;AAuBxD,SAAS,eAAe,SAA8B;AACpD,SAAO;AAAA,IACL,oCAAoC,CAClC,UACA,gBACG,sDAAmC,SAAS,UAAU,OAAO;AAAA,IAClE,KAAK,CAAC,UAAkB,cAAsB,gBAC5C,uBAAI,SAAS,UAAU,cAAc,OAAO;AAAA,EAChD;AACF;AAEO,SAAS,yBAAyB,SAAoD;AAC3F,SAAO;AAAA,IACL,GAAG,eAAe,OAAO;AAAA,EAC3B;AACF;",
6
+ "names": []
7
+ }
@@ -3,6 +3,7 @@ import type { FeaturesOperations } from "./classic/features/index.js";
3
3
  import type { GuestSubscriptionsOperations } from "./classic/guestSubscriptions/index.js";
4
4
  import type { OperationsOperations } from "./classic/operations/index.js";
5
5
  import type { SharedLimitsOperations } from "./classic/sharedLimits/index.js";
6
+ import type { VmFamiliesOperations } from "./classic/vmFamilies/index.js";
6
7
  import type { TokenCredential } from "@azure/core-auth";
7
8
  import type { Pipeline } from "@azure/core-rest-pipeline";
8
9
  export type { ComputeLimitClientOptionalParams } from "./api/computeLimitContext.js";
@@ -12,6 +13,8 @@ export declare class ComputeLimitClient {
12
13
  readonly pipeline: Pipeline;
13
14
  /** Microsoft Azure Compute Limit Resource Provider. */
14
15
  constructor(credential: TokenCredential, subscriptionId: string, options?: ComputeLimitClientOptionalParams);
16
+ /** The operation groups for vmFamilies */
17
+ readonly vmFamilies: VmFamiliesOperations;
15
18
  /** The operation groups for features */
16
19
  readonly features: FeaturesOperations;
17
20
  /** The operation groups for sharedLimits */
@@ -25,6 +25,7 @@ var import_features = require("./classic/features/index.js");
25
25
  var import_guestSubscriptions = require("./classic/guestSubscriptions/index.js");
26
26
  var import_operations = require("./classic/operations/index.js");
27
27
  var import_sharedLimits = require("./classic/sharedLimits/index.js");
28
+ var import_vmFamilies = require("./classic/vmFamilies/index.js");
28
29
  class ComputeLimitClient {
29
30
  _client;
30
31
  /** The pipeline used by this client to make requests */
@@ -38,11 +39,14 @@ class ComputeLimitClient {
38
39
  userAgentOptions: { userAgentPrefix }
39
40
  });
40
41
  this.pipeline = this._client.pipeline;
42
+ this.vmFamilies = (0, import_vmFamilies._getVmFamiliesOperations)(this._client);
41
43
  this.features = (0, import_features._getFeaturesOperations)(this._client);
42
44
  this.sharedLimits = (0, import_sharedLimits._getSharedLimitsOperations)(this._client);
43
45
  this.guestSubscriptions = (0, import_guestSubscriptions._getGuestSubscriptionsOperations)(this._client);
44
46
  this.operations = (0, import_operations._getOperationsOperations)(this._client);
45
47
  }
48
+ /** The operation groups for vmFamilies */
49
+ vmFamilies;
46
50
  /** The operation groups for features */
47
51
  features;
48
52
  /** The operation groups for sharedLimits */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/computeLimitClient.ts"],
4
- "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"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,iBAAmC;AAEnC,sBAAuC;AAEvC,gCAAiD;AAEjD,wBAAyC;AAEzC,0BAA2C;AAMpC,MAAM,mBAAmB;AAAA,EACtB;AAAA;AAAA,EAEQ;AAAA;AAAA,EAGhB,YACE,YACA,gBACA,UAA4C,CAAC,GAC7C;AACA,UAAM,oBAAoB,SAAS,kBAAkB;AACrD,UAAM,kBAAkB,oBACpB,GAAG,iBAAiB,qBACpB;AACJ,SAAK,cAAU,+BAAmB,YAAY,gBAAgB;AAAA,MAC5D,GAAG;AAAA,MACH,kBAAkB,EAAE,gBAAgB;AAAA,IACtC,CAAC;AACD,SAAK,WAAW,KAAK,QAAQ;AAC7B,SAAK,eAAW,wCAAuB,KAAK,OAAO;AACnD,SAAK,mBAAe,gDAA2B,KAAK,OAAO;AAC3D,SAAK,yBAAqB,4DAAiC,KAAK,OAAO;AACvE,SAAK,iBAAa,4CAAyB,KAAK,OAAO;AAAA,EACzD;AAAA;AAAA,EAGgB;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAClB;",
4
+ "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 { VmFamiliesOperations } from \"./classic/vmFamilies/index.js\";\nimport { _getVmFamiliesOperations } from \"./classic/vmFamilies/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.vmFamilies = _getVmFamiliesOperations(this._client);\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 vmFamilies */\n public readonly vmFamilies: VmFamiliesOperations;\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"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,iBAAmC;AAEnC,sBAAuC;AAEvC,gCAAiD;AAEjD,wBAAyC;AAEzC,0BAA2C;AAE3C,wBAAyC;AAMlC,MAAM,mBAAmB;AAAA,EACtB;AAAA;AAAA,EAEQ;AAAA;AAAA,EAGhB,YACE,YACA,gBACA,UAA4C,CAAC,GAC7C;AACA,UAAM,oBAAoB,SAAS,kBAAkB;AACrD,UAAM,kBAAkB,oBACpB,GAAG,iBAAiB,qBACpB;AACJ,SAAK,cAAU,+BAAmB,YAAY,gBAAgB;AAAA,MAC5D,GAAG;AAAA,MACH,kBAAkB,EAAE,gBAAgB;AAAA,IACtC,CAAC;AACD,SAAK,WAAW,KAAK,QAAQ;AAC7B,SAAK,iBAAa,4CAAyB,KAAK,OAAO;AACvD,SAAK,eAAW,wCAAuB,KAAK,OAAO;AACnD,SAAK,mBAAe,gDAA2B,KAAK,OAAO;AAC3D,SAAK,yBAAqB,4DAAiC,KAAK,OAAO;AACvE,SAAK,iBAAa,4CAAyB,KAAK,OAAO;AAAA,EACzD;AAAA;AAAA,EAGgB;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAAA;AAAA,EAEA;AAClB;",
6
6
  "names": []
7
7
  }
@@ -4,15 +4,17 @@ import type { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "
4
4
  export { ComputeLimitClient } from "./computeLimitClient.js";
5
5
  export type { RestorePollerOptions } from "./restorePollerHelpers.js";
6
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";
7
+ export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, ResourceProvisioningState, ProxyResource, Resource, SystemData, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, Feature, FeatureProperties, FeatureState, FeatureEnableRequest, OperationStatusResult, VmFamily, VmFamilyProperties, } from "./models/index.js";
8
8
  export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models/index.js";
9
9
  export type { ComputeLimitClientOptionalParams } from "./api/index.js";
10
- export type { FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams, } from "./api/features/index.js";
10
+ export type { FeaturesDisableOptionalParams, FeaturesEnableOptionalParams, FeaturesListBySubscriptionLocationResourceOptionalParams, FeaturesGetOptionalParams, } from "./api/features/index.js";
11
11
  export type { GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams, GuestSubscriptionsDeleteOptionalParams, GuestSubscriptionsCreateOptionalParams, GuestSubscriptionsGetOptionalParams, } from "./api/guestSubscriptions/index.js";
12
12
  export type { OperationsListOptionalParams } from "./api/operations/index.js";
13
13
  export type { SharedLimitsListBySubscriptionLocationResourceOptionalParams, SharedLimitsDeleteOptionalParams, SharedLimitsCreateOptionalParams, SharedLimitsGetOptionalParams, } from "./api/sharedLimits/index.js";
14
- export type { FeaturesOperations, GuestSubscriptionsOperations, OperationsOperations, SharedLimitsOperations, } from "./classic/index.js";
14
+ export type { VmFamiliesListBySubscriptionLocationResourceOptionalParams, VmFamiliesGetOptionalParams, } from "./api/vmFamilies/index.js";
15
+ export type { FeaturesOperations, GuestSubscriptionsOperations, OperationsOperations, SharedLimitsOperations, VmFamiliesOperations, } from "./classic/index.js";
15
16
  export type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
16
17
  export { AzureClouds };
17
18
  export type { AzureSupportedClouds };
19
+ export { RestError, isRestError } from "@azure/core-rest-pipeline";
18
20
  //# sourceMappingURL=index.d.ts.map
@@ -25,6 +25,8 @@ __export(src_exports, {
25
25
  KnownOrigin: () => import_models.KnownOrigin,
26
26
  KnownResourceProvisioningState: () => import_models.KnownResourceProvisioningState,
27
27
  KnownVersions: () => import_models.KnownVersions,
28
+ RestError: () => import_core_rest_pipeline.RestError,
29
+ isRestError: () => import_core_rest_pipeline.isRestError,
28
30
  restorePoller: () => import_restorePollerHelpers.restorePoller
29
31
  });
30
32
  module.exports = __toCommonJS(src_exports);
@@ -32,6 +34,7 @@ var import_cloudSettingHelpers = require("./static-helpers/cloudSettingHelpers.j
32
34
  var import_computeLimitClient = require("./computeLimitClient.js");
33
35
  var import_restorePollerHelpers = require("./restorePollerHelpers.js");
34
36
  var import_models = require("./models/index.js");
37
+ var import_core_rest_pipeline = require("@azure/core-rest-pipeline");
35
38
  // Annotate the CommonJS export names for ESM import in node:
36
39
  0 && (module.exports = {
37
40
  AzureClouds,
@@ -42,6 +45,8 @@ var import_models = require("./models/index.js");
42
45
  KnownOrigin,
43
46
  KnownResourceProvisioningState,
44
47
  KnownVersions,
48
+ RestError,
49
+ isRestError,
45
50
  restorePoller
46
51
  });
47
52
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "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"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,iCAA4B;AAO5B,gCAAmC;AAEnC,kCAA8B;AAwB9B,oBAOO;",
4
+ "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 FeatureEnableRequest,\n OperationStatusResult,\n VmFamily,\n VmFamilyProperties,\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 FeaturesDisableOptionalParams,\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 VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n VmFamiliesGetOptionalParams,\n} from \"./api/vmFamilies/index.js\";\nexport type {\n FeaturesOperations,\n GuestSubscriptionsOperations,\n OperationsOperations,\n SharedLimitsOperations,\n VmFamiliesOperations,\n} from \"./classic/index.js\";\nexport type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds };\nexport type { AzureSupportedClouds };\nexport { RestError, isRestError } from \"@azure/core-rest-pipeline\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,iCAA4B;AAO5B,gCAAmC;AAEnC,kCAA8B;AA2B9B,oBAOO;AAmCP,gCAAuC;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,3 @@
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";
1
+ export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GuestSubscription, GuestSubscriptionProperties, ResourceProvisioningState, ProxyResource, Resource, SystemData, CreatedByType, SharedLimit, SharedLimitProperties, LimitName, Feature, FeatureProperties, FeatureState, FeatureEnableRequest, OperationStatusResult, VmFamily, VmFamilyProperties, } from "./models.js";
2
2
  export { KnownOrigin, KnownActionType, KnownResourceProvisioningState, KnownCreatedByType, KnownFeatureState, KnownVersions, } from "./models.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/models/index.ts"],
4
- "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"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA0BA,oBAOO;",
4
+ "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 FeatureEnableRequest,\n OperationStatusResult,\n VmFamily,\n VmFamilyProperties,\n} from \"./models.js\";\nexport {\n KnownOrigin,\n KnownActionType,\n KnownResourceProvisioningState,\n KnownCreatedByType,\n KnownFeatureState,\n KnownVersions,\n} from \"./models.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,oBAOO;",
6
6
  "names": []
7
7
  }
@@ -275,6 +275,12 @@ export interface _FeatureListResult {
275
275
  }
276
276
  export declare function _featureListResultDeserializer(item: any): _FeatureListResult;
277
277
  export declare function featureArrayDeserializer(result: Array<Feature>): any[];
278
+ /** Request body for feature enable action. */
279
+ export interface FeatureEnableRequest {
280
+ /** The Service Tree identifier associated with this feature action. */
281
+ serviceTreeId?: string;
282
+ }
283
+ export declare function featureEnableRequestSerializer(item: FeatureEnableRequest): any;
278
284
  /** The current status of an async operation. */
279
285
  export interface OperationStatusResult {
280
286
  /** Fully qualified ID for the async operation. */
@@ -298,11 +304,38 @@ export interface OperationStatusResult {
298
304
  }
299
305
  export declare function operationStatusResultDeserializer(item: any): OperationStatusResult;
300
306
  export declare function operationStatusResultArrayDeserializer(result: Array<OperationStatusResult>): any[];
307
+ /** VM family resource representing a virtual machine family and its category. */
308
+ export interface VmFamily extends ProxyResource {
309
+ /** The resource-specific properties for this resource. */
310
+ properties?: VmFamilyProperties;
311
+ }
312
+ export declare function vmFamilyDeserializer(item: any): VmFamily;
313
+ /** Properties of a VM family resource. */
314
+ export interface VmFamilyProperties {
315
+ /** The category of the VM family (for example, GeneralPurpose, ComputeOptimized). */
316
+ category?: string;
317
+ /** The provisioning state of the resource. */
318
+ readonly provisioningState?: ResourceProvisioningState;
319
+ }
320
+ export declare function vmFamilyPropertiesDeserializer(item: any): VmFamilyProperties;
321
+ /** The response of a VmFamily list operation. */
322
+ export interface _VmFamilyListResult {
323
+ /** The VmFamily items on this page */
324
+ value: VmFamily[];
325
+ /** The link to the next page of items */
326
+ nextLink?: string;
327
+ }
328
+ export declare function _vmFamilyListResultDeserializer(item: any): _VmFamilyListResult;
329
+ export declare function vmFamilyArrayDeserializer(result: Array<VmFamily>): any[];
301
330
  /** The available API versions. */
302
331
  export declare enum KnownVersions {
303
332
  /** The 2025-08-15 API version. */
304
333
  V20250815 = "2025-08-15",
305
334
  /** The 2026-03-20 API version. */
306
- V20260320 = "2026-03-20"
335
+ V20260320 = "2026-03-20",
336
+ /** The 2026-04-30 API version. */
337
+ V20260430 = "2026-04-30",
338
+ /** The 2026-06-01 API version. */
339
+ V20260601 = "2026-06-01"
307
340
  }
308
341
  //# sourceMappingURL=models.d.ts.map
@@ -27,6 +27,7 @@ __export(models_exports, {
27
27
  _guestSubscriptionListResultDeserializer: () => _guestSubscriptionListResultDeserializer,
28
28
  _operationListResultDeserializer: () => _operationListResultDeserializer,
29
29
  _sharedLimitListResultDeserializer: () => _sharedLimitListResultDeserializer,
30
+ _vmFamilyListResultDeserializer: () => _vmFamilyListResultDeserializer,
30
31
  errorAdditionalInfoArrayDeserializer: () => errorAdditionalInfoArrayDeserializer,
31
32
  errorAdditionalInfoDeserializer: () => errorAdditionalInfoDeserializer,
32
33
  errorDetailArrayDeserializer: () => errorDetailArrayDeserializer,
@@ -34,6 +35,7 @@ __export(models_exports, {
34
35
  errorResponseDeserializer: () => errorResponseDeserializer,
35
36
  featureArrayDeserializer: () => featureArrayDeserializer,
36
37
  featureDeserializer: () => featureDeserializer,
38
+ featureEnableRequestSerializer: () => featureEnableRequestSerializer,
37
39
  featurePropertiesDeserializer: () => featurePropertiesDeserializer,
38
40
  guestSubscriptionArrayDeserializer: () => guestSubscriptionArrayDeserializer,
39
41
  guestSubscriptionArraySerializer: () => guestSubscriptionArraySerializer,
@@ -57,7 +59,10 @@ __export(models_exports, {
57
59
  sharedLimitPropertiesDeserializer: () => sharedLimitPropertiesDeserializer,
58
60
  sharedLimitPropertiesSerializer: () => sharedLimitPropertiesSerializer,
59
61
  sharedLimitSerializer: () => sharedLimitSerializer,
60
- systemDataDeserializer: () => systemDataDeserializer
62
+ systemDataDeserializer: () => systemDataDeserializer,
63
+ vmFamilyArrayDeserializer: () => vmFamilyArrayDeserializer,
64
+ vmFamilyDeserializer: () => vmFamilyDeserializer,
65
+ vmFamilyPropertiesDeserializer: () => vmFamilyPropertiesDeserializer
61
66
  });
62
67
  module.exports = __toCommonJS(models_exports);
63
68
  function _operationListResultDeserializer(item) {
@@ -289,6 +294,9 @@ function featureArrayDeserializer(result) {
289
294
  return featureDeserializer(item);
290
295
  });
291
296
  }
297
+ function featureEnableRequestSerializer(item) {
298
+ return { serviceTreeId: item["serviceTreeId"] };
299
+ }
292
300
  function operationStatusResultDeserializer(item) {
293
301
  return {
294
302
  id: item["id"],
@@ -307,9 +315,37 @@ function operationStatusResultArrayDeserializer(result) {
307
315
  return operationStatusResultDeserializer(item);
308
316
  });
309
317
  }
318
+ function vmFamilyDeserializer(item) {
319
+ return {
320
+ id: item["id"],
321
+ name: item["name"],
322
+ type: item["type"],
323
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
324
+ properties: !item["properties"] ? item["properties"] : vmFamilyPropertiesDeserializer(item["properties"])
325
+ };
326
+ }
327
+ function vmFamilyPropertiesDeserializer(item) {
328
+ return {
329
+ category: item["category"],
330
+ provisioningState: item["provisioningState"]
331
+ };
332
+ }
333
+ function _vmFamilyListResultDeserializer(item) {
334
+ return {
335
+ value: vmFamilyArrayDeserializer(item["value"]),
336
+ nextLink: item["nextLink"]
337
+ };
338
+ }
339
+ function vmFamilyArrayDeserializer(result) {
340
+ return result.map((item) => {
341
+ return vmFamilyDeserializer(item);
342
+ });
343
+ }
310
344
  var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
311
345
  KnownVersions2["V20250815"] = "2025-08-15";
312
346
  KnownVersions2["V20260320"] = "2026-03-20";
347
+ KnownVersions2["V20260430"] = "2026-04-30";
348
+ KnownVersions2["V20260601"] = "2026-06-01";
313
349
  return KnownVersions2;
314
350
  })(KnownVersions || {});
315
351
  // Annotate the CommonJS export names for ESM import in node:
@@ -324,6 +360,7 @@ var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
324
360
  _guestSubscriptionListResultDeserializer,
325
361
  _operationListResultDeserializer,
326
362
  _sharedLimitListResultDeserializer,
363
+ _vmFamilyListResultDeserializer,
327
364
  errorAdditionalInfoArrayDeserializer,
328
365
  errorAdditionalInfoDeserializer,
329
366
  errorDetailArrayDeserializer,
@@ -331,6 +368,7 @@ var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
331
368
  errorResponseDeserializer,
332
369
  featureArrayDeserializer,
333
370
  featureDeserializer,
371
+ featureEnableRequestSerializer,
334
372
  featurePropertiesDeserializer,
335
373
  guestSubscriptionArrayDeserializer,
336
374
  guestSubscriptionArraySerializer,
@@ -354,6 +392,9 @@ var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
354
392
  sharedLimitPropertiesDeserializer,
355
393
  sharedLimitPropertiesSerializer,
356
394
  sharedLimitSerializer,
357
- systemDataDeserializer
395
+ systemDataDeserializer,
396
+ vmFamilyArrayDeserializer,
397
+ vmFamilyDeserializer,
398
+ vmFamilyPropertiesDeserializer
358
399
  });
359
400
  //# sourceMappingURL=models.js.map