@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,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/api/features/operations.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext as Client } from \"../index.js\";\nimport type { Feature, _FeatureListResult, OperationStatusResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n featureDeserializer,\n _featureListResultDeserializer,\n operationStatusResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n FeaturesEnableOptionalParams,\n FeaturesListBySubscriptionLocationResourceOptionalParams,\n FeaturesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _enableSend(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesEnableOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features/{featureName}/enable{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n featureName: featureName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _enableDeserialize(\n result: PathUncheckedResponse,\n): Promise<OperationStatusResult> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return operationStatusResultDeserializer(result.body);\n}\n\n/** Enables a compute limit feature for the subscription at the specified location. */\nexport function enable(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesEnableOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<OperationStatusResult>, OperationStatusResult> {\n return getLongRunningPoller(context, _enableDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _enableSend(context, location, featureName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-03-20\",\n }) as PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n}\n\nexport function _listBySubscriptionLocationResourceSend(\n context: Client,\n location: string,\n options: FeaturesListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionLocationResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_FeatureListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _featureListResultDeserializer(result.body);\n}\n\n/** Lists all compute limit features for the subscription at the specified location. */\nexport function listBySubscriptionLocationResource(\n context: Client,\n location: string,\n options: FeaturesListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Feature> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionLocationResourceSend(context, location, options),\n _listBySubscriptionLocationResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-03-20\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features/{featureName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n featureName: featureName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Feature> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return featureDeserializer(result.body);\n}\n\n/** Gets the properties of a compute limit feature. */\nexport async function get(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesGetOptionalParams = { requestOptions: {} },\n): Promise<Feature> {\n const result = await _getSend(context, location, featureName, options);\n return _getDeserialize(result);\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAKO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;AAOlC,yBAAqE;AAG9D,SAAS,YACd,SACA,UACA,aACA,UAAwC,EAAE,gBAAgB,CAAC,EAAE,GAC3C;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,KAAK;AAAA,IAC7B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,mBACpB,QACgC;AAChC,QAAM,mBAAmB,CAAC,OAAO,OAAO,KAAK;AAC7C,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,iDAAkC,OAAO,IAAI;AACtD;AAGO,SAAS,OACd,SACA,UACA,aACA,UAAwC,EAAE,gBAAgB,CAAC,EAAE,GACa;AAC1E,aAAO,4C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AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAAiD;AACrF,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,mCAAoB,OAAO,IAAI;AACxC;AAGA,eAAsB,IACpB,SACA,UACA,aACA,UAAqC,EAAE,gBAAgB,CAAC,EAAE,GACxC;AAClB,QAAM,SAAS,MAAM,SAAS,SAAS,UAAU,aAAa,OAAO;AACrE,SAAO,gBAAgB,MAAM;AAC/B;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext as Client } from \"../index.js\";\nimport type { Feature, _FeatureListResult, OperationStatusResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n featureDeserializer,\n _featureListResultDeserializer,\n featureEnableRequestSerializer,\n operationStatusResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n FeaturesDisableOptionalParams,\n FeaturesEnableOptionalParams,\n FeaturesListBySubscriptionLocationResourceOptionalParams,\n FeaturesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _disableSend(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesDisableOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features/{featureName}/disable{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n featureName: featureName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _disableDeserialize(\n result: PathUncheckedResponse,\n): Promise<OperationStatusResult> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return operationStatusResultDeserializer(result.body);\n}\n\n/** Disables a compute limit feature for the subscription at the specified location. */\nexport function disable(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesDisableOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<OperationStatusResult>, OperationStatusResult> {\n return getLongRunningPoller(context, _disableDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _disableSend(context, location, featureName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-06-01\",\n }) as PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n}\n\nexport function _enableSend(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesEnableOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features/{featureName}/enable{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n featureName: featureName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: !options?.body ? options?.body : featureEnableRequestSerializer(options?.body),\n });\n}\n\nexport async function _enableDeserialize(\n result: PathUncheckedResponse,\n): Promise<OperationStatusResult> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return operationStatusResultDeserializer(result.body);\n}\n\n/** Enables a compute limit feature for the subscription at the specified location. */\nexport function enable(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesEnableOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<OperationStatusResult>, OperationStatusResult> {\n return getLongRunningPoller(context, _enableDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _enableSend(context, location, featureName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-06-01\",\n }) as PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>;\n}\n\nexport function _listBySubscriptionLocationResourceSend(\n context: Client,\n location: string,\n options: FeaturesListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionLocationResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_FeatureListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _featureListResultDeserializer(result.body);\n}\n\n/** Lists all compute limit features for the subscription at the specified location. */\nexport function listBySubscriptionLocationResource(\n context: Client,\n location: string,\n options: FeaturesListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Feature> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionLocationResourceSend(context, location, options),\n _listBySubscriptionLocationResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-06-01\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features/{featureName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n featureName: featureName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Feature> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return featureDeserializer(result.body);\n}\n\n/** Gets the properties of a compute limit feature. */\nexport async function get(\n context: Client,\n location: string,\n featureName: string,\n options: FeaturesGetOptionalParams = { requestOptions: {} },\n): Promise<Feature> {\n const result = await _getSend(context, location, featureName, options);\n return _getDeserialize(result);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAMO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;AAQlC,yBAAqE;AAG9D,SAAS,aACd,SACA,UACA,aACA,UAAyC,EAAE,gBAAgB,CAAC,EAAE,GAC5C;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,KAAK;AAAA,IAC7B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,oBACpB,QACgC;AAChC,QAAM,mBAAmB,CAAC,OAAO,OAAO,KAAK;AAC7C,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,iDAAkC,OAAO,IAAI;AACtD;AAGO,SAAS,QACd,SACA,UACA,aACA,UAAyC,EAAE,gBAAgB,CAAC,EAAE,GACY;AAC1E,aAAO,4CAAqB,SAAS,qBAAqB,CAAC,OAAO,OAAO,KAAK,GAAG;AAAA,IA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1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAAiD;AACrF,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,mCAAoB,OAAO,IAAI;AACxC;AAGA,eAAsB,IACpB,SACA,UACA,aACA,UAAqC,EAAE,gBAAgB,CAAC,EAAE,GACxC;AAClB,QAAM,SAAS,MAAM,SAAS,SAAS,UAAU,aAAa,OAAO;AACrE,SAAO,gBAAgB,MAAM;AAC/B;",
6
6
  "names": []
7
7
  }
@@ -1,8 +1,16 @@
1
+ import type { FeatureEnableRequest } from "../../models/models.js";
1
2
  import type { OperationOptions } from "@azure-rest/core-client";
2
3
  /** Optional parameters. */
4
+ export interface FeaturesDisableOptionalParams extends OperationOptions {
5
+ /** Delay to wait until next poll, in milliseconds. */
6
+ updateIntervalInMs?: number;
7
+ }
8
+ /** Optional parameters. */
3
9
  export interface FeaturesEnableOptionalParams extends OperationOptions {
4
10
  /** Delay to wait until next poll, in milliseconds. */
5
11
  updateIntervalInMs?: number;
12
+ /** The content of the action request */
13
+ body?: FeatureEnableRequest;
6
14
  }
7
15
  /** Optional parameters. */
8
16
  export interface FeaturesListBySubscriptionLocationResourceOptionalParams extends OperationOptions {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/api/features/options.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface FeaturesEnableOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface FeaturesListBySubscriptionLocationResourceOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface FeaturesGetOptionalParams extends OperationOptions {}\n"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { FeatureEnableRequest } from \"../../models/models.js\";\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface FeaturesDisableOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface FeaturesEnableOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The content of the action request */\n body?: FeatureEnableRequest;\n}\n\n/** Optional parameters. */\nexport interface FeaturesListBySubscriptionLocationResourceOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface FeaturesGetOptionalParams extends OperationOptions {}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -10,11 +10,6 @@ export declare function listBySubscriptionLocationResource(context: Client, loca
10
10
  export declare function _$deleteSend(context: Client, location: string, guestSubscriptionId: string, options?: GuestSubscriptionsDeleteOptionalParams): StreamableMethod;
11
11
  export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
12
12
  /** Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription. */
13
- /**
14
- * @fixme delete is a reserved word that cannot be used as an operation name.
15
- * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
16
- * to the operation to override the generated name.
17
- */
18
13
  export declare function $delete(context: Client, location: string, guestSubscriptionId: string, options?: GuestSubscriptionsDeleteOptionalParams): Promise<void>;
19
14
  export declare function _createSend(context: Client, location: string, guestSubscriptionId: string, resource: GuestSubscription, options?: GuestSubscriptionsCreateOptionalParams): StreamableMethod;
20
15
  export declare function _createDeserialize(result: PathUncheckedResponse): Promise<GuestSubscription>;
@@ -43,7 +43,7 @@ function _listBySubscriptionLocationResourceSend(context, location, options = {
43
43
  {
44
44
  subscriptionId: context.subscriptionId,
45
45
  location,
46
- "api%2Dversion": context.apiVersion ?? "2026-03-20"
46
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
47
47
  },
48
48
  {
49
49
  allowReserved: options?.requestOptions?.skipUrlEncoding
@@ -71,7 +71,7 @@ function listBySubscriptionLocationResource(context, location, options = {
71
71
  () => _listBySubscriptionLocationResourceSend(context, location, options),
72
72
  _listBySubscriptionLocationResourceDeserialize,
73
73
  ["200"],
74
- { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-03-20" }
74
+ { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-06-01" }
75
75
  );
76
76
  }
77
77
  function _$deleteSend(context, location, guestSubscriptionId, options = { requestOptions: {} }) {
@@ -81,7 +81,7 @@ function _$deleteSend(context, location, guestSubscriptionId, options = { reques
81
81
  subscriptionId: context.subscriptionId,
82
82
  location,
83
83
  guestSubscriptionId,
84
- "api%2Dversion": context.apiVersion ?? "2026-03-20"
84
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
85
85
  },
86
86
  {
87
87
  allowReserved: options?.requestOptions?.skipUrlEncoding
@@ -109,7 +109,7 @@ function _createSend(context, location, guestSubscriptionId, resource, options =
109
109
  subscriptionId: context.subscriptionId,
110
110
  location,
111
111
  guestSubscriptionId,
112
- "api%2Dversion": context.apiVersion ?? "2026-03-20"
112
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
113
113
  },
114
114
  {
115
115
  allowReserved: options?.requestOptions?.skipUrlEncoding
@@ -142,7 +142,7 @@ function _getSend(context, location, guestSubscriptionId, options = { requestOpt
142
142
  subscriptionId: context.subscriptionId,
143
143
  location,
144
144
  guestSubscriptionId,
145
- "api%2Dversion": context.apiVersion ?? "2026-03-20"
145
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
146
146
  },
147
147
  {
148
148
  allowReserved: options?.requestOptions?.skipUrlEncoding
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/api/guestSubscriptions/operations.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext as Client } from \"../index.js\";\nimport type { GuestSubscription, _GuestSubscriptionListResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n guestSubscriptionSerializer,\n guestSubscriptionDeserializer,\n _guestSubscriptionListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listBySubscriptionLocationResourceSend(\n context: Client,\n location: string,\n options: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionLocationResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_GuestSubscriptionListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _guestSubscriptionListResultDeserializer(result.body);\n}\n\n/** Lists all guest subscriptions in a location. */\nexport function listBySubscriptionLocationResource(\n context: Client,\n location: string,\n options: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<GuestSubscription> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionLocationResourceSend(context, location, options),\n _listBySubscriptionLocationResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-03-20\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n options: GuestSubscriptionsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions/{guestSubscriptionId}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n guestSubscriptionId: guestSubscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\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 */\nexport async function $delete(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n options: GuestSubscriptionsDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, location, guestSubscriptionId, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _createSend(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options: GuestSubscriptionsCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions/{guestSubscriptionId}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n guestSubscriptionId: guestSubscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: guestSubscriptionSerializer(resource),\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<GuestSubscription> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return guestSubscriptionDeserializer(result.body);\n}\n\n/** Adds a subscription as a guest to consume the compute limits shared by the host subscription. */\nexport async function create(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options: GuestSubscriptionsCreateOptionalParams = { requestOptions: {} },\n): Promise<GuestSubscription> {\n const result = await _createSend(context, location, guestSubscriptionId, resource, options);\n return _createDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n options: GuestSubscriptionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions/{guestSubscriptionId}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n guestSubscriptionId: guestSubscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<GuestSubscription> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return guestSubscriptionDeserializer(result.body);\n}\n\n/** Gets the properties of a guest subscription. */\nexport async function get(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n options: GuestSubscriptionsGetOptionalParams = { requestOptions: {} },\n): Promise<GuestSubscription> {\n const result = await _getSend(context, location, guestSubscriptionId, options);\n return _getDeserialize(result);\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAKO;AAEP,2BAAwC;AACxC,yBAAkC;AAQlC,yBAAqE;AAE9D,SAAS,wCACd,SACA,UACA,UAA8E;AAAA,EAC5E,gBAAgB,CAAC;AACnB,GACkB;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAA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;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAA2D;AAC/F,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,6CAA8B,OAAO,IAAI;AAClD;AAGA,eAAsB,IACpB,SACA,UACA,qBACA,UAA+C,EAAE,gBAAgB,CAAC,EAAE,GACxC;AAC5B,QAAM,SAAS,MAAM,SAAS,SAAS,UAAU,qBAAqB,OAAO;AAC7E,SAAO,gBAAgB,MAAM;AAC/B;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext as Client } from \"../index.js\";\nimport type { GuestSubscription, _GuestSubscriptionListResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n guestSubscriptionSerializer,\n guestSubscriptionDeserializer,\n _guestSubscriptionListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams,\n GuestSubscriptionsDeleteOptionalParams,\n GuestSubscriptionsCreateOptionalParams,\n GuestSubscriptionsGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listBySubscriptionLocationResourceSend(\n context: Client,\n location: string,\n options: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionLocationResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_GuestSubscriptionListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _guestSubscriptionListResultDeserializer(result.body);\n}\n\n/** Lists all guest subscriptions in a location. */\nexport function listBySubscriptionLocationResource(\n context: Client,\n location: string,\n options: GuestSubscriptionsListBySubscriptionLocationResourceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<GuestSubscription> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionLocationResourceSend(context, location, options),\n _listBySubscriptionLocationResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-06-01\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n options: GuestSubscriptionsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions/{guestSubscriptionId}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n guestSubscriptionId: guestSubscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription. */\nexport async function $delete(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n options: GuestSubscriptionsDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, location, guestSubscriptionId, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _createSend(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options: GuestSubscriptionsCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions/{guestSubscriptionId}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n guestSubscriptionId: guestSubscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: guestSubscriptionSerializer(resource),\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<GuestSubscription> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return guestSubscriptionDeserializer(result.body);\n}\n\n/** Adds a subscription as a guest to consume the compute limits shared by the host subscription. */\nexport async function create(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n resource: GuestSubscription,\n options: GuestSubscriptionsCreateOptionalParams = { requestOptions: {} },\n): Promise<GuestSubscription> {\n const result = await _createSend(context, location, guestSubscriptionId, resource, options);\n return _createDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n options: GuestSubscriptionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions/{guestSubscriptionId}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n guestSubscriptionId: guestSubscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<GuestSubscription> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return guestSubscriptionDeserializer(result.body);\n}\n\n/** Gets the properties of a guest subscription. */\nexport async function get(\n context: Client,\n location: string,\n guestSubscriptionId: string,\n options: GuestSubscriptionsGetOptionalParams = { requestOptions: {} },\n): Promise<GuestSubscription> {\n const result = await _getSend(context, location, guestSubscriptionId, options);\n return _getDeserialize(result);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAKO;AAEP,2BAAwC;AACxC,yBAAkC;AAQlC,yBAAqE;AAE9D,SAAS,wCACd,SACA,UACA,UAA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gB,CAAC,EAAE,GAC3C;AAC5B,QAAM,SAAS,MAAM,YAAY,SAAS,UAAU,qBAAqB,UAAU,OAAO;AAC1F,SAAO,mBAAmB,MAAM;AAClC;AAEO,SAAS,SACd,SACA,UACA,qBACA,UAA+C,EAAE,gBAAgB,CAAC,EAAE,GAClD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAA2D;AAC/F,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,6CAA8B,OAAO,IAAI;AAClD;AAGA,eAAsB,IACpB,SACA,UACA,qBACA,UAA+C,EAAE,gBAAgB,CAAC,EAAE,GACxC;AAC5B,QAAM,SAAS,MAAM,SAAS,SAAS,UAAU,qBAAqB,OAAO;AAC7E,SAAO,gBAAgB,MAAM;AAC/B;",
6
6
  "names": []
7
7
  }
@@ -30,7 +30,7 @@ function _listSend(context, options = { requestOptions: {} }) {
30
30
  const path = (0, import_urlTemplate.expandUrlTemplate)(
31
31
  "/providers/Microsoft.ComputeLimit/operations{?api%2Dversion}",
32
32
  {
33
- "api%2Dversion": context.apiVersion ?? "2026-03-20"
33
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
34
34
  },
35
35
  {
36
36
  allowReserved: options?.requestOptions?.skipUrlEncoding
@@ -56,7 +56,7 @@ function list(context, options = { requestOptions: {} }) {
56
56
  () => _listSend(context, options),
57
57
  _listDeserialize,
58
58
  ["200"],
59
- { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-03-20" }
59
+ { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-06-01" }
60
60
  );
61
61
  }
62
62
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/api/operations/operations.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext as Client } from \"../index.js\";\nimport type { _OperationListResult, Operation } from \"../../models/models.js\";\nimport {\n _operationListResultDeserializer,\n errorResponseDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { OperationsListOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.ComputeLimit/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-03-20\" },\n );\n}\n"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext as Client } from \"../index.js\";\nimport type { _OperationListResult, Operation } from \"../../models/models.js\";\nimport {\n _operationListResultDeserializer,\n errorResponseDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { OperationsListOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.ComputeLimit/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-06-01\" },\n );\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAGO;AAEP,2BAAwC;AACxC,yBAAkC;AAGlC,yBAAqE;AAE9D,SAAS,UACd,SACA,UAAwC,EAAE,gBAAgB,CAAC,EAAE,GAC3C;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,iBACpB,QAC+B;AAC/B,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,gDAAiC,OAAO,IAAI;AACrD;AAGO,SAAS,KACd,SACA,UAAwC,EAAE,gBAAgB,CAAC,EAAE,GACtB;AACvC,aAAO;AAAA,IACL;AAAA,IACA,MAAM,UAAU,SAAS,OAAO;AAAA,IAChC;AAAA,IACA,CAAC,KAAK;AAAA,IACN,EAAE,UAAU,SAAS,cAAc,YAAY,YAAY,QAAQ,cAAc,aAAa;AAAA,EAChG;AACF;",
6
6
  "names": []
7
7
  }
@@ -10,11 +10,6 @@ export declare function listBySubscriptionLocationResource(context: Client, loca
10
10
  export declare function _$deleteSend(context: Client, location: string, name: string, options?: SharedLimitsDeleteOptionalParams): StreamableMethod;
11
11
  export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
12
12
  /** Disables sharing of a compute limit by the host subscription with its guest subscriptions. */
13
- /**
14
- * @fixme delete is a reserved word that cannot be used as an operation name.
15
- * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
16
- * to the operation to override the generated name.
17
- */
18
13
  export declare function $delete(context: Client, location: string, name: string, options?: SharedLimitsDeleteOptionalParams): Promise<void>;
19
14
  export declare function _createSend(context: Client, location: string, name: string, resource: SharedLimit, options?: SharedLimitsCreateOptionalParams): StreamableMethod;
20
15
  export declare function _createDeserialize(result: PathUncheckedResponse): Promise<SharedLimit>;
@@ -41,7 +41,7 @@ function _listBySubscriptionLocationResourceSend(context, location, options = {
41
41
  {
42
42
  subscriptionId: context.subscriptionId,
43
43
  location,
44
- "api%2Dversion": context.apiVersion ?? "2026-03-20"
44
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
45
45
  },
46
46
  {
47
47
  allowReserved: options?.requestOptions?.skipUrlEncoding
@@ -67,7 +67,7 @@ function listBySubscriptionLocationResource(context, location, options = { reque
67
67
  () => _listBySubscriptionLocationResourceSend(context, location, options),
68
68
  _listBySubscriptionLocationResourceDeserialize,
69
69
  ["200"],
70
- { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-03-20" }
70
+ { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-06-01" }
71
71
  );
72
72
  }
73
73
  function _$deleteSend(context, location, name, options = { requestOptions: {} }) {
@@ -77,7 +77,7 @@ function _$deleteSend(context, location, name, options = { requestOptions: {} })
77
77
  subscriptionId: context.subscriptionId,
78
78
  location,
79
79
  name,
80
- "api%2Dversion": context.apiVersion ?? "2026-03-20"
80
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
81
81
  },
82
82
  {
83
83
  allowReserved: options?.requestOptions?.skipUrlEncoding
@@ -105,7 +105,7 @@ function _createSend(context, location, name, resource, options = { requestOptio
105
105
  subscriptionId: context.subscriptionId,
106
106
  location,
107
107
  name,
108
- "api%2Dversion": context.apiVersion ?? "2026-03-20"
108
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
109
109
  },
110
110
  {
111
111
  allowReserved: options?.requestOptions?.skipUrlEncoding
@@ -138,7 +138,7 @@ function _getSend(context, location, name, options = { requestOptions: {} }) {
138
138
  subscriptionId: context.subscriptionId,
139
139
  location,
140
140
  name,
141
- "api%2Dversion": context.apiVersion ?? "2026-03-20"
141
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
142
142
  },
143
143
  {
144
144
  allowReserved: options?.requestOptions?.skipUrlEncoding
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/api/sharedLimits/operations.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext as Client } from \"../index.js\";\nimport type { SharedLimit, _SharedLimitListResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n sharedLimitSerializer,\n sharedLimitDeserializer,\n _sharedLimitListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listBySubscriptionLocationResourceSend(\n context: Client,\n location: string,\n options: SharedLimitsListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionLocationResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_SharedLimitListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _sharedLimitListResultDeserializer(result.body);\n}\n\n/** Lists all compute limits shared by the host subscription with its guest subscriptions. */\nexport function listBySubscriptionLocationResource(\n context: Client,\n location: string,\n options: SharedLimitsListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<SharedLimit> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionLocationResourceSend(context, location, options),\n _listBySubscriptionLocationResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-03-20\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n location: string,\n name: string,\n options: SharedLimitsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits/{name}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n name: name,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\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 */\nexport async function $delete(\n context: Client,\n location: string,\n name: string,\n options: SharedLimitsDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, location, name, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _createSend(\n context: Client,\n location: string,\n name: string,\n resource: SharedLimit,\n options: SharedLimitsCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits/{name}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n name: name,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: sharedLimitSerializer(resource),\n });\n}\n\nexport async function _createDeserialize(result: PathUncheckedResponse): Promise<SharedLimit> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return sharedLimitDeserializer(result.body);\n}\n\n/** Enables sharing of a compute limit by the host subscription with its guest subscriptions. */\nexport async function create(\n context: Client,\n location: string,\n name: string,\n resource: SharedLimit,\n options: SharedLimitsCreateOptionalParams = { requestOptions: {} },\n): Promise<SharedLimit> {\n const result = await _createSend(context, location, name, resource, options);\n return _createDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n location: string,\n name: string,\n options: SharedLimitsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits/{name}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n name: name,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-20\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<SharedLimit> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return sharedLimitDeserializer(result.body);\n}\n\n/** Gets the properties of a compute limit shared by the host subscription with its guest subscriptions. */\nexport async function get(\n context: Client,\n location: string,\n name: string,\n options: SharedLimitsGetOptionalParams = { requestOptions: {} },\n): Promise<SharedLimit> {\n const result = await _getSend(context, location, name, options);\n return _getDeserialize(result);\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAKO;AAEP,2BAAwC;AACxC,yBAAkC;AAQlC,yBAAqE;AAE9D,SAAS,wCACd,SACA,UACA,UAAwE,EAAE,gBAAgB,CAAC,EAAE,GAC3E;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA,iBAAiB,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EAAE,gBAAgB,CAAC,EAAE,GAC5C;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAAqD;AACzF,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,uCAAwB,OAAO,IAAI;AAC5C;AAGA,eAAsB,IACpB,SACA,UACA,MACA,UAAyC,EAAE,gBAAgB,CAAC,EAAE,GACxC;AACtB,QAAM,SAAS,MAAM,SAAS,SAAS,UAAU,MAAM,OAAO;AAC9D,SAAO,gBAAgB,MAAM;AAC/B;",
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext as Client } from \"../index.js\";\nimport type { SharedLimit, _SharedLimitListResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n sharedLimitSerializer,\n sharedLimitDeserializer,\n _sharedLimitListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n SharedLimitsListBySubscriptionLocationResourceOptionalParams,\n SharedLimitsDeleteOptionalParams,\n SharedLimitsCreateOptionalParams,\n SharedLimitsGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listBySubscriptionLocationResourceSend(\n context: Client,\n location: string,\n options: SharedLimitsListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionLocationResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_SharedLimitListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _sharedLimitListResultDeserializer(result.body);\n}\n\n/** Lists all compute limits shared by the host subscription with its guest subscriptions. */\nexport function listBySubscriptionLocationResource(\n context: Client,\n location: string,\n options: SharedLimitsListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<SharedLimit> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionLocationResourceSend(context, location, options),\n _listBySubscriptionLocationResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-06-01\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n location: string,\n name: string,\n options: SharedLimitsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits/{name}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n name: name,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Disables sharing of a compute limit by the host subscription with its guest subscriptions. */\nexport async function $delete(\n context: Client,\n location: string,\n name: string,\n options: SharedLimitsDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, location, name, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _createSend(\n context: Client,\n location: string,\n name: string,\n resource: SharedLimit,\n options: SharedLimitsCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits/{name}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n name: name,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: sharedLimitSerializer(resource),\n });\n}\n\nexport async function _createDeserialize(result: PathUncheckedResponse): Promise<SharedLimit> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return sharedLimitDeserializer(result.body);\n}\n\n/** Enables sharing of a compute limit by the host subscription with its guest subscriptions. */\nexport async function create(\n context: Client,\n location: string,\n name: string,\n resource: SharedLimit,\n options: SharedLimitsCreateOptionalParams = { requestOptions: {} },\n): Promise<SharedLimit> {\n const result = await _createSend(context, location, name, resource, options);\n return _createDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n location: string,\n name: string,\n options: SharedLimitsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits/{name}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n name: name,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<SharedLimit> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return sharedLimitDeserializer(result.body);\n}\n\n/** Gets the properties of a compute limit shared by the host subscription with its guest subscriptions. */\nexport async function get(\n context: Client,\n location: string,\n name: string,\n options: SharedLimitsGetOptionalParams = { requestOptions: {} },\n): Promise<SharedLimit> {\n const result = await _getSend(context, location, name, options);\n return _getDeserialize(result);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAKO;AAEP,2BAAwC;AACxC,yBAAkC;AAQlC,yBAAqE;AAE9D,SAAS,wCACd,SACA,UACA,UAAwE,EAAE,gBAAgB,CAAC,EAAE,GAC3E;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE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AM;AAClC;AAEO,SAAS,SACd,SACA,UACA,MACA,UAAyC,EAAE,gBAAgB,CAAC,EAAE,GAC5C;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAAqD;AACzF,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,uCAAwB,OAAO,IAAI;AAC5C;AAGA,eAAsB,IACpB,SACA,UACA,MACA,UAAyC,EAAE,gBAAgB,CAAC,EAAE,GACxC;AACtB,QAAM,SAAS,MAAM,SAAS,SAAS,UAAU,MAAM,OAAO;AAC9D,SAAO,gBAAgB,MAAM;AAC/B;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,3 @@
1
+ export { listBySubscriptionLocationResource, get } from "./operations.js";
2
+ export type { VmFamiliesListBySubscriptionLocationResourceOptionalParams, VmFamiliesGetOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,30 @@
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
+ get: () => import_operations.get,
21
+ listBySubscriptionLocationResource: () => import_operations.listBySubscriptionLocationResource
22
+ });
23
+ module.exports = __toCommonJS(vmFamilies_exports);
24
+ var import_operations = require("./operations.js");
25
+ // Annotate the CommonJS export names for ESM import in node:
26
+ 0 && (module.exports = {
27
+ get,
28
+ listBySubscriptionLocationResource
29
+ });
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/api/vmFamilies/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listBySubscriptionLocationResource, get } from \"./operations.js\";\nexport type {\n VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n VmFamiliesGetOptionalParams,\n} from \"./options.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAAwD;",
6
+ "names": []
7
+ }
@@ -0,0 +1,14 @@
1
+ import type { ComputeLimitContext as Client } from "../index.js";
2
+ import type { VmFamily, _VmFamilyListResult } from "../../models/models.js";
3
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import type { VmFamiliesListBySubscriptionLocationResourceOptionalParams, VmFamiliesGetOptionalParams } from "./options.js";
5
+ import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _listBySubscriptionLocationResourceSend(context: Client, location: string, options?: VmFamiliesListBySubscriptionLocationResourceOptionalParams): StreamableMethod;
7
+ export declare function _listBySubscriptionLocationResourceDeserialize(result: PathUncheckedResponse): Promise<_VmFamilyListResult>;
8
+ /** Lists all VM families for the subscription at the specified location. */
9
+ export declare function listBySubscriptionLocationResource(context: Client, location: string, options?: VmFamiliesListBySubscriptionLocationResourceOptionalParams): PagedAsyncIterableIterator<VmFamily>;
10
+ export declare function _getSend(context: Client, location: string, vmFamilyName: string, options?: VmFamiliesGetOptionalParams): StreamableMethod;
11
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<VmFamily>;
12
+ /** Gets the properties of a VM family. */
13
+ export declare function get(context: Client, location: string, vmFamilyName: string, options?: VmFamiliesGetOptionalParams): Promise<VmFamily>;
14
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,108 @@
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 operations_exports = {};
19
+ __export(operations_exports, {
20
+ _getDeserialize: () => _getDeserialize,
21
+ _getSend: () => _getSend,
22
+ _listBySubscriptionLocationResourceDeserialize: () => _listBySubscriptionLocationResourceDeserialize,
23
+ _listBySubscriptionLocationResourceSend: () => _listBySubscriptionLocationResourceSend,
24
+ get: () => get,
25
+ listBySubscriptionLocationResource: () => listBySubscriptionLocationResource
26
+ });
27
+ module.exports = __toCommonJS(operations_exports);
28
+ var import_models = require("../../models/models.js");
29
+ var import_pagingHelpers = require("../../static-helpers/pagingHelpers.js");
30
+ var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
31
+ var import_core_client = require("@azure-rest/core-client");
32
+ function _listBySubscriptionLocationResourceSend(context, location, options = { requestOptions: {} }) {
33
+ const path = (0, import_urlTemplate.expandUrlTemplate)(
34
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/vmFamilies{?api%2Dversion,%24filter}",
35
+ {
36
+ subscriptionId: context.subscriptionId,
37
+ location,
38
+ "api%2Dversion": context.apiVersion ?? "2026-06-01",
39
+ "%24filter": options?.filter
40
+ },
41
+ {
42
+ allowReserved: options?.requestOptions?.skipUrlEncoding
43
+ }
44
+ );
45
+ return context.path(path).get({
46
+ ...(0, import_core_client.operationOptionsToRequestParameters)(options),
47
+ headers: { accept: "application/json", ...options.requestOptions?.headers }
48
+ });
49
+ }
50
+ async function _listBySubscriptionLocationResourceDeserialize(result) {
51
+ const expectedStatuses = ["200"];
52
+ if (!expectedStatuses.includes(result.status)) {
53
+ const error = (0, import_core_client.createRestError)(result);
54
+ error.details = (0, import_models.errorResponseDeserializer)(result.body);
55
+ throw error;
56
+ }
57
+ return (0, import_models._vmFamilyListResultDeserializer)(result.body);
58
+ }
59
+ function listBySubscriptionLocationResource(context, location, options = { requestOptions: {} }) {
60
+ return (0, import_pagingHelpers.buildPagedAsyncIterator)(
61
+ context,
62
+ () => _listBySubscriptionLocationResourceSend(context, location, options),
63
+ _listBySubscriptionLocationResourceDeserialize,
64
+ ["200"],
65
+ { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-06-01" }
66
+ );
67
+ }
68
+ function _getSend(context, location, vmFamilyName, options = { requestOptions: {} }) {
69
+ const path = (0, import_urlTemplate.expandUrlTemplate)(
70
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/vmFamilies/{vmFamilyName}{?api%2Dversion}",
71
+ {
72
+ subscriptionId: context.subscriptionId,
73
+ location,
74
+ vmFamilyName,
75
+ "api%2Dversion": context.apiVersion ?? "2026-06-01"
76
+ },
77
+ {
78
+ allowReserved: options?.requestOptions?.skipUrlEncoding
79
+ }
80
+ );
81
+ return context.path(path).get({
82
+ ...(0, import_core_client.operationOptionsToRequestParameters)(options),
83
+ headers: { accept: "application/json", ...options.requestOptions?.headers }
84
+ });
85
+ }
86
+ async function _getDeserialize(result) {
87
+ const expectedStatuses = ["200"];
88
+ if (!expectedStatuses.includes(result.status)) {
89
+ const error = (0, import_core_client.createRestError)(result);
90
+ error.details = (0, import_models.errorResponseDeserializer)(result.body);
91
+ throw error;
92
+ }
93
+ return (0, import_models.vmFamilyDeserializer)(result.body);
94
+ }
95
+ async function get(context, location, vmFamilyName, options = { requestOptions: {} }) {
96
+ const result = await _getSend(context, location, vmFamilyName, options);
97
+ return _getDeserialize(result);
98
+ }
99
+ // Annotate the CommonJS export names for ESM import in node:
100
+ 0 && (module.exports = {
101
+ _getDeserialize,
102
+ _getSend,
103
+ _listBySubscriptionLocationResourceDeserialize,
104
+ _listBySubscriptionLocationResourceSend,
105
+ get,
106
+ listBySubscriptionLocationResource
107
+ });
108
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/api/vmFamilies/operations.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ComputeLimitContext as Client } from \"../index.js\";\nimport type { VmFamily, _VmFamilyListResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n vmFamilyDeserializer,\n _vmFamilyListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n VmFamiliesListBySubscriptionLocationResourceOptionalParams,\n VmFamiliesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listBySubscriptionLocationResourceSend(\n context: Client,\n location: string,\n options: VmFamiliesListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/vmFamilies{?api%2Dversion,%24filter}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n \"%24filter\": options?.filter,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionLocationResourceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_VmFamilyListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _vmFamilyListResultDeserializer(result.body);\n}\n\n/** Lists all VM families for the subscription at the specified location. */\nexport function listBySubscriptionLocationResource(\n context: Client,\n location: string,\n options: VmFamiliesListBySubscriptionLocationResourceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<VmFamily> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionLocationResourceSend(context, location, options),\n _listBySubscriptionLocationResourceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-06-01\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n location: string,\n vmFamilyName: string,\n options: VmFamiliesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/vmFamilies/{vmFamilyName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n location: location,\n vmFamilyName: vmFamilyName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<VmFamily> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return vmFamilyDeserializer(result.body);\n}\n\n/** Gets the properties of a VM family. */\nexport async function get(\n context: Client,\n location: string,\n vmFamilyName: string,\n options: VmFamiliesGetOptionalParams = { requestOptions: {} },\n): Promise<VmFamily> {\n const result = await _getSend(context, location, vmFamilyName, options);\n return _getDeserialize(result);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAIO;AAEP,2BAAwC;AACxC,yBAAkC;AAMlC,yBAAqE;AAE9D,SAAS,wCACd,SACA,UACA,UAAsE,EAAE,gBAAgB,CAAC,EAAE,GACzE;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,MACvC,aAAa,SAAS;AAAA,IACxB;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAA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AErD,UAAM;AAAA,EACR;AAEA,aAAO,oCAAqB,OAAO,IAAI;AACzC;AAGA,eAAsB,IACpB,SACA,UACA,cACA,UAAuC,EAAE,gBAAgB,CAAC,EAAE,GACzC;AACnB,QAAM,SAAS,MAAM,SAAS,SAAS,UAAU,cAAc,OAAO;AACtE,SAAO,gBAAgB,MAAM;AAC/B;",
6
+ "names": []
7
+ }
@@ -0,0 +1,10 @@
1
+ import type { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface VmFamiliesListBySubscriptionLocationResourceOptionalParams extends OperationOptions {
4
+ /** The filter to apply to the list operation. Filter can be applied to the 'category' property. Example: $filter=category eq 'generalPurposeCategory'. */
5
+ filter?: string;
6
+ }
7
+ /** Optional parameters. */
8
+ export interface VmFamiliesGetOptionalParams extends OperationOptions {
9
+ }
10
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,16 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var options_exports = {};
15
+ module.exports = __toCommonJS(options_exports);
16
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/api/vmFamilies/options.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface VmFamiliesListBySubscriptionLocationResourceOptionalParams extends OperationOptions {\n /** The filter to apply to the list operation. Filter can be applied to the 'category' property. Example: $filter=category eq 'generalPurposeCategory'. */\n filter?: string;\n}\n\n/** Optional parameters. */\nexport interface VmFamiliesGetOptionalParams extends OperationOptions {}\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }