@azure/monitor-ingestion 1.1.1-alpha.20250619.1 → 1.2.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 (281) hide show
  1. package/dist/browser/api/index.d.ts +4 -0
  2. package/dist/browser/api/index.d.ts.map +1 -0
  3. package/dist/browser/api/index.js +5 -0
  4. package/dist/browser/api/index.js.map +1 -0
  5. package/dist/browser/api/logsIngestionContext.d.ts +23 -0
  6. package/dist/browser/api/logsIngestionContext.d.ts.map +1 -0
  7. package/dist/browser/api/logsIngestionContext.js +39 -0
  8. package/dist/browser/api/logsIngestionContext.js.map +1 -0
  9. package/dist/browser/api/operations.d.ts +8 -0
  10. package/dist/browser/api/operations.d.ts.map +1 -0
  11. package/dist/browser/api/operations.js +34 -0
  12. package/dist/browser/api/operations.js.map +1 -0
  13. package/dist/browser/api/options.d.ts +21 -0
  14. package/dist/browser/api/options.d.ts.map +1 -0
  15. package/dist/browser/api/options.js +4 -0
  16. package/dist/browser/api/options.js.map +1 -0
  17. package/dist/browser/index.d.ts +3 -7
  18. package/dist/browser/index.d.ts.map +1 -1
  19. package/dist/browser/index.js +2 -7
  20. package/dist/browser/index.js.map +1 -1
  21. package/dist/browser/logger.d.ts +2 -0
  22. package/dist/browser/logger.d.ts.map +1 -0
  23. package/dist/browser/logger.js +5 -0
  24. package/dist/browser/logger.js.map +1 -0
  25. package/dist/browser/logsIngestionClient.d.ts +7 -20
  26. package/dist/browser/logsIngestionClient.d.ts.map +1 -1
  27. package/dist/browser/logsIngestionClient.js +14 -12
  28. package/dist/browser/logsIngestionClient.js.map +1 -1
  29. package/dist/browser/models/index.d.ts +2 -0
  30. package/dist/browser/models/index.d.ts.map +1 -0
  31. package/dist/browser/models/index.js +4 -0
  32. package/dist/browser/models/index.js.map +1 -0
  33. package/dist/{esm → browser/models}/models.d.ts +15 -10
  34. package/dist/browser/models/models.d.ts.map +1 -0
  35. package/dist/browser/{models.js → models/models.js} +24 -0
  36. package/dist/browser/models/models.js.map +1 -0
  37. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  38. package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
  39. package/dist/browser/static-helpers/urlTemplate.js +186 -0
  40. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  41. package/dist/commonjs/api/index.d.ts +4 -0
  42. package/dist/commonjs/api/index.d.ts.map +1 -0
  43. package/dist/commonjs/api/index.js +10 -0
  44. package/dist/commonjs/api/index.js.map +1 -0
  45. package/dist/commonjs/api/logsIngestionContext.d.ts +23 -0
  46. package/dist/commonjs/api/logsIngestionContext.d.ts.map +1 -0
  47. package/dist/commonjs/api/logsIngestionContext.js +42 -0
  48. package/dist/commonjs/api/logsIngestionContext.js.map +1 -0
  49. package/dist/commonjs/api/operations.d.ts +8 -0
  50. package/dist/commonjs/api/operations.d.ts.map +1 -0
  51. package/dist/commonjs/api/operations.js +39 -0
  52. package/dist/commonjs/api/operations.js.map +1 -0
  53. package/dist/commonjs/api/options.d.ts +21 -0
  54. package/dist/commonjs/api/options.d.ts.map +1 -0
  55. package/dist/commonjs/api/options.js +5 -0
  56. package/dist/commonjs/api/options.js.map +1 -0
  57. package/dist/commonjs/index.d.ts +3 -7
  58. package/dist/commonjs/index.d.ts.map +1 -1
  59. package/dist/commonjs/index.js +9 -10
  60. package/dist/commonjs/index.js.map +1 -1
  61. package/dist/commonjs/logger.d.ts +2 -0
  62. package/dist/commonjs/logger.d.ts.map +1 -0
  63. package/dist/commonjs/logger.js +8 -0
  64. package/dist/commonjs/logger.js.map +1 -0
  65. package/dist/commonjs/logsIngestionClient.d.ts +7 -20
  66. package/dist/commonjs/logsIngestionClient.d.ts.map +1 -1
  67. package/dist/commonjs/logsIngestionClient.js +14 -12
  68. package/dist/commonjs/logsIngestionClient.js.map +1 -1
  69. package/dist/commonjs/models/index.d.ts +2 -0
  70. package/dist/commonjs/models/index.d.ts.map +1 -0
  71. package/dist/commonjs/models/index.js +12 -0
  72. package/dist/commonjs/models/index.js.map +1 -0
  73. package/dist/{react-native → commonjs/models}/models.d.ts +15 -10
  74. package/dist/commonjs/models/models.d.ts.map +1 -0
  75. package/dist/commonjs/{models.js → models/models.js} +27 -3
  76. package/dist/commonjs/models/models.js.map +1 -0
  77. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  78. package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
  79. package/dist/commonjs/static-helpers/urlTemplate.js +189 -0
  80. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  81. package/dist/esm/api/index.d.ts +4 -0
  82. package/dist/esm/api/index.d.ts.map +1 -0
  83. package/dist/esm/api/index.js +5 -0
  84. package/dist/esm/api/index.js.map +1 -0
  85. package/dist/esm/api/logsIngestionContext.d.ts +23 -0
  86. package/dist/esm/api/logsIngestionContext.d.ts.map +1 -0
  87. package/dist/esm/api/logsIngestionContext.js +39 -0
  88. package/dist/esm/api/logsIngestionContext.js.map +1 -0
  89. package/dist/esm/api/operations.d.ts +8 -0
  90. package/dist/esm/api/operations.d.ts.map +1 -0
  91. package/dist/esm/api/operations.js +34 -0
  92. package/dist/esm/api/operations.js.map +1 -0
  93. package/dist/esm/api/options.d.ts +21 -0
  94. package/dist/esm/api/options.d.ts.map +1 -0
  95. package/dist/esm/api/options.js +4 -0
  96. package/dist/esm/api/options.js.map +1 -0
  97. package/dist/esm/index.d.ts +3 -7
  98. package/dist/esm/index.d.ts.map +1 -1
  99. package/dist/esm/index.js +2 -7
  100. package/dist/esm/index.js.map +1 -1
  101. package/dist/esm/logger.d.ts +2 -0
  102. package/dist/esm/logger.d.ts.map +1 -0
  103. package/dist/esm/logger.js +5 -0
  104. package/dist/esm/logger.js.map +1 -0
  105. package/dist/esm/logsIngestionClient.d.ts +7 -20
  106. package/dist/esm/logsIngestionClient.d.ts.map +1 -1
  107. package/dist/esm/logsIngestionClient.js +14 -12
  108. package/dist/esm/logsIngestionClient.js.map +1 -1
  109. package/dist/esm/models/index.d.ts +2 -0
  110. package/dist/esm/models/index.d.ts.map +1 -0
  111. package/dist/esm/models/index.js +4 -0
  112. package/dist/esm/models/index.js.map +1 -0
  113. package/dist/{browser → esm/models}/models.d.ts +15 -10
  114. package/dist/esm/models/models.d.ts.map +1 -0
  115. package/dist/{react-native → esm/models}/models.js +24 -0
  116. package/dist/esm/models/models.js.map +1 -0
  117. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  118. package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
  119. package/dist/esm/static-helpers/urlTemplate.js +186 -0
  120. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  121. package/dist/react-native/api/index.d.ts +4 -0
  122. package/dist/react-native/api/index.d.ts.map +1 -0
  123. package/dist/react-native/api/index.js +5 -0
  124. package/dist/react-native/api/index.js.map +1 -0
  125. package/dist/react-native/api/logsIngestionContext.d.ts +23 -0
  126. package/dist/react-native/api/logsIngestionContext.d.ts.map +1 -0
  127. package/dist/react-native/api/logsIngestionContext.js +39 -0
  128. package/dist/react-native/api/logsIngestionContext.js.map +1 -0
  129. package/dist/react-native/api/operations.d.ts +8 -0
  130. package/dist/react-native/api/operations.d.ts.map +1 -0
  131. package/dist/react-native/api/operations.js +34 -0
  132. package/dist/react-native/api/operations.js.map +1 -0
  133. package/dist/react-native/api/options.d.ts +21 -0
  134. package/dist/react-native/api/options.d.ts.map +1 -0
  135. package/dist/react-native/api/options.js +4 -0
  136. package/dist/react-native/api/options.js.map +1 -0
  137. package/dist/react-native/index.d.ts +3 -7
  138. package/dist/react-native/index.d.ts.map +1 -1
  139. package/dist/react-native/index.js +2 -7
  140. package/dist/react-native/index.js.map +1 -1
  141. package/dist/react-native/logger.d.ts +2 -0
  142. package/dist/react-native/logger.d.ts.map +1 -0
  143. package/dist/react-native/logger.js +5 -0
  144. package/dist/react-native/logger.js.map +1 -0
  145. package/dist/react-native/logsIngestionClient.d.ts +7 -20
  146. package/dist/react-native/logsIngestionClient.d.ts.map +1 -1
  147. package/dist/react-native/logsIngestionClient.js +14 -12
  148. package/dist/react-native/logsIngestionClient.js.map +1 -1
  149. package/dist/react-native/models/index.d.ts +2 -0
  150. package/dist/react-native/models/index.d.ts.map +1 -0
  151. package/dist/react-native/models/index.js +4 -0
  152. package/dist/react-native/models/index.js.map +1 -0
  153. package/dist/{commonjs → react-native/models}/models.d.ts +15 -10
  154. package/dist/react-native/models/models.d.ts.map +1 -0
  155. package/dist/{esm → react-native/models}/models.js +24 -0
  156. package/dist/react-native/models/models.js.map +1 -0
  157. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  158. package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
  159. package/dist/react-native/static-helpers/urlTemplate.js +186 -0
  160. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  161. package/package.json +67 -66
  162. package/dist/browser/constants.d.ts +0 -22
  163. package/dist/browser/constants.d.ts.map +0 -1
  164. package/dist/browser/constants.js +0 -25
  165. package/dist/browser/constants.js.map +0 -1
  166. package/dist/browser/generated/generatedMonitorIngestionClient.d.ts +0 -23
  167. package/dist/browser/generated/generatedMonitorIngestionClient.d.ts.map +0 -1
  168. package/dist/browser/generated/generatedMonitorIngestionClient.js +0 -59
  169. package/dist/browser/generated/generatedMonitorIngestionClient.js.map +0 -1
  170. package/dist/browser/generated/generatedMonitorIngestionClientContext.d.ts +0 -17
  171. package/dist/browser/generated/generatedMonitorIngestionClientContext.d.ts.map +0 -1
  172. package/dist/browser/generated/generatedMonitorIngestionClientContext.js +0 -47
  173. package/dist/browser/generated/generatedMonitorIngestionClientContext.js.map +0 -1
  174. package/dist/browser/generated/index.d.ts +0 -4
  175. package/dist/browser/generated/index.d.ts.map +0 -1
  176. package/dist/browser/generated/index.js +0 -11
  177. package/dist/browser/generated/index.js.map +0 -1
  178. package/dist/browser/generated/models/index.d.ts +0 -67
  179. package/dist/browser/generated/models/index.d.ts.map +0 -1
  180. package/dist/browser/generated/models/index.js +0 -9
  181. package/dist/browser/generated/models/index.js.map +0 -1
  182. package/dist/browser/generated/models/mappers.d.ts +0 -6
  183. package/dist/browser/generated/models/mappers.d.ts.map +0 -1
  184. package/dist/browser/generated/models/mappers.js +0 -115
  185. package/dist/browser/generated/models/mappers.js.map +0 -1
  186. package/dist/browser/generated/models/parameters.d.ts +0 -11
  187. package/dist/browser/generated/models/parameters.d.ts.map +0 -1
  188. package/dist/browser/generated/models/parameters.js +0 -106
  189. package/dist/browser/generated/models/parameters.js.map +0 -1
  190. package/dist/browser/models.d.ts.map +0 -1
  191. package/dist/browser/models.js.map +0 -1
  192. package/dist/commonjs/constants.d.ts +0 -22
  193. package/dist/commonjs/constants.d.ts.map +0 -1
  194. package/dist/commonjs/constants.js +0 -28
  195. package/dist/commonjs/constants.js.map +0 -1
  196. package/dist/commonjs/generated/generatedMonitorIngestionClient.d.ts +0 -23
  197. package/dist/commonjs/generated/generatedMonitorIngestionClient.d.ts.map +0 -1
  198. package/dist/commonjs/generated/generatedMonitorIngestionClient.js +0 -64
  199. package/dist/commonjs/generated/generatedMonitorIngestionClient.js.map +0 -1
  200. package/dist/commonjs/generated/generatedMonitorIngestionClientContext.d.ts +0 -17
  201. package/dist/commonjs/generated/generatedMonitorIngestionClientContext.d.ts.map +0 -1
  202. package/dist/commonjs/generated/generatedMonitorIngestionClientContext.js +0 -52
  203. package/dist/commonjs/generated/generatedMonitorIngestionClientContext.js.map +0 -1
  204. package/dist/commonjs/generated/index.d.ts +0 -4
  205. package/dist/commonjs/generated/index.d.ts.map +0 -1
  206. package/dist/commonjs/generated/index.js +0 -17
  207. package/dist/commonjs/generated/index.js.map +0 -1
  208. package/dist/commonjs/generated/models/index.d.ts +0 -67
  209. package/dist/commonjs/generated/models/index.d.ts.map +0 -1
  210. package/dist/commonjs/generated/models/index.js +0 -10
  211. package/dist/commonjs/generated/models/index.js.map +0 -1
  212. package/dist/commonjs/generated/models/mappers.d.ts +0 -6
  213. package/dist/commonjs/generated/models/mappers.d.ts.map +0 -1
  214. package/dist/commonjs/generated/models/mappers.js +0 -118
  215. package/dist/commonjs/generated/models/mappers.js.map +0 -1
  216. package/dist/commonjs/generated/models/parameters.d.ts +0 -11
  217. package/dist/commonjs/generated/models/parameters.d.ts.map +0 -1
  218. package/dist/commonjs/generated/models/parameters.js +0 -109
  219. package/dist/commonjs/generated/models/parameters.js.map +0 -1
  220. package/dist/commonjs/models.d.ts.map +0 -1
  221. package/dist/commonjs/models.js.map +0 -1
  222. package/dist/esm/constants.d.ts +0 -22
  223. package/dist/esm/constants.d.ts.map +0 -1
  224. package/dist/esm/constants.js +0 -25
  225. package/dist/esm/constants.js.map +0 -1
  226. package/dist/esm/generated/generatedMonitorIngestionClient.d.ts +0 -23
  227. package/dist/esm/generated/generatedMonitorIngestionClient.d.ts.map +0 -1
  228. package/dist/esm/generated/generatedMonitorIngestionClient.js +0 -59
  229. package/dist/esm/generated/generatedMonitorIngestionClient.js.map +0 -1
  230. package/dist/esm/generated/generatedMonitorIngestionClientContext.d.ts +0 -17
  231. package/dist/esm/generated/generatedMonitorIngestionClientContext.d.ts.map +0 -1
  232. package/dist/esm/generated/generatedMonitorIngestionClientContext.js +0 -47
  233. package/dist/esm/generated/generatedMonitorIngestionClientContext.js.map +0 -1
  234. package/dist/esm/generated/index.d.ts +0 -4
  235. package/dist/esm/generated/index.d.ts.map +0 -1
  236. package/dist/esm/generated/index.js +0 -11
  237. package/dist/esm/generated/index.js.map +0 -1
  238. package/dist/esm/generated/models/index.d.ts +0 -67
  239. package/dist/esm/generated/models/index.d.ts.map +0 -1
  240. package/dist/esm/generated/models/index.js +0 -9
  241. package/dist/esm/generated/models/index.js.map +0 -1
  242. package/dist/esm/generated/models/mappers.d.ts +0 -6
  243. package/dist/esm/generated/models/mappers.d.ts.map +0 -1
  244. package/dist/esm/generated/models/mappers.js +0 -115
  245. package/dist/esm/generated/models/mappers.js.map +0 -1
  246. package/dist/esm/generated/models/parameters.d.ts +0 -11
  247. package/dist/esm/generated/models/parameters.d.ts.map +0 -1
  248. package/dist/esm/generated/models/parameters.js +0 -106
  249. package/dist/esm/generated/models/parameters.js.map +0 -1
  250. package/dist/esm/models.d.ts.map +0 -1
  251. package/dist/esm/models.js.map +0 -1
  252. package/dist/react-native/constants.d.ts +0 -22
  253. package/dist/react-native/constants.d.ts.map +0 -1
  254. package/dist/react-native/constants.js +0 -25
  255. package/dist/react-native/constants.js.map +0 -1
  256. package/dist/react-native/generated/generatedMonitorIngestionClient.d.ts +0 -23
  257. package/dist/react-native/generated/generatedMonitorIngestionClient.d.ts.map +0 -1
  258. package/dist/react-native/generated/generatedMonitorIngestionClient.js +0 -59
  259. package/dist/react-native/generated/generatedMonitorIngestionClient.js.map +0 -1
  260. package/dist/react-native/generated/generatedMonitorIngestionClientContext.d.ts +0 -17
  261. package/dist/react-native/generated/generatedMonitorIngestionClientContext.d.ts.map +0 -1
  262. package/dist/react-native/generated/generatedMonitorIngestionClientContext.js +0 -47
  263. package/dist/react-native/generated/generatedMonitorIngestionClientContext.js.map +0 -1
  264. package/dist/react-native/generated/index.d.ts +0 -4
  265. package/dist/react-native/generated/index.d.ts.map +0 -1
  266. package/dist/react-native/generated/index.js +0 -11
  267. package/dist/react-native/generated/index.js.map +0 -1
  268. package/dist/react-native/generated/models/index.d.ts +0 -67
  269. package/dist/react-native/generated/models/index.d.ts.map +0 -1
  270. package/dist/react-native/generated/models/index.js +0 -9
  271. package/dist/react-native/generated/models/index.js.map +0 -1
  272. package/dist/react-native/generated/models/mappers.d.ts +0 -6
  273. package/dist/react-native/generated/models/mappers.d.ts.map +0 -1
  274. package/dist/react-native/generated/models/mappers.js +0 -115
  275. package/dist/react-native/generated/models/mappers.js.map +0 -1
  276. package/dist/react-native/generated/models/parameters.d.ts +0 -11
  277. package/dist/react-native/generated/models/parameters.d.ts.map +0 -1
  278. package/dist/react-native/generated/models/parameters.js +0 -106
  279. package/dist/react-native/generated/models/parameters.js.map +0 -1
  280. package/dist/react-native/models.d.ts.map +0 -1
  281. package/dist/react-native/models.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Defines headers for GeneratedMonitorIngestionClient_upload operation. */\nexport interface GeneratedMonitorIngestionClientUploadExceptionHeaders {\n /** A value that indicates the ingestion service error code. */\n xMsErrorCode?: string;\n}\n\n/** Optional parameters. */\nexport interface UploadOptionalParams extends coreClient.OperationOptions {\n /** gzip */\n contentEncoding?: string;\n /** Client request Id */\n xMsClientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GeneratedMonitorIngestionClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -1,6 +0,0 @@
1
- import * as coreClient from "@azure/core-client";
2
- export declare const ErrorResponse: coreClient.CompositeMapper;
3
- export declare const ErrorDetail: coreClient.CompositeMapper;
4
- export declare const ErrorAdditionalInfo: coreClient.CompositeMapper;
5
- export declare const GeneratedMonitorIngestionClientUploadExceptionHeaders: coreClient.CompositeMapper;
6
- //# sourceMappingURL=mappers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eActC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,eAsDpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAsB5C,CAAC;AAEF,eAAO,MAAM,qDAAqD,EAAE,UAAU,CAAC,eAa9E,CAAC"}
@@ -1,118 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.GeneratedMonitorIngestionClientUploadExceptionHeaders = exports.ErrorAdditionalInfo = exports.ErrorDetail = exports.ErrorResponse = void 0;
11
- exports.ErrorResponse = {
12
- type: {
13
- name: "Composite",
14
- className: "ErrorResponse",
15
- modelProperties: {
16
- error: {
17
- serializedName: "error",
18
- type: {
19
- name: "Composite",
20
- className: "ErrorDetail"
21
- }
22
- }
23
- }
24
- }
25
- };
26
- exports.ErrorDetail = {
27
- type: {
28
- name: "Composite",
29
- className: "ErrorDetail",
30
- modelProperties: {
31
- code: {
32
- serializedName: "code",
33
- readOnly: true,
34
- type: {
35
- name: "String"
36
- }
37
- },
38
- message: {
39
- serializedName: "message",
40
- readOnly: true,
41
- type: {
42
- name: "String"
43
- }
44
- },
45
- target: {
46
- serializedName: "target",
47
- readOnly: true,
48
- type: {
49
- name: "String"
50
- }
51
- },
52
- details: {
53
- serializedName: "details",
54
- readOnly: true,
55
- type: {
56
- name: "Sequence",
57
- element: {
58
- type: {
59
- name: "Composite",
60
- className: "ErrorDetail"
61
- }
62
- }
63
- }
64
- },
65
- additionalInfo: {
66
- serializedName: "additionalInfo",
67
- readOnly: true,
68
- type: {
69
- name: "Sequence",
70
- element: {
71
- type: {
72
- name: "Composite",
73
- className: "ErrorAdditionalInfo"
74
- }
75
- }
76
- }
77
- }
78
- }
79
- }
80
- };
81
- exports.ErrorAdditionalInfo = {
82
- type: {
83
- name: "Composite",
84
- className: "ErrorAdditionalInfo",
85
- modelProperties: {
86
- type: {
87
- serializedName: "type",
88
- readOnly: true,
89
- type: {
90
- name: "String"
91
- }
92
- },
93
- info: {
94
- serializedName: "info",
95
- readOnly: true,
96
- type: {
97
- name: "Dictionary",
98
- value: { type: { name: "any" } }
99
- }
100
- }
101
- }
102
- }
103
- };
104
- exports.GeneratedMonitorIngestionClientUploadExceptionHeaders = {
105
- type: {
106
- name: "Composite",
107
- className: "GeneratedMonitorIngestionClientUploadExceptionHeaders",
108
- modelProperties: {
109
- xMsErrorCode: {
110
- serializedName: "x-ms-error-code",
111
- type: {
112
- name: "String"
113
- }
114
- }
115
- }
116
- }
117
- };
118
- //# sourceMappingURL=mappers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,aAAa;iBACzB;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAA+B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,aAAa;QACxB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,aAAa;yBACzB;qBACF;iBACF;aACF;YACD,cAAc,EAAE;gBACd,cAAc,EAAE,gBAAgB;gBAChC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,qBAAqB;yBACjC;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;iBACjC;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,qDAAqD,GAA+B;IAC/F,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,uDAAuD;QAClE,eAAe,EAAE;YACf,YAAY,EAAE;gBACZ,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const GeneratedMonitorIngestionClientUploadExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedMonitorIngestionClientUploadExceptionHeaders\",\n modelProperties: {\n xMsErrorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -1,11 +0,0 @@
1
- import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
- export declare const contentType: OperationParameter;
3
- export declare const body: OperationParameter;
4
- export declare const accept: OperationParameter;
5
- export declare const endpoint: OperationURLParameter;
6
- export declare const ruleId: OperationURLParameter;
7
- export declare const stream: OperationURLParameter;
8
- export declare const apiVersion: OperationQueryParameter;
9
- export declare const contentEncoding: OperationParameter;
10
- export declare const xMsClientRequestId: OperationParameter;
11
- //# sourceMappingURL=parameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,kBAelB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBASpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBASpB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAQ7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAQhC,CAAC"}
@@ -1,109 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.xMsClientRequestId = exports.contentEncoding = exports.apiVersion = exports.stream = exports.ruleId = exports.endpoint = exports.accept = exports.body = exports.contentType = void 0;
11
- exports.contentType = {
12
- parameterPath: ["options", "contentType"],
13
- mapper: {
14
- defaultValue: "application/json",
15
- isConstant: true,
16
- serializedName: "Content-Type",
17
- type: {
18
- name: "String"
19
- }
20
- }
21
- };
22
- exports.body = {
23
- parameterPath: "body",
24
- mapper: {
25
- serializedName: "body",
26
- required: true,
27
- type: {
28
- name: "Sequence",
29
- element: {
30
- type: {
31
- name: "Dictionary",
32
- value: { type: { name: "any" } }
33
- }
34
- }
35
- }
36
- }
37
- };
38
- exports.accept = {
39
- parameterPath: "accept",
40
- mapper: {
41
- defaultValue: "application/json",
42
- isConstant: true,
43
- serializedName: "Accept",
44
- type: {
45
- name: "String"
46
- }
47
- }
48
- };
49
- exports.endpoint = {
50
- parameterPath: "endpoint",
51
- mapper: {
52
- serializedName: "endpoint",
53
- required: true,
54
- type: {
55
- name: "String"
56
- }
57
- },
58
- skipEncoding: true
59
- };
60
- exports.ruleId = {
61
- parameterPath: "ruleId",
62
- mapper: {
63
- serializedName: "ruleId",
64
- required: true,
65
- type: {
66
- name: "String"
67
- }
68
- }
69
- };
70
- exports.stream = {
71
- parameterPath: "stream",
72
- mapper: {
73
- serializedName: "stream",
74
- required: true,
75
- type: {
76
- name: "String"
77
- }
78
- }
79
- };
80
- exports.apiVersion = {
81
- parameterPath: "apiVersion",
82
- mapper: {
83
- defaultValue: "2023-01-01",
84
- isConstant: true,
85
- serializedName: "api-version",
86
- type: {
87
- name: "String"
88
- }
89
- }
90
- };
91
- exports.contentEncoding = {
92
- parameterPath: ["options", "contentEncoding"],
93
- mapper: {
94
- serializedName: "Content-Encoding",
95
- type: {
96
- name: "String"
97
- }
98
- }
99
- };
100
- exports.xMsClientRequestId = {
101
- parameterPath: ["options", "xMsClientRequestId"],
102
- mapper: {
103
- serializedName: "x-ms-client-request-id",
104
- type: {
105
- name: "String"
106
- }
107
- }
108
- };
109
- //# sourceMappingURL=parameters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAQU,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,IAAI,GAAuB;IACtC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE;QACN,cAAc,EAAE,MAAM;QACtB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;iBACjC;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,MAAM,GAA0B;IAC3C,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,MAAM,GAA0B;IAC3C,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,eAAe,GAAuB;IACjD,aAAa,EAAE,CAAC,SAAS,EAAE,iBAAiB,CAAC;IAC7C,MAAM,EAAE;QACN,cAAc,EAAE,kBAAkB;QAClC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,kBAAkB,GAAuB;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,oBAAoB,CAAC;IAChD,MAAM,EAAE;QACN,cAAc,EAAE,wBAAwB;QACxC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: {\n serializedName: \"body\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const ruleId: OperationURLParameter = {\n parameterPath: \"ruleId\",\n mapper: {\n serializedName: \"ruleId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const stream: OperationURLParameter = {\n parameterPath: \"stream\",\n mapper: {\n serializedName: \"stream\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentEncoding: OperationParameter = {\n parameterPath: [\"options\", \"contentEncoding\"],\n mapper: {\n serializedName: \"Content-Encoding\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const xMsClientRequestId: OperationParameter = {\n parameterPath: [\"options\", \"xMsClientRequestId\"],\n mapper: {\n serializedName: \"x-ms-client-request-id\",\n type: {\n name: \"String\"\n }\n }\n};\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,eAAe,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IACtC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;CACd;AAED;;GAEG;AACH,eAAO,MAAM,4BAA4B,6BAA6B,CAAC;AAEvE;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,KAAK;IACjD;;;OAGG;IACH,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAE5B;;;;OAIG;gBACS,MAAM,EAAE,iBAAiB,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM;CAK/D;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,wBAAwB,CAKpF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAkElC,gEAKC;AApED,gDAA2C;AAgC3C;;GAEG;AACU,QAAA,4BAA4B,GAAG,0BAA0B,CAAC;AAEvE;;GAEG;AACH,MAAa,wBAAyB,SAAQ,KAAK;IAOjD;;;;OAIG;IACH,YAAY,MAA2B,EAAE,YAAqB;QAC5D,KAAK,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC;QAC5B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,oCAA4B,CAAC;IAC3C,CAAC;CACF;AAjBD,4DAiBC;AAED;;;GAGG;AACH,SAAgB,0BAA0B,CAAC,CAAU;IACnD,IAAI,CAAC,YAAY,wBAAwB,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,IAAA,mBAAO,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,oCAA4B,CAAC;AAC/D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure/core-client\";\nimport { isError } from \"@azure/core-util\";\n/**\n * Options for send logs operation\n */\nexport interface LogsUploadOptions extends OperationOptions {\n /**\n * Concurrency of parallel requests. Must be greater than or equal to 1.\n * The default value is 1.\n */\n maxConcurrency?: number;\n /**\n * Callback function for error handling when logs fail to upload\n * @param uploadLogsError - This is the {@link LogsUploadFailure} object\n * @returns void\n */\n onError?: (uploadLogsError: LogsUploadFailure) => void;\n}\n\n/**\n * Error for each log upload request to service\n */\nexport interface LogsUploadFailure {\n /**\n * List of failed logs\n */\n failedLogs: Record<string, unknown>[];\n /**\n * Error for failed logs\n */\n cause: Error;\n}\n\n/**\n * Aggregate Upload Logs Error Name\n */\nexport const AggregateLogsUploadErrorName = \"AggregateLogsUploadError\";\n\n/**\n * Aggregate Error type for upload function\n */\nexport class AggregateLogsUploadError extends Error {\n /**\n * List of {@link LogsUploadFailure} returned from\n * individual upload requests to service\n */\n errors: LogsUploadFailure[];\n\n /**\n *\n * @param errors - list of {@link LogsUploadFailure}\n * @param errorMessage - error message\n */\n constructor(errors: LogsUploadFailure[], errorMessage?: string) {\n super(`${errorMessage}\\n}`);\n this.errors = errors;\n this.name = AggregateLogsUploadErrorName;\n }\n}\n\n/**\n * Typeguard for AggregateUploadLogsError\n * @param e - Something caught by a catch clause.\n */\nexport function isAggregateLogsUploadError(e: unknown): e is AggregateLogsUploadError {\n if (e instanceof AggregateLogsUploadError) {\n return true;\n }\n return isError(e) && e.name === AggregateLogsUploadErrorName;\n}\n"]}
@@ -1,22 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export declare const SDK_VERSION: string;
5
- /**
6
- * Known values for Monitor Audience
7
- */
8
- export declare enum KnownMonitorAudience {
9
- /**
10
- * Audience for Azure China
11
- */
12
- AzureChina = "https://monitor.azure.cn",
13
- /**
14
- * Audience for Azure Government
15
- */
16
- AzureGovernment = "https://monitor.azure.us",
17
- /**
18
- * Audience for Azure Public
19
- */
20
- AzurePublicCloud = "https://monitor.azure.com"
21
- }
22
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,MAAgB,CAAC;AAE3C;;GAEG;AACH,oBAAY,oBAAoB;IAC9B;;OAEG;IACH,UAAU,6BAA6B;IACvC;;OAEG;IACH,eAAe,6BAA6B;IAC5C;;OAEG;IACH,gBAAgB,8BAA8B;CAC/C"}
@@ -1,25 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- /**
4
- * @internal
5
- */
6
- export const SDK_VERSION = "1.1.1";
7
- /**
8
- * Known values for Monitor Audience
9
- */
10
- export var KnownMonitorAudience;
11
- (function (KnownMonitorAudience) {
12
- /**
13
- * Audience for Azure China
14
- */
15
- KnownMonitorAudience["AzureChina"] = "https://monitor.azure.cn";
16
- /**
17
- * Audience for Azure Government
18
- */
19
- KnownMonitorAudience["AzureGovernment"] = "https://monitor.azure.us";
20
- /**
21
- * Audience for Azure Public
22
- */
23
- KnownMonitorAudience["AzurePublicCloud"] = "https://monitor.azure.com";
24
- })(KnownMonitorAudience || (KnownMonitorAudience = {}));
25
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAW,OAAO,CAAC;AAE3C;;GAEG;AACH,MAAM,CAAN,IAAY,oBAaX;AAbD,WAAY,oBAAoB;IAC9B;;OAEG;IACH,+DAAuC,CAAA;IACvC;;OAEG;IACH,oEAA4C,CAAA;IAC5C;;OAEG;IACH,sEAA8C,CAAA;AAChD,CAAC,EAbW,oBAAoB,KAApB,oBAAoB,QAa/B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * @internal\n */\nexport const SDK_VERSION: string = \"1.1.1\";\n\n/**\n * Known values for Monitor Audience\n */\nexport enum KnownMonitorAudience {\n /**\n * Audience for Azure China\n */\n AzureChina = \"https://monitor.azure.cn\",\n /**\n * Audience for Azure Government\n */\n AzureGovernment = \"https://monitor.azure.us\",\n /**\n * Audience for Azure Public\n */\n AzurePublicCloud = \"https://monitor.azure.com\",\n}\n"]}
@@ -1,23 +0,0 @@
1
- import * as coreAuth from "@azure/core-auth";
2
- import { GeneratedMonitorIngestionClientContext } from "./generatedMonitorIngestionClientContext.js";
3
- import { GeneratedMonitorIngestionClientOptionalParams, UploadOptionalParams } from "./models/index.js";
4
- /** @internal */
5
- export declare class GeneratedMonitorIngestionClient extends GeneratedMonitorIngestionClientContext {
6
- /**
7
- * Initializes a new instance of the GeneratedMonitorIngestionClient class.
8
- * @param credentials Subscription credentials which uniquely identify client subscription.
9
- * @param endpoint The Data Collection Endpoint for the Data Collection Rule, for example
10
- * https://dce-name.eastus-2.ingest.monitor.azure.com.
11
- * @param options The parameter options
12
- */
13
- constructor(credentials: coreAuth.TokenCredential, endpoint: string, options?: GeneratedMonitorIngestionClientOptionalParams);
14
- /**
15
- * See error response code and error response message for more detail.
16
- * @param ruleId The immutable Id of the Data Collection Rule resource.
17
- * @param stream The streamDeclaration name as defined in the Data Collection Rule.
18
- * @param body An array of objects matching the schema defined by the provided stream.
19
- * @param options The options parameters.
20
- */
21
- upload(ruleId: string, stream: string, body: Record<string, unknown>[], options?: UploadOptionalParams): Promise<void>;
22
- }
23
- //# sourceMappingURL=generatedMonitorIngestionClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generatedMonitorIngestionClient.d.ts","sourceRoot":"","sources":["../../../src/generated/generatedMonitorIngestionClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EACL,6CAA6C,EAC7C,oBAAoB,EACrB,MAAM,mBAAmB,CAAC;AAE3B,gBAAgB;AAChB,qBAAa,+BAAgC,SAAQ,sCAAsC;IACzF;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6CAA6C;IAKzD;;;;;;OAMG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC/B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,IAAI,CAAC;CAMjB"}
@@ -1,59 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import * as coreClient from "@azure/core-client";
9
- import * as Parameters from "./models/parameters.js";
10
- import * as Mappers from "./models/mappers.js";
11
- import { GeneratedMonitorIngestionClientContext } from "./generatedMonitorIngestionClientContext.js";
12
- /** @internal */
13
- export class GeneratedMonitorIngestionClient extends GeneratedMonitorIngestionClientContext {
14
- /**
15
- * Initializes a new instance of the GeneratedMonitorIngestionClient class.
16
- * @param credentials Subscription credentials which uniquely identify client subscription.
17
- * @param endpoint The Data Collection Endpoint for the Data Collection Rule, for example
18
- * https://dce-name.eastus-2.ingest.monitor.azure.com.
19
- * @param options The parameter options
20
- */
21
- constructor(credentials, endpoint, options) {
22
- super(credentials, endpoint, options);
23
- }
24
- /**
25
- * See error response code and error response message for more detail.
26
- * @param ruleId The immutable Id of the Data Collection Rule resource.
27
- * @param stream The streamDeclaration name as defined in the Data Collection Rule.
28
- * @param body An array of objects matching the schema defined by the provided stream.
29
- * @param options The options parameters.
30
- */
31
- upload(ruleId, stream, body, options) {
32
- return this.sendOperationRequest({ ruleId, stream, body, options }, uploadOperationSpec);
33
- }
34
- }
35
- // Operation Specifications
36
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
37
- const uploadOperationSpec = {
38
- path: "/dataCollectionRules/{ruleId}/streams/{stream}",
39
- httpMethod: "POST",
40
- responses: {
41
- 204: {},
42
- default: {
43
- bodyMapper: Mappers.ErrorResponse,
44
- headersMapper: Mappers.GeneratedMonitorIngestionClientUploadExceptionHeaders
45
- }
46
- },
47
- requestBody: Parameters.body,
48
- queryParameters: [Parameters.apiVersion],
49
- urlParameters: [Parameters.endpoint, Parameters.ruleId, Parameters.stream],
50
- headerParameters: [
51
- Parameters.contentType,
52
- Parameters.accept,
53
- Parameters.contentEncoding,
54
- Parameters.xMsClientRequestId
55
- ],
56
- mediaType: "json",
57
- serializer
58
- };
59
- //# sourceMappingURL=generatedMonitorIngestionClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generatedMonitorIngestionClient.js","sourceRoot":"","sources":["../../../src/generated/generatedMonitorIngestionClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AAMrG,gBAAgB;AAChB,MAAM,OAAO,+BAAgC,SAAQ,sCAAsC;IACzF;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,QAAgB,EAChB,OAAuD;QAEvD,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,MAAc,EACd,MAAc,EACd,IAA+B,EAC/B,OAA8B;QAE9B,OAAO,IAAI,CAAC,oBAAoB,CAC9B,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,EACjC,mBAAmB,CACpB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,gDAAgD;IACtD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;YACjC,aAAa,EACX,OAAO,CAAC,qDAAqD;SAChE;KACF;IACD,WAAW,EAAE,UAAU,CAAC,IAAI;IAC5B,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC;IAC1E,gBAAgB,EAAE;QAChB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,kBAAkB;KAC9B;IACD,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport { GeneratedMonitorIngestionClientContext } from \"./generatedMonitorIngestionClientContext.js\";\nimport {\n GeneratedMonitorIngestionClientOptionalParams,\n UploadOptionalParams\n} from \"./models/index.js\";\n\n/** @internal */\nexport class GeneratedMonitorIngestionClient extends GeneratedMonitorIngestionClientContext {\n /**\n * Initializes a new instance of the GeneratedMonitorIngestionClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param endpoint The Data Collection Endpoint for the Data Collection Rule, for example\n * https://dce-name.eastus-2.ingest.monitor.azure.com.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n endpoint: string,\n options?: GeneratedMonitorIngestionClientOptionalParams\n ) {\n super(credentials, endpoint, options);\n }\n\n /**\n * See error response code and error response message for more detail.\n * @param ruleId The immutable Id of the Data Collection Rule resource.\n * @param stream The streamDeclaration name as defined in the Data Collection Rule.\n * @param body An array of objects matching the schema defined by the provided stream.\n * @param options The options parameters.\n */\n upload(\n ruleId: string,\n stream: string,\n body: Record<string, unknown>[],\n options?: UploadOptionalParams\n ): Promise<void> {\n return this.sendOperationRequest(\n { ruleId, stream, body, options },\n uploadOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst uploadOperationSpec: coreClient.OperationSpec = {\n path: \"/dataCollectionRules/{ruleId}/streams/{stream}\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper:\n Mappers.GeneratedMonitorIngestionClientUploadExceptionHeaders\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.ruleId, Parameters.stream],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.contentEncoding,\n Parameters.xMsClientRequestId\n ],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -1,17 +0,0 @@
1
- import * as coreClient from "@azure/core-client";
2
- import * as coreAuth from "@azure/core-auth";
3
- import { GeneratedMonitorIngestionClientOptionalParams } from "./models/index.js";
4
- /** @internal */
5
- export declare class GeneratedMonitorIngestionClientContext extends coreClient.ServiceClient {
6
- endpoint: string;
7
- apiVersion: string;
8
- /**
9
- * Initializes a new instance of the GeneratedMonitorIngestionClientContext class.
10
- * @param credentials Subscription credentials which uniquely identify client subscription.
11
- * @param endpoint The Data Collection Endpoint for the Data Collection Rule, for example
12
- * https://dce-name.eastus-2.ingest.monitor.azure.com.
13
- * @param options The parameter options
14
- */
15
- constructor(credentials: coreAuth.TokenCredential, endpoint: string, options?: GeneratedMonitorIngestionClientOptionalParams);
16
- }
17
- //# sourceMappingURL=generatedMonitorIngestionClientContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generatedMonitorIngestionClientContext.d.ts","sourceRoot":"","sources":["../../../src/generated/generatedMonitorIngestionClientContext.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,6CAA6C,EAAE,MAAM,mBAAmB,CAAC;AAElF,gBAAgB;AAChB,qBAAa,sCAAuC,SAAQ,UAAU,CAAC,aAAa;IAClF,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6CAA6C;CAuC1D"}
@@ -1,47 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import * as coreClient from "@azure/core-client";
9
- /** @internal */
10
- export class GeneratedMonitorIngestionClientContext extends coreClient.ServiceClient {
11
- /**
12
- * Initializes a new instance of the GeneratedMonitorIngestionClientContext class.
13
- * @param credentials Subscription credentials which uniquely identify client subscription.
14
- * @param endpoint The Data Collection Endpoint for the Data Collection Rule, for example
15
- * https://dce-name.eastus-2.ingest.monitor.azure.com.
16
- * @param options The parameter options
17
- */
18
- constructor(credentials, endpoint, options) {
19
- if (credentials === undefined) {
20
- throw new Error("'credentials' cannot be null");
21
- }
22
- if (endpoint === undefined) {
23
- throw new Error("'endpoint' cannot be null");
24
- }
25
- // Initializing default values for options
26
- if (!options) {
27
- options = {};
28
- }
29
- const defaults = {
30
- requestContentType: "application/json; charset=utf-8",
31
- credential: credentials
32
- };
33
- const packageDetails = `azsdk-js-monitor-ingestion/1.1.1`;
34
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
35
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
36
- : `${packageDetails}`;
37
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
38
- userAgentPrefix
39
- }, baseUri: options.endpoint || "{endpoint}" });
40
- super(optionsWithDefaults);
41
- // Parameter assignments
42
- this.endpoint = endpoint;
43
- // Assigning values to Constant parameters
44
- this.apiVersion = options.apiVersion || "2023-01-01";
45
- }
46
- }
47
- //# sourceMappingURL=generatedMonitorIngestionClientContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generatedMonitorIngestionClientContext.js","sourceRoot":"","sources":["../../../src/generated/generatedMonitorIngestionClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAIjD,gBAAgB;AAChB,MAAM,OAAO,sCAAuC,SAAQ,UAAU,CAAC,aAAa;IAIlF;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,QAAgB,EAChB,OAAuD;QAEvD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAkD;YAC9D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,kCAAkC,CAAC;QAC1D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,YAAY,GAC1C,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;IACvD,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { GeneratedMonitorIngestionClientOptionalParams } from \"./models/index.js\";\n\n/** @internal */\nexport class GeneratedMonitorIngestionClientContext extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedMonitorIngestionClientContext class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param endpoint The Data Collection Endpoint for the Data Collection Rule, for example\n * https://dce-name.eastus-2.ingest.monitor.azure.com.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n endpoint: string,\n options?: GeneratedMonitorIngestionClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedMonitorIngestionClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-monitor-ingestion/1.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"{endpoint}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2023-01-01\";\n }\n}\n"]}
@@ -1,4 +0,0 @@
1
- export * from "./models/index.js";
2
- export { GeneratedMonitorIngestionClient } from "./generatedMonitorIngestionClient.js";
3
- export { GeneratedMonitorIngestionClientContext } from "./generatedMonitorIngestionClientContext.js";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC"}
@@ -1,11 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export * from "./models/index.js";
9
- export { GeneratedMonitorIngestionClient } from "./generatedMonitorIngestionClient.js";
10
- export { GeneratedMonitorIngestionClientContext } from "./generatedMonitorIngestionClientContext.js";
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./models/index.js\";\nexport { GeneratedMonitorIngestionClient } from \"./generatedMonitorIngestionClient.js\";\nexport { GeneratedMonitorIngestionClientContext } from \"./generatedMonitorIngestionClientContext.js\";\n"]}
@@ -1,67 +0,0 @@
1
- import * as coreClient from "@azure/core-client";
2
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
3
- export interface ErrorResponse {
4
- /** The error object. */
5
- error?: ErrorDetail;
6
- }
7
- /** The error detail. */
8
- export interface ErrorDetail {
9
- /**
10
- * The error code.
11
- * NOTE: This property will not be serialized. It can only be populated by the server.
12
- */
13
- readonly code?: string;
14
- /**
15
- * The error message.
16
- * NOTE: This property will not be serialized. It can only be populated by the server.
17
- */
18
- readonly message?: string;
19
- /**
20
- * The error target.
21
- * NOTE: This property will not be serialized. It can only be populated by the server.
22
- */
23
- readonly target?: string;
24
- /**
25
- * The error details.
26
- * NOTE: This property will not be serialized. It can only be populated by the server.
27
- */
28
- readonly details?: ErrorDetail[];
29
- /**
30
- * The error additional info.
31
- * NOTE: This property will not be serialized. It can only be populated by the server.
32
- */
33
- readonly additionalInfo?: ErrorAdditionalInfo[];
34
- }
35
- /** The resource management error additional info. */
36
- export interface ErrorAdditionalInfo {
37
- /**
38
- * The additional info type.
39
- * NOTE: This property will not be serialized. It can only be populated by the server.
40
- */
41
- readonly type?: string;
42
- /**
43
- * The additional info.
44
- * NOTE: This property will not be serialized. It can only be populated by the server.
45
- */
46
- readonly info?: Record<string, unknown>;
47
- }
48
- /** Defines headers for GeneratedMonitorIngestionClient_upload operation. */
49
- export interface GeneratedMonitorIngestionClientUploadExceptionHeaders {
50
- /** A value that indicates the ingestion service error code. */
51
- xMsErrorCode?: string;
52
- }
53
- /** Optional parameters. */
54
- export interface UploadOptionalParams extends coreClient.OperationOptions {
55
- /** gzip */
56
- contentEncoding?: string;
57
- /** Client request Id */
58
- xMsClientRequestId?: string;
59
- }
60
- /** Optional parameters. */
61
- export interface GeneratedMonitorIngestionClientOptionalParams extends coreClient.ServiceClientOptions {
62
- /** Api Version */
63
- apiVersion?: string;
64
- /** Overrides client endpoint. */
65
- endpoint?: string;
66
- }
67
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,qKAAqK;AACrK,MAAM,WAAW,aAAa;IAC5B,wBAAwB;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,wBAAwB;AACxB,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACjD;AAED,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,4EAA4E;AAC5E,MAAM,WAAW,qDAAqD;IACpE,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,2BAA2B;AAC3B,MAAM,WAAW,oBAAqB,SAAQ,UAAU,CAAC,gBAAgB;IACvE,WAAW;IACX,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,6CACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}