@azure/arm-computelimit 1.0.0-alpha.20251120.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +115 -0
  3. package/dist/browser/api/computeLimitContext.d.ts +22 -0
  4. package/dist/browser/api/computeLimitContext.js +43 -0
  5. package/dist/browser/api/computeLimitContext.js.map +1 -0
  6. package/dist/browser/api/guestSubscriptions/index.d.ts +3 -0
  7. package/dist/browser/api/guestSubscriptions/index.js +4 -0
  8. package/dist/browser/api/guestSubscriptions/index.js.map +1 -0
  9. package/dist/browser/api/guestSubscriptions/operations.d.ts +27 -0
  10. package/dist/browser/api/guestSubscriptions/operations.js +134 -0
  11. package/dist/browser/api/guestSubscriptions/operations.js.map +1 -0
  12. package/dist/browser/api/guestSubscriptions/options.d.ts +14 -0
  13. package/dist/browser/api/guestSubscriptions/options.js +4 -0
  14. package/dist/browser/api/guestSubscriptions/options.js.map +1 -0
  15. package/dist/browser/api/index.d.ts +2 -0
  16. package/dist/browser/api/index.js +4 -0
  17. package/dist/browser/api/index.js.map +1 -0
  18. package/dist/browser/api/operations/index.d.ts +3 -0
  19. package/dist/browser/api/operations/index.js +4 -0
  20. package/dist/browser/api/operations/index.js.map +1 -0
  21. package/dist/browser/api/operations/operations.d.ts +10 -0
  22. package/dist/browser/api/operations/operations.js +34 -0
  23. package/dist/browser/api/operations/operations.js.map +1 -0
  24. package/dist/browser/api/operations/options.d.ts +5 -0
  25. package/dist/browser/api/operations/options.js +4 -0
  26. package/dist/browser/api/operations/options.js.map +1 -0
  27. package/dist/browser/api/sharedLimits/index.d.ts +3 -0
  28. package/dist/browser/api/sharedLimits/index.js +4 -0
  29. package/dist/browser/api/sharedLimits/index.js.map +1 -0
  30. package/dist/browser/api/sharedLimits/operations.d.ts +27 -0
  31. package/dist/browser/api/sharedLimits/operations.js +134 -0
  32. package/dist/browser/api/sharedLimits/operations.js.map +1 -0
  33. package/dist/browser/api/sharedLimits/options.d.ts +14 -0
  34. package/dist/browser/api/sharedLimits/options.js +4 -0
  35. package/dist/browser/api/sharedLimits/options.js.map +1 -0
  36. package/dist/browser/classic/guestSubscriptions/index.d.ts +22 -0
  37. package/dist/browser/classic/guestSubscriptions/index.js +17 -0
  38. package/dist/browser/classic/guestSubscriptions/index.js.map +1 -0
  39. package/dist/browser/classic/index.d.ts +4 -0
  40. package/dist/browser/classic/index.js +4 -0
  41. package/dist/browser/classic/index.js.map +1 -0
  42. package/dist/browser/classic/operations/index.d.ts +11 -0
  43. package/dist/browser/classic/operations/index.js +14 -0
  44. package/dist/browser/classic/operations/index.js.map +1 -0
  45. package/dist/browser/classic/sharedLimits/index.d.ts +22 -0
  46. package/dist/browser/classic/sharedLimits/index.js +17 -0
  47. package/dist/browser/classic/sharedLimits/index.js.map +1 -0
  48. package/dist/browser/computeLimitClient.d.ts +21 -0
  49. package/dist/browser/computeLimitClient.js +33 -0
  50. package/dist/browser/computeLimitClient.js.map +1 -0
  51. package/dist/browser/index.d.ts +12 -0
  52. package/dist/browser/index.js +7 -0
  53. package/dist/browser/index.js.map +1 -0
  54. package/dist/browser/logger.d.ts +2 -0
  55. package/dist/browser/logger.js +5 -0
  56. package/dist/browser/logger.js.map +1 -0
  57. package/dist/browser/models/index.d.ts +2 -0
  58. package/dist/browser/models/index.js +4 -0
  59. package/dist/browser/models/index.js.map +1 -0
  60. package/dist/browser/models/models.d.ts +244 -0
  61. package/dist/browser/models/models.js +244 -0
  62. package/dist/browser/models/models.js.map +1 -0
  63. package/dist/browser/package.json +3 -0
  64. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  65. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  66. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  67. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  68. package/dist/browser/static-helpers/pagingHelpers.js +118 -0
  69. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  70. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  71. package/dist/browser/static-helpers/urlTemplate.js +185 -0
  72. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  73. package/dist/commonjs/api/computeLimitContext.d.ts +22 -0
  74. package/dist/commonjs/api/computeLimitContext.js +46 -0
  75. package/dist/commonjs/api/computeLimitContext.js.map +1 -0
  76. package/dist/commonjs/api/guestSubscriptions/index.d.ts +3 -0
  77. package/dist/commonjs/api/guestSubscriptions/index.js +11 -0
  78. package/dist/commonjs/api/guestSubscriptions/index.js.map +1 -0
  79. package/dist/commonjs/api/guestSubscriptions/operations.d.ts +27 -0
  80. package/dist/commonjs/api/guestSubscriptions/operations.js +148 -0
  81. package/dist/commonjs/api/guestSubscriptions/operations.js.map +1 -0
  82. package/dist/commonjs/api/guestSubscriptions/options.d.ts +14 -0
  83. package/dist/commonjs/api/guestSubscriptions/options.js +5 -0
  84. package/dist/commonjs/api/guestSubscriptions/options.js.map +1 -0
  85. package/dist/commonjs/api/index.d.ts +2 -0
  86. package/dist/commonjs/api/index.js +8 -0
  87. package/dist/commonjs/api/index.js.map +1 -0
  88. package/dist/commonjs/api/operations/index.d.ts +3 -0
  89. package/dist/commonjs/api/operations/index.js +8 -0
  90. package/dist/commonjs/api/operations/index.js.map +1 -0
  91. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  92. package/dist/commonjs/api/operations/operations.js +39 -0
  93. package/dist/commonjs/api/operations/operations.js.map +1 -0
  94. package/dist/commonjs/api/operations/options.d.ts +5 -0
  95. package/dist/commonjs/api/operations/options.js +5 -0
  96. package/dist/commonjs/api/operations/options.js.map +1 -0
  97. package/dist/commonjs/api/sharedLimits/index.d.ts +3 -0
  98. package/dist/commonjs/api/sharedLimits/index.js +11 -0
  99. package/dist/commonjs/api/sharedLimits/index.js.map +1 -0
  100. package/dist/commonjs/api/sharedLimits/operations.d.ts +27 -0
  101. package/dist/commonjs/api/sharedLimits/operations.js +148 -0
  102. package/dist/commonjs/api/sharedLimits/operations.js.map +1 -0
  103. package/dist/commonjs/api/sharedLimits/options.d.ts +14 -0
  104. package/dist/commonjs/api/sharedLimits/options.js +5 -0
  105. package/dist/commonjs/api/sharedLimits/options.js.map +1 -0
  106. package/dist/commonjs/classic/guestSubscriptions/index.d.ts +22 -0
  107. package/dist/commonjs/classic/guestSubscriptions/index.js +20 -0
  108. package/dist/commonjs/classic/guestSubscriptions/index.js.map +1 -0
  109. package/dist/commonjs/classic/index.d.ts +4 -0
  110. package/dist/commonjs/classic/index.js +5 -0
  111. package/dist/commonjs/classic/index.js.map +1 -0
  112. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  113. package/dist/commonjs/classic/operations/index.js +17 -0
  114. package/dist/commonjs/classic/operations/index.js.map +1 -0
  115. package/dist/commonjs/classic/sharedLimits/index.d.ts +22 -0
  116. package/dist/commonjs/classic/sharedLimits/index.js +20 -0
  117. package/dist/commonjs/classic/sharedLimits/index.js.map +1 -0
  118. package/dist/commonjs/computeLimitClient.d.ts +21 -0
  119. package/dist/commonjs/computeLimitClient.js +37 -0
  120. package/dist/commonjs/computeLimitClient.js.map +1 -0
  121. package/dist/commonjs/index.d.ts +12 -0
  122. package/dist/commonjs/index.js +16 -0
  123. package/dist/commonjs/index.js.map +1 -0
  124. package/dist/commonjs/logger.d.ts +2 -0
  125. package/dist/commonjs/logger.js +8 -0
  126. package/dist/commonjs/logger.js.map +1 -0
  127. package/dist/commonjs/models/index.d.ts +2 -0
  128. package/dist/commonjs/models/index.js +12 -0
  129. package/dist/commonjs/models/index.js.map +1 -0
  130. package/dist/commonjs/models/models.d.ts +244 -0
  131. package/dist/commonjs/models/models.js +276 -0
  132. package/dist/commonjs/models/models.js.map +1 -0
  133. package/dist/commonjs/package.json +3 -0
  134. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  135. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +42 -0
  136. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
  137. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  138. package/dist/commonjs/static-helpers/pagingHelpers.js +121 -0
  139. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  140. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  141. package/dist/commonjs/static-helpers/urlTemplate.js +188 -0
  142. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  143. package/dist/commonjs/tsdoc-metadata.json +11 -0
  144. package/dist/esm/api/computeLimitContext.d.ts +22 -0
  145. package/dist/esm/api/computeLimitContext.js +43 -0
  146. package/dist/esm/api/computeLimitContext.js.map +1 -0
  147. package/dist/esm/api/guestSubscriptions/index.d.ts +3 -0
  148. package/dist/esm/api/guestSubscriptions/index.js +4 -0
  149. package/dist/esm/api/guestSubscriptions/index.js.map +1 -0
  150. package/dist/esm/api/guestSubscriptions/operations.d.ts +27 -0
  151. package/dist/esm/api/guestSubscriptions/operations.js +134 -0
  152. package/dist/esm/api/guestSubscriptions/operations.js.map +1 -0
  153. package/dist/esm/api/guestSubscriptions/options.d.ts +14 -0
  154. package/dist/esm/api/guestSubscriptions/options.js +4 -0
  155. package/dist/esm/api/guestSubscriptions/options.js.map +1 -0
  156. package/dist/esm/api/index.d.ts +2 -0
  157. package/dist/esm/api/index.js +4 -0
  158. package/dist/esm/api/index.js.map +1 -0
  159. package/dist/esm/api/operations/index.d.ts +3 -0
  160. package/dist/esm/api/operations/index.js +4 -0
  161. package/dist/esm/api/operations/index.js.map +1 -0
  162. package/dist/esm/api/operations/operations.d.ts +10 -0
  163. package/dist/esm/api/operations/operations.js +34 -0
  164. package/dist/esm/api/operations/operations.js.map +1 -0
  165. package/dist/esm/api/operations/options.d.ts +5 -0
  166. package/dist/esm/api/operations/options.js +4 -0
  167. package/dist/esm/api/operations/options.js.map +1 -0
  168. package/dist/esm/api/sharedLimits/index.d.ts +3 -0
  169. package/dist/esm/api/sharedLimits/index.js +4 -0
  170. package/dist/esm/api/sharedLimits/index.js.map +1 -0
  171. package/dist/esm/api/sharedLimits/operations.d.ts +27 -0
  172. package/dist/esm/api/sharedLimits/operations.js +134 -0
  173. package/dist/esm/api/sharedLimits/operations.js.map +1 -0
  174. package/dist/esm/api/sharedLimits/options.d.ts +14 -0
  175. package/dist/esm/api/sharedLimits/options.js +4 -0
  176. package/dist/esm/api/sharedLimits/options.js.map +1 -0
  177. package/dist/esm/classic/guestSubscriptions/index.d.ts +22 -0
  178. package/dist/esm/classic/guestSubscriptions/index.js +17 -0
  179. package/dist/esm/classic/guestSubscriptions/index.js.map +1 -0
  180. package/dist/esm/classic/index.d.ts +4 -0
  181. package/dist/esm/classic/index.js +4 -0
  182. package/dist/esm/classic/index.js.map +1 -0
  183. package/dist/esm/classic/operations/index.d.ts +11 -0
  184. package/dist/esm/classic/operations/index.js +14 -0
  185. package/dist/esm/classic/operations/index.js.map +1 -0
  186. package/dist/esm/classic/sharedLimits/index.d.ts +22 -0
  187. package/dist/esm/classic/sharedLimits/index.js +17 -0
  188. package/dist/esm/classic/sharedLimits/index.js.map +1 -0
  189. package/dist/esm/computeLimitClient.d.ts +21 -0
  190. package/dist/esm/computeLimitClient.js +33 -0
  191. package/dist/esm/computeLimitClient.js.map +1 -0
  192. package/dist/esm/index.d.ts +12 -0
  193. package/dist/esm/index.js +7 -0
  194. package/dist/esm/index.js.map +1 -0
  195. package/dist/esm/logger.d.ts +2 -0
  196. package/dist/esm/logger.js +5 -0
  197. package/dist/esm/logger.js.map +1 -0
  198. package/dist/esm/models/index.d.ts +2 -0
  199. package/dist/esm/models/index.js +4 -0
  200. package/dist/esm/models/index.js.map +1 -0
  201. package/dist/esm/models/models.d.ts +244 -0
  202. package/dist/esm/models/models.js +244 -0
  203. package/dist/esm/models/models.js.map +1 -0
  204. package/dist/esm/package.json +3 -0
  205. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  206. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  207. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  208. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  209. package/dist/esm/static-helpers/pagingHelpers.js +118 -0
  210. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  211. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  212. package/dist/esm/static-helpers/urlTemplate.js +185 -0
  213. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  214. package/dist/react-native/api/computeLimitContext.d.ts +22 -0
  215. package/dist/react-native/api/computeLimitContext.js +43 -0
  216. package/dist/react-native/api/computeLimitContext.js.map +1 -0
  217. package/dist/react-native/api/guestSubscriptions/index.d.ts +3 -0
  218. package/dist/react-native/api/guestSubscriptions/index.js +4 -0
  219. package/dist/react-native/api/guestSubscriptions/index.js.map +1 -0
  220. package/dist/react-native/api/guestSubscriptions/operations.d.ts +27 -0
  221. package/dist/react-native/api/guestSubscriptions/operations.js +134 -0
  222. package/dist/react-native/api/guestSubscriptions/operations.js.map +1 -0
  223. package/dist/react-native/api/guestSubscriptions/options.d.ts +14 -0
  224. package/dist/react-native/api/guestSubscriptions/options.js +4 -0
  225. package/dist/react-native/api/guestSubscriptions/options.js.map +1 -0
  226. package/dist/react-native/api/index.d.ts +2 -0
  227. package/dist/react-native/api/index.js +4 -0
  228. package/dist/react-native/api/index.js.map +1 -0
  229. package/dist/react-native/api/operations/index.d.ts +3 -0
  230. package/dist/react-native/api/operations/index.js +4 -0
  231. package/dist/react-native/api/operations/index.js.map +1 -0
  232. package/dist/react-native/api/operations/operations.d.ts +10 -0
  233. package/dist/react-native/api/operations/operations.js +34 -0
  234. package/dist/react-native/api/operations/operations.js.map +1 -0
  235. package/dist/react-native/api/operations/options.d.ts +5 -0
  236. package/dist/react-native/api/operations/options.js +4 -0
  237. package/dist/react-native/api/operations/options.js.map +1 -0
  238. package/dist/react-native/api/sharedLimits/index.d.ts +3 -0
  239. package/dist/react-native/api/sharedLimits/index.js +4 -0
  240. package/dist/react-native/api/sharedLimits/index.js.map +1 -0
  241. package/dist/react-native/api/sharedLimits/operations.d.ts +27 -0
  242. package/dist/react-native/api/sharedLimits/operations.js +134 -0
  243. package/dist/react-native/api/sharedLimits/operations.js.map +1 -0
  244. package/dist/react-native/api/sharedLimits/options.d.ts +14 -0
  245. package/dist/react-native/api/sharedLimits/options.js +4 -0
  246. package/dist/react-native/api/sharedLimits/options.js.map +1 -0
  247. package/dist/react-native/classic/guestSubscriptions/index.d.ts +22 -0
  248. package/dist/react-native/classic/guestSubscriptions/index.js +17 -0
  249. package/dist/react-native/classic/guestSubscriptions/index.js.map +1 -0
  250. package/dist/react-native/classic/index.d.ts +4 -0
  251. package/dist/react-native/classic/index.js +4 -0
  252. package/dist/react-native/classic/index.js.map +1 -0
  253. package/dist/react-native/classic/operations/index.d.ts +11 -0
  254. package/dist/react-native/classic/operations/index.js +14 -0
  255. package/dist/react-native/classic/operations/index.js.map +1 -0
  256. package/dist/react-native/classic/sharedLimits/index.d.ts +22 -0
  257. package/dist/react-native/classic/sharedLimits/index.js +17 -0
  258. package/dist/react-native/classic/sharedLimits/index.js.map +1 -0
  259. package/dist/react-native/computeLimitClient.d.ts +21 -0
  260. package/dist/react-native/computeLimitClient.js +33 -0
  261. package/dist/react-native/computeLimitClient.js.map +1 -0
  262. package/dist/react-native/index.d.ts +12 -0
  263. package/dist/react-native/index.js +7 -0
  264. package/dist/react-native/index.js.map +1 -0
  265. package/dist/react-native/logger.d.ts +2 -0
  266. package/dist/react-native/logger.js +5 -0
  267. package/dist/react-native/logger.js.map +1 -0
  268. package/dist/react-native/models/index.d.ts +2 -0
  269. package/dist/react-native/models/index.js +4 -0
  270. package/dist/react-native/models/index.js.map +1 -0
  271. package/dist/react-native/models/models.d.ts +244 -0
  272. package/dist/react-native/models/models.js +244 -0
  273. package/dist/react-native/models/models.js.map +1 -0
  274. package/dist/react-native/package.json +3 -0
  275. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
  276. package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
  277. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
  278. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  279. package/dist/react-native/static-helpers/pagingHelpers.js +118 -0
  280. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  281. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  282. package/dist/react-native/static-helpers/urlTemplate.js +185 -0
  283. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  284. package/package.json +233 -0
@@ -0,0 +1,244 @@
1
+ /**
2
+ * This file contains only generated model types and (de)serializers.
3
+ * Disable this rule for deserializer functions which require 'any' for raw JSON input.
4
+ */
5
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
6
+ export interface _OperationListResult {
7
+ /** The Operation items on this page */
8
+ value: Operation[];
9
+ /** The link to the next page of items */
10
+ nextLink?: string;
11
+ }
12
+ export declare function _operationListResultDeserializer(item: any): _OperationListResult;
13
+ export declare function operationArrayDeserializer(result: Array<Operation>): any[];
14
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
15
+ export interface Operation {
16
+ /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
17
+ readonly name?: string;
18
+ /** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
19
+ readonly isDataAction?: boolean;
20
+ /** Localized display information for this particular operation. */
21
+ display?: OperationDisplay;
22
+ /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
23
+ readonly origin?: Origin;
24
+ /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
25
+ readonly actionType?: ActionType;
26
+ }
27
+ export declare function operationDeserializer(item: any): Operation;
28
+ /** Localized display information for and operation. */
29
+ export interface OperationDisplay {
30
+ /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
31
+ readonly provider?: string;
32
+ /** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
33
+ readonly resource?: string;
34
+ /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
35
+ readonly operation?: string;
36
+ /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
37
+ readonly description?: string;
38
+ }
39
+ export declare function operationDisplayDeserializer(item: any): OperationDisplay;
40
+ /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
41
+ export declare enum KnownOrigin {
42
+ /** Indicates the operation is initiated by a user. */
43
+ User = "user",
44
+ /** Indicates the operation is initiated by a system. */
45
+ System = "system",
46
+ /** Indicates the operation is initiated by a user or system. */
47
+ UserSystem = "user,system"
48
+ }
49
+ /**
50
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \
51
+ * {@link KnownOrigin} can be used interchangeably with Origin,
52
+ * this enum contains the known values that the service supports.
53
+ * ### Known values supported by the service
54
+ * **user**: Indicates the operation is initiated by a user. \
55
+ * **system**: Indicates the operation is initiated by a system. \
56
+ * **user,system**: Indicates the operation is initiated by a user or system.
57
+ */
58
+ export type Origin = string;
59
+ /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
60
+ export declare enum KnownActionType {
61
+ /** Actions are for internal-only APIs. */
62
+ Internal = "Internal"
63
+ }
64
+ /**
65
+ * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \
66
+ * {@link KnownActionType} can be used interchangeably with ActionType,
67
+ * this enum contains the known values that the service supports.
68
+ * ### Known values supported by the service
69
+ * **Internal**: Actions are for internal-only APIs.
70
+ */
71
+ export type ActionType = string;
72
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
73
+ export interface ErrorResponse {
74
+ /** The error object. */
75
+ error?: ErrorDetail;
76
+ }
77
+ export declare function errorResponseDeserializer(item: any): ErrorResponse;
78
+ /** The error detail. */
79
+ export interface ErrorDetail {
80
+ /** The error code. */
81
+ readonly code?: string;
82
+ /** The error message. */
83
+ readonly message?: string;
84
+ /** The error target. */
85
+ readonly target?: string;
86
+ /** The error details. */
87
+ readonly details?: ErrorDetail[];
88
+ /** The error additional info. */
89
+ readonly additionalInfo?: ErrorAdditionalInfo[];
90
+ }
91
+ export declare function errorDetailDeserializer(item: any): ErrorDetail;
92
+ export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
93
+ export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
94
+ /** The resource management error additional info. */
95
+ export interface ErrorAdditionalInfo {
96
+ /** The additional info type. */
97
+ readonly type?: string;
98
+ /** The additional info. */
99
+ readonly info?: any;
100
+ }
101
+ export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
102
+ /** Guest subscription that consumes shared compute limits. */
103
+ export interface GuestSubscription extends ProxyResource {
104
+ /** The resource-specific properties for this resource. */
105
+ properties?: GuestSubscriptionProperties;
106
+ }
107
+ export declare function guestSubscriptionSerializer(item: GuestSubscription): any;
108
+ export declare function guestSubscriptionDeserializer(item: any): GuestSubscription;
109
+ /** Properties for guest subscription. */
110
+ export interface GuestSubscriptionProperties {
111
+ /** The provisioning state of the resource. */
112
+ readonly provisioningState?: ResourceProvisioningState;
113
+ }
114
+ export declare function guestSubscriptionPropertiesSerializer(item: GuestSubscriptionProperties): any;
115
+ export declare function guestSubscriptionPropertiesDeserializer(item: any): GuestSubscriptionProperties;
116
+ /** The provisioning state of a resource type. */
117
+ export declare enum KnownResourceProvisioningState {
118
+ /** Resource has been created. */
119
+ Succeeded = "Succeeded",
120
+ /** Resource creation failed. */
121
+ Failed = "Failed",
122
+ /** Resource creation was canceled. */
123
+ Canceled = "Canceled"
124
+ }
125
+ /**
126
+ * The provisioning state of a resource type. \
127
+ * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,
128
+ * this enum contains the known values that the service supports.
129
+ * ### Known values supported by the service
130
+ * **Succeeded**: Resource has been created. \
131
+ * **Failed**: Resource creation failed. \
132
+ * **Canceled**: Resource creation was canceled.
133
+ */
134
+ export type ResourceProvisioningState = string;
135
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
136
+ export interface ProxyResource extends Resource {
137
+ }
138
+ export declare function proxyResourceSerializer(item: ProxyResource): any;
139
+ export declare function proxyResourceDeserializer(item: any): ProxyResource;
140
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
141
+ export interface Resource {
142
+ /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
143
+ readonly id?: string;
144
+ /** The name of the resource */
145
+ readonly name?: string;
146
+ /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
147
+ readonly type?: string;
148
+ /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
149
+ readonly systemData?: SystemData;
150
+ }
151
+ export declare function resourceSerializer(item: Resource): any;
152
+ export declare function resourceDeserializer(item: any): Resource;
153
+ /** Metadata pertaining to creation and last modification of the resource. */
154
+ export interface SystemData {
155
+ /** The identity that created the resource. */
156
+ createdBy?: string;
157
+ /** The type of identity that created the resource. */
158
+ createdByType?: CreatedByType;
159
+ /** The timestamp of resource creation (UTC). */
160
+ createdAt?: Date;
161
+ /** The identity that last modified the resource. */
162
+ lastModifiedBy?: string;
163
+ /** The type of identity that last modified the resource. */
164
+ lastModifiedByType?: CreatedByType;
165
+ /** The timestamp of resource last modification (UTC) */
166
+ lastModifiedAt?: Date;
167
+ }
168
+ export declare function systemDataDeserializer(item: any): SystemData;
169
+ /** The kind of entity that created the resource. */
170
+ export declare enum KnownCreatedByType {
171
+ /** The entity was created by a user. */
172
+ User = "User",
173
+ /** The entity was created by an application. */
174
+ Application = "Application",
175
+ /** The entity was created by a managed identity. */
176
+ ManagedIdentity = "ManagedIdentity",
177
+ /** The entity was created by a key. */
178
+ Key = "Key"
179
+ }
180
+ /**
181
+ * The kind of entity that created the resource. \
182
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
183
+ * this enum contains the known values that the service supports.
184
+ * ### Known values supported by the service
185
+ * **User**: The entity was created by a user. \
186
+ * **Application**: The entity was created by an application. \
187
+ * **ManagedIdentity**: The entity was created by a managed identity. \
188
+ * **Key**: The entity was created by a key.
189
+ */
190
+ export type CreatedByType = string;
191
+ /** The response of a GuestSubscription list operation. */
192
+ export interface _GuestSubscriptionListResult {
193
+ /** The GuestSubscription items on this page */
194
+ value: GuestSubscription[];
195
+ /** The link to the next page of items */
196
+ nextLink?: string;
197
+ }
198
+ export declare function _guestSubscriptionListResultDeserializer(item: any): _GuestSubscriptionListResult;
199
+ export declare function guestSubscriptionArraySerializer(result: Array<GuestSubscription>): any[];
200
+ export declare function guestSubscriptionArrayDeserializer(result: Array<GuestSubscription>): any[];
201
+ /** Compute limits shared by the subscription. */
202
+ export interface SharedLimit extends ProxyResource {
203
+ /** The resource-specific properties for this resource. */
204
+ properties?: SharedLimitProperties;
205
+ }
206
+ export declare function sharedLimitSerializer(item: SharedLimit): any;
207
+ export declare function sharedLimitDeserializer(item: any): SharedLimit;
208
+ /** Properties of the compute shared limit. */
209
+ export interface SharedLimitProperties {
210
+ /** The limit name properties. */
211
+ readonly resourceName?: LimitName;
212
+ /** The maximum permitted usage of the resource. */
213
+ readonly limit?: number;
214
+ /** The quota units, such as Count. */
215
+ readonly unit?: string;
216
+ /** The provisioning state of the resource. */
217
+ readonly provisioningState?: ResourceProvisioningState;
218
+ }
219
+ export declare function sharedLimitPropertiesSerializer(item: SharedLimitProperties): any;
220
+ export declare function sharedLimitPropertiesDeserializer(item: any): SharedLimitProperties;
221
+ /** Properties of the limit name. */
222
+ export interface LimitName {
223
+ /** The limit name. */
224
+ value: string;
225
+ /** The localized limit name. */
226
+ readonly localizedValue?: string;
227
+ }
228
+ export declare function limitNameDeserializer(item: any): LimitName;
229
+ /** The response of a SharedLimit list operation. */
230
+ export interface _SharedLimitListResult {
231
+ /** The SharedLimit items on this page */
232
+ value: SharedLimit[];
233
+ /** The link to the next page of items */
234
+ nextLink?: string;
235
+ }
236
+ export declare function _sharedLimitListResultDeserializer(item: any): _SharedLimitListResult;
237
+ export declare function sharedLimitArraySerializer(result: Array<SharedLimit>): any[];
238
+ export declare function sharedLimitArrayDeserializer(result: Array<SharedLimit>): any[];
239
+ /** The available API versions. */
240
+ export declare enum KnownVersions {
241
+ /** The 2025-08-15 API version. */
242
+ V20250815 = "2025-08-15"
243
+ }
244
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1,244 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export function _operationListResultDeserializer(item) {
4
+ return {
5
+ value: operationArrayDeserializer(item["value"]),
6
+ nextLink: item["nextLink"],
7
+ };
8
+ }
9
+ export function operationArrayDeserializer(result) {
10
+ return result.map((item) => {
11
+ return operationDeserializer(item);
12
+ });
13
+ }
14
+ export function operationDeserializer(item) {
15
+ return {
16
+ name: item["name"],
17
+ isDataAction: item["isDataAction"],
18
+ display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
19
+ origin: item["origin"],
20
+ actionType: item["actionType"],
21
+ };
22
+ }
23
+ export function operationDisplayDeserializer(item) {
24
+ return {
25
+ provider: item["provider"],
26
+ resource: item["resource"],
27
+ operation: item["operation"],
28
+ description: item["description"],
29
+ };
30
+ }
31
+ /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
32
+ export var KnownOrigin;
33
+ (function (KnownOrigin) {
34
+ /** Indicates the operation is initiated by a user. */
35
+ KnownOrigin["User"] = "user";
36
+ /** Indicates the operation is initiated by a system. */
37
+ KnownOrigin["System"] = "system";
38
+ /** Indicates the operation is initiated by a user or system. */
39
+ KnownOrigin["UserSystem"] = "user,system";
40
+ })(KnownOrigin || (KnownOrigin = {}));
41
+ /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
42
+ export var KnownActionType;
43
+ (function (KnownActionType) {
44
+ /** Actions are for internal-only APIs. */
45
+ KnownActionType["Internal"] = "Internal";
46
+ })(KnownActionType || (KnownActionType = {}));
47
+ export function errorResponseDeserializer(item) {
48
+ return {
49
+ error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
50
+ };
51
+ }
52
+ export function errorDetailDeserializer(item) {
53
+ return {
54
+ code: item["code"],
55
+ message: item["message"],
56
+ target: item["target"],
57
+ details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
58
+ additionalInfo: !item["additionalInfo"]
59
+ ? item["additionalInfo"]
60
+ : errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
61
+ };
62
+ }
63
+ export function errorDetailArrayDeserializer(result) {
64
+ return result.map((item) => {
65
+ return errorDetailDeserializer(item);
66
+ });
67
+ }
68
+ export function errorAdditionalInfoArrayDeserializer(result) {
69
+ return result.map((item) => {
70
+ return errorAdditionalInfoDeserializer(item);
71
+ });
72
+ }
73
+ export function errorAdditionalInfoDeserializer(item) {
74
+ return {
75
+ type: item["type"],
76
+ info: item["info"],
77
+ };
78
+ }
79
+ export function guestSubscriptionSerializer(item) {
80
+ return {
81
+ properties: !item["properties"]
82
+ ? item["properties"]
83
+ : guestSubscriptionPropertiesSerializer(item["properties"]),
84
+ };
85
+ }
86
+ export function guestSubscriptionDeserializer(item) {
87
+ return {
88
+ id: item["id"],
89
+ name: item["name"],
90
+ type: item["type"],
91
+ systemData: !item["systemData"]
92
+ ? item["systemData"]
93
+ : systemDataDeserializer(item["systemData"]),
94
+ properties: !item["properties"]
95
+ ? item["properties"]
96
+ : guestSubscriptionPropertiesDeserializer(item["properties"]),
97
+ };
98
+ }
99
+ export function guestSubscriptionPropertiesSerializer(item) {
100
+ return item;
101
+ }
102
+ export function guestSubscriptionPropertiesDeserializer(item) {
103
+ return {
104
+ provisioningState: item["provisioningState"],
105
+ };
106
+ }
107
+ /** The provisioning state of a resource type. */
108
+ export var KnownResourceProvisioningState;
109
+ (function (KnownResourceProvisioningState) {
110
+ /** Resource has been created. */
111
+ KnownResourceProvisioningState["Succeeded"] = "Succeeded";
112
+ /** Resource creation failed. */
113
+ KnownResourceProvisioningState["Failed"] = "Failed";
114
+ /** Resource creation was canceled. */
115
+ KnownResourceProvisioningState["Canceled"] = "Canceled";
116
+ })(KnownResourceProvisioningState || (KnownResourceProvisioningState = {}));
117
+ export function proxyResourceSerializer(item) {
118
+ return item;
119
+ }
120
+ export function proxyResourceDeserializer(item) {
121
+ return {
122
+ id: item["id"],
123
+ name: item["name"],
124
+ type: item["type"],
125
+ systemData: !item["systemData"]
126
+ ? item["systemData"]
127
+ : systemDataDeserializer(item["systemData"]),
128
+ };
129
+ }
130
+ export function resourceSerializer(item) {
131
+ return item;
132
+ }
133
+ export function resourceDeserializer(item) {
134
+ return {
135
+ id: item["id"],
136
+ name: item["name"],
137
+ type: item["type"],
138
+ systemData: !item["systemData"]
139
+ ? item["systemData"]
140
+ : systemDataDeserializer(item["systemData"]),
141
+ };
142
+ }
143
+ export function systemDataDeserializer(item) {
144
+ return {
145
+ createdBy: item["createdBy"],
146
+ createdByType: item["createdByType"],
147
+ createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
148
+ lastModifiedBy: item["lastModifiedBy"],
149
+ lastModifiedByType: item["lastModifiedByType"],
150
+ lastModifiedAt: !item["lastModifiedAt"]
151
+ ? item["lastModifiedAt"]
152
+ : new Date(item["lastModifiedAt"]),
153
+ };
154
+ }
155
+ /** The kind of entity that created the resource. */
156
+ export var KnownCreatedByType;
157
+ (function (KnownCreatedByType) {
158
+ /** The entity was created by a user. */
159
+ KnownCreatedByType["User"] = "User";
160
+ /** The entity was created by an application. */
161
+ KnownCreatedByType["Application"] = "Application";
162
+ /** The entity was created by a managed identity. */
163
+ KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
164
+ /** The entity was created by a key. */
165
+ KnownCreatedByType["Key"] = "Key";
166
+ })(KnownCreatedByType || (KnownCreatedByType = {}));
167
+ export function _guestSubscriptionListResultDeserializer(item) {
168
+ return {
169
+ value: guestSubscriptionArrayDeserializer(item["value"]),
170
+ nextLink: item["nextLink"],
171
+ };
172
+ }
173
+ export function guestSubscriptionArraySerializer(result) {
174
+ return result.map((item) => {
175
+ return guestSubscriptionSerializer(item);
176
+ });
177
+ }
178
+ export function guestSubscriptionArrayDeserializer(result) {
179
+ return result.map((item) => {
180
+ return guestSubscriptionDeserializer(item);
181
+ });
182
+ }
183
+ export function sharedLimitSerializer(item) {
184
+ return {
185
+ properties: !item["properties"]
186
+ ? item["properties"]
187
+ : sharedLimitPropertiesSerializer(item["properties"]),
188
+ };
189
+ }
190
+ export function sharedLimitDeserializer(item) {
191
+ return {
192
+ id: item["id"],
193
+ name: item["name"],
194
+ type: item["type"],
195
+ systemData: !item["systemData"]
196
+ ? item["systemData"]
197
+ : systemDataDeserializer(item["systemData"]),
198
+ properties: !item["properties"]
199
+ ? item["properties"]
200
+ : sharedLimitPropertiesDeserializer(item["properties"]),
201
+ };
202
+ }
203
+ export function sharedLimitPropertiesSerializer(item) {
204
+ return item;
205
+ }
206
+ export function sharedLimitPropertiesDeserializer(item) {
207
+ return {
208
+ resourceName: !item["resourceName"]
209
+ ? item["resourceName"]
210
+ : limitNameDeserializer(item["resourceName"]),
211
+ limit: item["limit"],
212
+ unit: item["unit"],
213
+ provisioningState: item["provisioningState"],
214
+ };
215
+ }
216
+ export function limitNameDeserializer(item) {
217
+ return {
218
+ value: item["value"],
219
+ localizedValue: item["localizedValue"],
220
+ };
221
+ }
222
+ export function _sharedLimitListResultDeserializer(item) {
223
+ return {
224
+ value: sharedLimitArrayDeserializer(item["value"]),
225
+ nextLink: item["nextLink"],
226
+ };
227
+ }
228
+ export function sharedLimitArraySerializer(result) {
229
+ return result.map((item) => {
230
+ return sharedLimitSerializer(item);
231
+ });
232
+ }
233
+ export function sharedLimitArrayDeserializer(result) {
234
+ return result.map((item) => {
235
+ return sharedLimitDeserializer(item);
236
+ });
237
+ }
238
+ /** The available API versions. */
239
+ export var KnownVersions;
240
+ (function (KnownVersions) {
241
+ /** The 2025-08-15 API version. */
242
+ KnownVersions["V20250815"] = "2025-08-15";
243
+ })(KnownVersions || (KnownVersions = {}));
244
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAelC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAgBD,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC7C,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,OAAO,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3F,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;KAC/B,CAAC;AACJ,CAAC;AAcD,MAAM,UAAU,4BAA4B,CAAC,IAAS;IACpD,OAAO;QACL,QAAQ,EAAE,IAAI,CAAC,UAAU,CAA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C,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,iBAAiB,EAAE,IAAI,CAAC,mBAAmB,CAAC;KAC7C,CAAC;AACJ,CAAC;AAUD,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC7C,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;QACpB,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC;KACvC,CAAC;AACJ,CAAC;AAUD,MAAM,UAAU,kCAAkC,CAAC,IAAS;IAC1D,OAAO;QACL,KAAK,EAAE,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAA0B;IACnE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,MAA0B;IACrE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,kCAAkC;AAClC,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,kCAAkC;IAClC,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * This file contains only generated model types and (de)serializers.\n * Disable this rule for deserializer functions which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Guest subscription that consumes shared compute limits. */\nexport interface GuestSubscription extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: GuestSubscriptionProperties;\n}\n\nexport function guestSubscriptionSerializer(item: GuestSubscription): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : guestSubscriptionPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function guestSubscriptionDeserializer(item: any): GuestSubscription {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : guestSubscriptionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties for guest subscription. */\nexport interface GuestSubscriptionProperties {\n /** The provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function guestSubscriptionPropertiesSerializer(item: GuestSubscriptionProperties): any {\n return item;\n}\n\nexport function guestSubscriptionPropertiesDeserializer(item: any): GuestSubscriptionProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The provisioning state of a resource type. */\nexport enum KnownResourceProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled.\n */\nexport type ResourceProvisioningState = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The response of a GuestSubscription list operation. */\nexport interface _GuestSubscriptionListResult {\n /** The GuestSubscription items on this page */\n value: GuestSubscription[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _guestSubscriptionListResultDeserializer(item: any): _GuestSubscriptionListResult {\n return {\n value: guestSubscriptionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function guestSubscriptionArraySerializer(result: Array<GuestSubscription>): any[] {\n return result.map((item) => {\n return guestSubscriptionSerializer(item);\n });\n}\n\nexport function guestSubscriptionArrayDeserializer(result: Array<GuestSubscription>): any[] {\n return result.map((item) => {\n return guestSubscriptionDeserializer(item);\n });\n}\n\n/** Compute limits shared by the subscription. */\nexport interface SharedLimit extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: SharedLimitProperties;\n}\n\nexport function sharedLimitSerializer(item: SharedLimit): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : sharedLimitPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function sharedLimitDeserializer(item: any): SharedLimit {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : sharedLimitPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of the compute shared limit. */\nexport interface SharedLimitProperties {\n /** The limit name properties. */\n readonly resourceName?: LimitName;\n /** The maximum permitted usage of the resource. */\n readonly limit?: number;\n /** The quota units, such as Count. */\n readonly unit?: string;\n /** The provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function sharedLimitPropertiesSerializer(item: SharedLimitProperties): any {\n return item;\n}\n\nexport function sharedLimitPropertiesDeserializer(item: any): SharedLimitProperties {\n return {\n resourceName: !item[\"resourceName\"]\n ? item[\"resourceName\"]\n : limitNameDeserializer(item[\"resourceName\"]),\n limit: item[\"limit\"],\n unit: item[\"unit\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Properties of the limit name. */\nexport interface LimitName {\n /** The limit name. */\n value: string;\n /** The localized limit name. */\n readonly localizedValue?: string;\n}\n\nexport function limitNameDeserializer(item: any): LimitName {\n return {\n value: item[\"value\"],\n localizedValue: item[\"localizedValue\"],\n };\n}\n\n/** The response of a SharedLimit list operation. */\nexport interface _SharedLimitListResult {\n /** The SharedLimit items on this page */\n value: SharedLimit[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _sharedLimitListResultDeserializer(item: any): _SharedLimitListResult {\n return {\n value: sharedLimitArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function sharedLimitArraySerializer(result: Array<SharedLimit>): any[] {\n return result.map((item) => {\n return sharedLimitSerializer(item);\n });\n}\n\nexport function sharedLimitArrayDeserializer(result: Array<SharedLimit>): any[] {\n return result.map((item) => {\n return sharedLimitDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2025-08-15 API version. */\n V20250815 = \"2025-08-15\",\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * An enum to describe Azure Cloud environments.
3
+ * @enum {string}
4
+ */
5
+ export declare enum AzureClouds {
6
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
7
+ AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
8
+ /** Azure China cloud */
9
+ AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
10
+ /** Azure US government cloud */
11
+ AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
12
+ }
13
+ /** The supported values for cloud setting as a string literal type */
14
+ export type AzureSupportedClouds = `${AzureClouds}`;
15
+ /**
16
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
17
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
18
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
19
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
20
+ */
21
+ export declare function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined;
22
+ //# sourceMappingURL=cloudSettingHelpers.d.ts.map
@@ -0,0 +1,38 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ /**
4
+ * An enum to describe Azure Cloud environments.
5
+ * @enum {string}
6
+ */
7
+ export var AzureClouds;
8
+ (function (AzureClouds) {
9
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
10
+ AzureClouds["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
11
+ /** Azure China cloud */
12
+ AzureClouds["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
13
+ /** Azure US government cloud */
14
+ AzureClouds["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
15
+ })(AzureClouds || (AzureClouds = {}));
16
+ /**
17
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
18
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
19
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
20
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
21
+ */
22
+ export function getArmEndpoint(cloudSetting) {
23
+ if (cloudSetting === undefined) {
24
+ return undefined;
25
+ }
26
+ const cloudEndpoints = {
27
+ AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
28
+ AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
29
+ AZURE_PUBLIC_CLOUD: "https://management.azure.com/",
30
+ };
31
+ if (cloudSetting in cloudEndpoints) {
32
+ return cloudEndpoints[cloudSetting];
33
+ }
34
+ else {
35
+ throw new Error(`Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`);
36
+ }
37
+ }
38
+ //# sourceMappingURL=cloudSettingHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudSettingHelpers.js","sourceRoot":"","sources":["../../../src/static-helpers/cloudSettingHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;GAGG;AACH,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,qEAAqE;IACrE,wDAAyC,CAAA;IACzC,wBAAwB;IACxB,sDAAuC,CAAA;IACvC,gCAAgC;IAChC,0DAA2C,CAAA;AAC7C,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAKD;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,YAAmC;IAChE,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,cAAc,GAA6C;QAC/D,iBAAiB,EAAE,sCAAsC;QACzD,mBAAmB,EAAE,uCAAuC;QAC5D,kBAAkB,EAAE,+BAA+B;KACpD,CAAC;IACF,IAAI,YAAY,IAAI,cAAc,EAAE,CAAC;QACnC,OAAO,cAAc,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CACb,0BAA0B,YAAY,6DAA6D,CACpG,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * An enum to describe Azure Cloud environments.\n * @enum {string}\n */\nexport enum AzureClouds {\n /** Azure public cloud, which is the default cloud for Azure SDKs. */\n AZURE_PUBLIC_CLOUD = \"AZURE_PUBLIC_CLOUD\",\n /** Azure China cloud */\n AZURE_CHINA_CLOUD = \"AZURE_CHINA_CLOUD\",\n /** Azure US government cloud */\n AZURE_US_GOVERNMENT = \"AZURE_US_GOVERNMENT\",\n}\n\n/** The supported values for cloud setting as a string literal type */\nexport type AzureSupportedClouds = `${AzureClouds}`;\n\n/**\n * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.\n * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.\n * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.\n * @throws {Error} Throws an error if an unknown cloud setting is provided.\n */\nexport function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined {\n if (cloudSetting === undefined) {\n return undefined;\n }\n const cloudEndpoints: Record<keyof typeof AzureClouds, string> = {\n AZURE_CHINA_CLOUD: \"https://management.chinacloudapi.cn/\",\n AZURE_US_GOVERNMENT: \"https://management.usgovcloudapi.net/\",\n AZURE_PUBLIC_CLOUD: \"https://management.azure.com/\",\n };\n if (cloudSetting in cloudEndpoints) {\n return cloudEndpoints[cloudSetting];\n } else {\n throw new Error(\n `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`,\n );\n }\n}\n"]}