@azure-rest/load-testing 1.1.0-beta.1 → 1.2.0-beta.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 (200) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE +1 -1
  3. package/README.md +12 -13
  4. package/dist/browser/azureLoadTesting.js +14 -12
  5. package/dist/browser/azureLoadTesting.js.map +1 -1
  6. package/dist/browser/clientDefinitions.d.ts +66 -34
  7. package/dist/browser/clientDefinitions.js.map +1 -1
  8. package/dist/browser/getFileValidationPoller.js +16 -11
  9. package/dist/browser/getFileValidationPoller.js.map +1 -1
  10. package/dist/browser/getTestProfileRunCompletionPoller.js +16 -11
  11. package/dist/browser/getTestProfileRunCompletionPoller.js.map +1 -1
  12. package/dist/browser/getTestRunCompletionPoller.js +16 -11
  13. package/dist/browser/getTestRunCompletionPoller.js.map +1 -1
  14. package/dist/browser/index.d.ts +6 -6
  15. package/dist/browser/index.js +1 -7
  16. package/dist/browser/index.js.map +1 -1
  17. package/dist/browser/isUnexpected.d.ts +15 -9
  18. package/dist/browser/isUnexpected.js +21 -13
  19. package/dist/browser/isUnexpected.js.map +1 -1
  20. package/dist/browser/models.d.ts +205 -172
  21. package/dist/browser/models.js.map +1 -1
  22. package/dist/browser/outputModels.d.ts +290 -208
  23. package/dist/browser/outputModels.js.map +1 -1
  24. package/dist/browser/paginateHelper.js +43 -73
  25. package/dist/browser/paginateHelper.js.map +1 -1
  26. package/dist/browser/parameters.d.ts +107 -66
  27. package/dist/browser/parameters.js.map +1 -1
  28. package/dist/browser/pollingHelper.d.ts +82 -4
  29. package/dist/browser/pollingHelper.js +119 -15
  30. package/dist/browser/pollingHelper.js.map +1 -1
  31. package/dist/browser/responses.d.ts +234 -121
  32. package/dist/browser/responses.js.map +1 -1
  33. package/dist/commonjs/azureLoadTesting.js +53 -45
  34. package/dist/commonjs/azureLoadTesting.js.map +7 -1
  35. package/dist/commonjs/clientDefinitions.d.ts +66 -34
  36. package/dist/commonjs/clientDefinitions.js +15 -5
  37. package/dist/commonjs/clientDefinitions.js.map +7 -1
  38. package/dist/commonjs/getFileValidationPoller.js +151 -137
  39. package/dist/commonjs/getFileValidationPoller.js.map +7 -1
  40. package/dist/commonjs/getTestProfileRunCompletionPoller.js +139 -127
  41. package/dist/commonjs/getTestProfileRunCompletionPoller.js.map +7 -1
  42. package/dist/commonjs/getTestRunCompletionPoller.js +139 -125
  43. package/dist/commonjs/getTestRunCompletionPoller.js.map +7 -1
  44. package/dist/commonjs/index.d.ts +6 -6
  45. package/dist/commonjs/index.js +46 -20
  46. package/dist/commonjs/index.js.map +7 -1
  47. package/dist/commonjs/isUnexpected.d.ts +15 -9
  48. package/dist/commonjs/isUnexpected.js +118 -105
  49. package/dist/commonjs/isUnexpected.js.map +7 -1
  50. package/dist/commonjs/logger.js +28 -8
  51. package/dist/commonjs/logger.js.map +7 -1
  52. package/dist/commonjs/models.d.ts +205 -172
  53. package/dist/commonjs/models.js +15 -5
  54. package/dist/commonjs/models.js.map +7 -1
  55. package/dist/commonjs/outputModels.d.ts +290 -208
  56. package/dist/commonjs/outputModels.js +15 -5
  57. package/dist/commonjs/outputModels.js.map +7 -1
  58. package/dist/commonjs/paginateHelper.js +118 -158
  59. package/dist/commonjs/paginateHelper.js.map +7 -1
  60. package/dist/commonjs/parameters.d.ts +107 -66
  61. package/dist/commonjs/parameters.js +15 -5
  62. package/dist/commonjs/parameters.js.map +7 -1
  63. package/dist/commonjs/pollingHelper.d.ts +82 -4
  64. package/dist/commonjs/pollingHelper.js +143 -24
  65. package/dist/commonjs/pollingHelper.js.map +7 -1
  66. package/dist/commonjs/responses.d.ts +234 -121
  67. package/dist/commonjs/responses.js +15 -5
  68. package/dist/commonjs/responses.js.map +7 -1
  69. package/dist/commonjs/tsdoc-metadata.json +11 -11
  70. package/dist/commonjs/util/LROUtil.js +76 -54
  71. package/dist/commonjs/util/LROUtil.js.map +7 -1
  72. package/dist/esm/azureLoadTesting.js +32 -40
  73. package/dist/esm/azureLoadTesting.js.map +7 -1
  74. package/dist/esm/clientDefinitions.d.ts +66 -34
  75. package/dist/esm/clientDefinitions.js +0 -4
  76. package/dist/esm/clientDefinitions.js.map +7 -1
  77. package/dist/esm/getFileValidationPoller.js +126 -132
  78. package/dist/esm/getFileValidationPoller.js.map +7 -1
  79. package/dist/esm/getTestProfileRunCompletionPoller.js +114 -122
  80. package/dist/esm/getTestProfileRunCompletionPoller.js.map +7 -1
  81. package/dist/esm/getTestRunCompletionPoller.js +114 -120
  82. package/dist/esm/getTestRunCompletionPoller.js.map +7 -1
  83. package/dist/esm/index.d.ts +6 -6
  84. package/dist/esm/index.js +5 -11
  85. package/dist/esm/index.js.map +7 -1
  86. package/dist/esm/isUnexpected.d.ts +15 -9
  87. package/dist/esm/isUnexpected.js +96 -103
  88. package/dist/esm/isUnexpected.js.map +7 -1
  89. package/dist/esm/logger.js +4 -4
  90. package/dist/esm/logger.js.map +7 -1
  91. package/dist/esm/models.d.ts +205 -172
  92. package/dist/esm/models.js +0 -4
  93. package/dist/esm/models.js.map +7 -1
  94. package/dist/esm/outputModels.d.ts +290 -208
  95. package/dist/esm/outputModels.js +0 -4
  96. package/dist/esm/outputModels.js.map +7 -1
  97. package/dist/esm/paginateHelper.js +95 -155
  98. package/dist/esm/paginateHelper.js.map +7 -1
  99. package/dist/esm/parameters.d.ts +107 -66
  100. package/dist/esm/parameters.js +0 -4
  101. package/dist/esm/parameters.js.map +7 -1
  102. package/dist/esm/pollingHelper.d.ts +82 -4
  103. package/dist/esm/pollingHelper.js +117 -18
  104. package/dist/esm/pollingHelper.js.map +7 -1
  105. package/dist/esm/responses.d.ts +234 -121
  106. package/dist/esm/responses.js +0 -4
  107. package/dist/esm/responses.js.map +7 -1
  108. package/dist/esm/util/LROUtil.js +52 -50
  109. package/dist/esm/util/LROUtil.js.map +7 -1
  110. package/dist/react-native/azureLoadTesting.js +14 -12
  111. package/dist/react-native/azureLoadTesting.js.map +1 -1
  112. package/dist/react-native/clientDefinitions.d.ts +66 -34
  113. package/dist/react-native/clientDefinitions.js.map +1 -1
  114. package/dist/react-native/getFileValidationPoller.js +16 -11
  115. package/dist/react-native/getFileValidationPoller.js.map +1 -1
  116. package/dist/react-native/getTestProfileRunCompletionPoller.js +16 -11
  117. package/dist/react-native/getTestProfileRunCompletionPoller.js.map +1 -1
  118. package/dist/react-native/getTestRunCompletionPoller.js +16 -11
  119. package/dist/react-native/getTestRunCompletionPoller.js.map +1 -1
  120. package/dist/react-native/index.d.ts +6 -6
  121. package/dist/react-native/index.js +1 -7
  122. package/dist/react-native/index.js.map +1 -1
  123. package/dist/react-native/isUnexpected.d.ts +15 -9
  124. package/dist/react-native/isUnexpected.js +21 -13
  125. package/dist/react-native/isUnexpected.js.map +1 -1
  126. package/dist/react-native/models.d.ts +205 -172
  127. package/dist/react-native/models.js.map +1 -1
  128. package/dist/react-native/outputModels.d.ts +290 -208
  129. package/dist/react-native/outputModels.js.map +1 -1
  130. package/dist/react-native/paginateHelper.js +43 -73
  131. package/dist/react-native/paginateHelper.js.map +1 -1
  132. package/dist/react-native/parameters.d.ts +107 -66
  133. package/dist/react-native/parameters.js.map +1 -1
  134. package/dist/react-native/pollingHelper.d.ts +82 -4
  135. package/dist/react-native/pollingHelper.js +119 -15
  136. package/dist/react-native/pollingHelper.js.map +1 -1
  137. package/dist/react-native/responses.d.ts +234 -121
  138. package/dist/react-native/responses.js.map +1 -1
  139. package/package.json +69 -86
  140. package/review/{load-testing.api.md → load-testing-node.api.md} +420 -23
  141. package/dist/browser/azureLoadTesting.d.ts.map +0 -1
  142. package/dist/browser/clientDefinitions.d.ts.map +0 -1
  143. package/dist/browser/getFileValidationPoller.d.ts.map +0 -1
  144. package/dist/browser/getTestProfileRunCompletionPoller.d.ts.map +0 -1
  145. package/dist/browser/getTestRunCompletionPoller.d.ts.map +0 -1
  146. package/dist/browser/index.d.ts.map +0 -1
  147. package/dist/browser/isUnexpected.d.ts.map +0 -1
  148. package/dist/browser/logger.d.ts.map +0 -1
  149. package/dist/browser/models.d.ts.map +0 -1
  150. package/dist/browser/outputModels.d.ts.map +0 -1
  151. package/dist/browser/paginateHelper.d.ts.map +0 -1
  152. package/dist/browser/parameters.d.ts.map +0 -1
  153. package/dist/browser/pollingHelper.d.ts.map +0 -1
  154. package/dist/browser/responses.d.ts.map +0 -1
  155. package/dist/browser/util/LROUtil.d.ts.map +0 -1
  156. package/dist/commonjs/azureLoadTesting.d.ts.map +0 -1
  157. package/dist/commonjs/clientDefinitions.d.ts.map +0 -1
  158. package/dist/commonjs/getFileValidationPoller.d.ts.map +0 -1
  159. package/dist/commonjs/getTestProfileRunCompletionPoller.d.ts.map +0 -1
  160. package/dist/commonjs/getTestRunCompletionPoller.d.ts.map +0 -1
  161. package/dist/commonjs/index.d.ts.map +0 -1
  162. package/dist/commonjs/isUnexpected.d.ts.map +0 -1
  163. package/dist/commonjs/logger.d.ts.map +0 -1
  164. package/dist/commonjs/models.d.ts.map +0 -1
  165. package/dist/commonjs/outputModels.d.ts.map +0 -1
  166. package/dist/commonjs/paginateHelper.d.ts.map +0 -1
  167. package/dist/commonjs/parameters.d.ts.map +0 -1
  168. package/dist/commonjs/pollingHelper.d.ts.map +0 -1
  169. package/dist/commonjs/responses.d.ts.map +0 -1
  170. package/dist/commonjs/util/LROUtil.d.ts.map +0 -1
  171. package/dist/esm/azureLoadTesting.d.ts.map +0 -1
  172. package/dist/esm/clientDefinitions.d.ts.map +0 -1
  173. package/dist/esm/getFileValidationPoller.d.ts.map +0 -1
  174. package/dist/esm/getTestProfileRunCompletionPoller.d.ts.map +0 -1
  175. package/dist/esm/getTestRunCompletionPoller.d.ts.map +0 -1
  176. package/dist/esm/index.d.ts.map +0 -1
  177. package/dist/esm/isUnexpected.d.ts.map +0 -1
  178. package/dist/esm/logger.d.ts.map +0 -1
  179. package/dist/esm/models.d.ts.map +0 -1
  180. package/dist/esm/outputModels.d.ts.map +0 -1
  181. package/dist/esm/paginateHelper.d.ts.map +0 -1
  182. package/dist/esm/parameters.d.ts.map +0 -1
  183. package/dist/esm/pollingHelper.d.ts.map +0 -1
  184. package/dist/esm/responses.d.ts.map +0 -1
  185. package/dist/esm/util/LROUtil.d.ts.map +0 -1
  186. package/dist/react-native/azureLoadTesting.d.ts.map +0 -1
  187. package/dist/react-native/clientDefinitions.d.ts.map +0 -1
  188. package/dist/react-native/getFileValidationPoller.d.ts.map +0 -1
  189. package/dist/react-native/getTestProfileRunCompletionPoller.d.ts.map +0 -1
  190. package/dist/react-native/getTestRunCompletionPoller.d.ts.map +0 -1
  191. package/dist/react-native/index.d.ts.map +0 -1
  192. package/dist/react-native/isUnexpected.d.ts.map +0 -1
  193. package/dist/react-native/logger.d.ts.map +0 -1
  194. package/dist/react-native/models.d.ts.map +0 -1
  195. package/dist/react-native/outputModels.d.ts.map +0 -1
  196. package/dist/react-native/paginateHelper.d.ts.map +0 -1
  197. package/dist/react-native/parameters.d.ts.map +0 -1
  198. package/dist/react-native/pollingHelper.d.ts.map +0 -1
  199. package/dist/react-native/responses.d.ts.map +0 -1
  200. package/dist/react-native/util/LROUtil.d.ts.map +0 -1
@@ -1,6 +1,20 @@
1
1
  import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
2
2
  import type { HttpResponse, ErrorResponse } from "@azure-rest/core-client";
3
- import type { TestOutput, PagedTestOutput, TestFileInfoOutput, PagedTestFileInfoOutput, TestAppComponentsOutput, TestServerMetricsConfigurationOutput, TestProfileOutput, PagedTestProfileOutput, TestRunOutput, PagedTestRunOutput, TestRunFileInfoOutput, MetricNamespaceCollectionOutput, MetricDefinitionCollectionOutput, MetricsOutput, DimensionValueListOutput, TestRunAppComponentsOutput, TestRunServerMetricsConfigurationOutput, TestProfileRunOutput, PagedTestProfileRunOutput, TriggerOutput, PagedTriggerOutput, NotificationRuleOutput, PagedNotificationRuleOutput } from "./outputModels.js";
3
+ import type { OperationStatusOutput, TestOutput, PagedTestOutput, ResourceOperationStatusTestErrorOutput, TestFileInfoOutput, PagedTestFileInfoOutput, TestAppComponentsOutput, TestServerMetricsConfigurationOutput, TestProfileOutput, PagedTestProfileOutput, TriggerOutput, PagedTriggerOutput, NotificationRuleOutput, PagedNotificationRuleOutput, TestRunOutput, PagedTestRunOutput, TestRunFileInfoOutput, TestRunInsightsOutput, MetricNamespaceCollectionOutput, MetricDefinitionCollectionOutput, MetricsOutput, DimensionValueListOutput, TestRunAppComponentsOutput, TestRunServerMetricsConfigurationOutput, TestProfileRunOutput, PagedTestProfileRunOutput } from "./outputModels.js";
4
+ /** The request has succeeded. */
5
+ export interface OperationsGetStatus200Response extends HttpResponse {
6
+ status: "200";
7
+ body: OperationStatusOutput;
8
+ }
9
+ export interface OperationsGetStatusDefaultHeaders {
10
+ /** String error code indicating what went wrong. */
11
+ "x-ms-error-code"?: string;
12
+ }
13
+ export interface OperationsGetStatusDefaultResponse extends HttpResponse {
14
+ status: string;
15
+ body: ErrorResponse;
16
+ headers: RawHttpHeaders & OperationsGetStatusDefaultHeaders;
17
+ }
4
18
  /** The request has succeeded. */
5
19
  export interface LoadTestAdministrationCreateOrUpdateTest200Response extends HttpResponse {
6
20
  status: "200";
@@ -61,6 +75,54 @@ export interface LoadTestAdministrationListTestsDefaultResponse extends HttpResp
61
75
  body: ErrorResponse;
62
76
  headers: RawHttpHeaders & LoadTestAdministrationListTestsDefaultHeaders;
63
77
  }
78
+ export interface LoadTestAdministrationCloneTest202Headers {
79
+ /** The location for monitoring the operation state. */
80
+ "operation-location": string;
81
+ }
82
+ /** The request has been accepted for processing, but processing has not yet completed. */
83
+ export interface LoadTestAdministrationCloneTest202Response extends HttpResponse {
84
+ status: "202";
85
+ body: ResourceOperationStatusTestErrorOutput;
86
+ headers: RawHttpHeaders & LoadTestAdministrationCloneTest202Headers;
87
+ }
88
+ export interface LoadTestAdministrationCloneTestDefaultHeaders {
89
+ /** String error code indicating what went wrong. */
90
+ "x-ms-error-code"?: string;
91
+ }
92
+ export interface LoadTestAdministrationCloneTestDefaultResponse extends HttpResponse {
93
+ status: string;
94
+ body: ErrorResponse;
95
+ headers: RawHttpHeaders & LoadTestAdministrationCloneTestDefaultHeaders;
96
+ }
97
+ /** The final response for long-running cloneTest operation */
98
+ export interface LoadTestAdministrationCloneTestLogicalResponse extends HttpResponse {
99
+ status: "200";
100
+ body: ResourceOperationStatusTestErrorOutput;
101
+ }
102
+ export interface LoadTestAdministrationGenerateTestPlanRecommendations202Headers {
103
+ /** The location for monitoring the operation state. */
104
+ "operation-location": string;
105
+ }
106
+ /** The request has been accepted for processing, but processing has not yet completed. */
107
+ export interface LoadTestAdministrationGenerateTestPlanRecommendations202Response extends HttpResponse {
108
+ status: "202";
109
+ body: ResourceOperationStatusTestErrorOutput;
110
+ headers: RawHttpHeaders & LoadTestAdministrationGenerateTestPlanRecommendations202Headers;
111
+ }
112
+ export interface LoadTestAdministrationGenerateTestPlanRecommendationsDefaultHeaders {
113
+ /** String error code indicating what went wrong. */
114
+ "x-ms-error-code"?: string;
115
+ }
116
+ export interface LoadTestAdministrationGenerateTestPlanRecommendationsDefaultResponse extends HttpResponse {
117
+ status: string;
118
+ body: ErrorResponse;
119
+ headers: RawHttpHeaders & LoadTestAdministrationGenerateTestPlanRecommendationsDefaultHeaders;
120
+ }
121
+ /** The final response for long-running generateTestPlanRecommendations operation */
122
+ export interface LoadTestAdministrationGenerateTestPlanRecommendationsLogicalResponse extends HttpResponse {
123
+ status: "200";
124
+ body: ResourceOperationStatusTestErrorOutput;
125
+ }
64
126
  /** The request has succeeded and a new resource has been created as a result. */
65
127
  export interface LoadTestAdministrationUploadTestFile201Response extends HttpResponse {
66
128
  status: "201";
@@ -243,6 +305,126 @@ export interface TestProfileAdministrationListTestProfilesDefaultResponse extend
243
305
  headers: RawHttpHeaders & TestProfileAdministrationListTestProfilesDefaultHeaders;
244
306
  }
245
307
  /** The request has succeeded. */
308
+ export interface TriggerAdministrationGetTrigger200Response extends HttpResponse {
309
+ status: "200";
310
+ body: TriggerOutput;
311
+ }
312
+ export interface TriggerAdministrationGetTriggerDefaultHeaders {
313
+ /** String error code indicating what went wrong. */
314
+ "x-ms-error-code"?: string;
315
+ }
316
+ export interface TriggerAdministrationGetTriggerDefaultResponse extends HttpResponse {
317
+ status: string;
318
+ body: ErrorResponse;
319
+ headers: RawHttpHeaders & TriggerAdministrationGetTriggerDefaultHeaders;
320
+ }
321
+ /** The request has succeeded. */
322
+ export interface TriggerAdministrationCreateOrUpdateTrigger200Response extends HttpResponse {
323
+ status: "200";
324
+ body: TriggerOutput;
325
+ }
326
+ /** The request has succeeded and a new resource has been created as a result. */
327
+ export interface TriggerAdministrationCreateOrUpdateTrigger201Response extends HttpResponse {
328
+ status: "201";
329
+ body: TriggerOutput;
330
+ }
331
+ export interface TriggerAdministrationCreateOrUpdateTriggerDefaultHeaders {
332
+ /** String error code indicating what went wrong. */
333
+ "x-ms-error-code"?: string;
334
+ }
335
+ export interface TriggerAdministrationCreateOrUpdateTriggerDefaultResponse extends HttpResponse {
336
+ status: string;
337
+ body: ErrorResponse;
338
+ headers: RawHttpHeaders & TriggerAdministrationCreateOrUpdateTriggerDefaultHeaders;
339
+ }
340
+ /** There is no content to send for this request, but the headers may be useful. */
341
+ export interface TriggerAdministrationDeleteTrigger204Response extends HttpResponse {
342
+ status: "204";
343
+ }
344
+ export interface TriggerAdministrationDeleteTriggerDefaultHeaders {
345
+ /** String error code indicating what went wrong. */
346
+ "x-ms-error-code"?: string;
347
+ }
348
+ export interface TriggerAdministrationDeleteTriggerDefaultResponse extends HttpResponse {
349
+ status: string;
350
+ body: ErrorResponse;
351
+ headers: RawHttpHeaders & TriggerAdministrationDeleteTriggerDefaultHeaders;
352
+ }
353
+ /** The request has succeeded. */
354
+ export interface TriggerAdministrationListTrigger200Response extends HttpResponse {
355
+ status: "200";
356
+ body: PagedTriggerOutput;
357
+ }
358
+ export interface TriggerAdministrationListTriggerDefaultHeaders {
359
+ /** String error code indicating what went wrong. */
360
+ "x-ms-error-code"?: string;
361
+ }
362
+ export interface TriggerAdministrationListTriggerDefaultResponse extends HttpResponse {
363
+ status: string;
364
+ body: ErrorResponse;
365
+ headers: RawHttpHeaders & TriggerAdministrationListTriggerDefaultHeaders;
366
+ }
367
+ /** The request has succeeded. */
368
+ export interface NotificationRuleAdministrationGetNotificationRule200Response extends HttpResponse {
369
+ status: "200";
370
+ body: NotificationRuleOutput;
371
+ }
372
+ export interface NotificationRuleAdministrationGetNotificationRuleDefaultHeaders {
373
+ /** String error code indicating what went wrong. */
374
+ "x-ms-error-code"?: string;
375
+ }
376
+ export interface NotificationRuleAdministrationGetNotificationRuleDefaultResponse extends HttpResponse {
377
+ status: string;
378
+ body: ErrorResponse;
379
+ headers: RawHttpHeaders & NotificationRuleAdministrationGetNotificationRuleDefaultHeaders;
380
+ }
381
+ /** The request has succeeded. */
382
+ export interface NotificationRuleAdministrationCreateOrUpdateNotificationRule200Response extends HttpResponse {
383
+ status: "200";
384
+ body: NotificationRuleOutput;
385
+ }
386
+ /** The request has succeeded and a new resource has been created as a result. */
387
+ export interface NotificationRuleAdministrationCreateOrUpdateNotificationRule201Response extends HttpResponse {
388
+ status: "201";
389
+ body: NotificationRuleOutput;
390
+ }
391
+ export interface NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultHeaders {
392
+ /** String error code indicating what went wrong. */
393
+ "x-ms-error-code"?: string;
394
+ }
395
+ export interface NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultResponse extends HttpResponse {
396
+ status: string;
397
+ body: ErrorResponse;
398
+ headers: RawHttpHeaders & NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultHeaders;
399
+ }
400
+ /** There is no content to send for this request, but the headers may be useful. */
401
+ export interface NotificationRuleAdministrationDeleteNotificationRule204Response extends HttpResponse {
402
+ status: "204";
403
+ }
404
+ export interface NotificationRuleAdministrationDeleteNotificationRuleDefaultHeaders {
405
+ /** String error code indicating what went wrong. */
406
+ "x-ms-error-code"?: string;
407
+ }
408
+ export interface NotificationRuleAdministrationDeleteNotificationRuleDefaultResponse extends HttpResponse {
409
+ status: string;
410
+ body: ErrorResponse;
411
+ headers: RawHttpHeaders & NotificationRuleAdministrationDeleteNotificationRuleDefaultHeaders;
412
+ }
413
+ /** The request has succeeded. */
414
+ export interface NotificationRuleAdministrationListNotificationRule200Response extends HttpResponse {
415
+ status: "200";
416
+ body: PagedNotificationRuleOutput;
417
+ }
418
+ export interface NotificationRuleAdministrationListNotificationRuleDefaultHeaders {
419
+ /** String error code indicating what went wrong. */
420
+ "x-ms-error-code"?: string;
421
+ }
422
+ export interface NotificationRuleAdministrationListNotificationRuleDefaultResponse extends HttpResponse {
423
+ status: string;
424
+ body: ErrorResponse;
425
+ headers: RawHttpHeaders & NotificationRuleAdministrationListNotificationRuleDefaultHeaders;
426
+ }
427
+ /** The request has succeeded. */
246
428
  export interface LoadTestRunGetTestRun200Response extends HttpResponse {
247
429
  status: "200";
248
430
  body: TestRunOutput;
@@ -331,6 +513,57 @@ export interface LoadTestRunStopDefaultResponse extends HttpResponse {
331
513
  headers: RawHttpHeaders & LoadTestRunStopDefaultHeaders;
332
514
  }
333
515
  /** The request has succeeded. */
516
+ export interface LoadTestRunGetLatestInsights200Response extends HttpResponse {
517
+ status: "200";
518
+ body: TestRunInsightsOutput;
519
+ }
520
+ export interface LoadTestRunGetLatestInsightsDefaultHeaders {
521
+ /** String error code indicating what went wrong. */
522
+ "x-ms-error-code"?: string;
523
+ }
524
+ export interface LoadTestRunGetLatestInsightsDefaultResponse extends HttpResponse {
525
+ status: string;
526
+ body: ErrorResponse;
527
+ headers: RawHttpHeaders & LoadTestRunGetLatestInsightsDefaultHeaders;
528
+ }
529
+ /** The request has succeeded. */
530
+ export interface LoadTestRunUpdateLatestInsights200Response extends HttpResponse {
531
+ status: "200";
532
+ body: TestRunInsightsOutput;
533
+ }
534
+ export interface LoadTestRunUpdateLatestInsightsDefaultHeaders {
535
+ /** String error code indicating what went wrong. */
536
+ "x-ms-error-code"?: string;
537
+ }
538
+ export interface LoadTestRunUpdateLatestInsightsDefaultResponse extends HttpResponse {
539
+ status: string;
540
+ body: ErrorResponse;
541
+ headers: RawHttpHeaders & LoadTestRunUpdateLatestInsightsDefaultHeaders;
542
+ }
543
+ export interface LoadTestRunGenerateInsights202Headers {
544
+ "operation-location": string;
545
+ }
546
+ /** The request has been accepted for processing, but processing has not yet completed. */
547
+ export interface LoadTestRunGenerateInsights202Response extends HttpResponse {
548
+ status: "202";
549
+ body: OperationStatusOutput;
550
+ headers: RawHttpHeaders & LoadTestRunGenerateInsights202Headers;
551
+ }
552
+ export interface LoadTestRunGenerateInsightsDefaultHeaders {
553
+ /** String error code indicating what went wrong. */
554
+ "x-ms-error-code"?: string;
555
+ }
556
+ export interface LoadTestRunGenerateInsightsDefaultResponse extends HttpResponse {
557
+ status: string;
558
+ body: ErrorResponse;
559
+ headers: RawHttpHeaders & LoadTestRunGenerateInsightsDefaultHeaders;
560
+ }
561
+ /** The final response for long-running generateInsights operation */
562
+ export interface LoadTestRunGenerateInsightsLogicalResponse extends HttpResponse {
563
+ status: "200";
564
+ body: OperationStatusOutput;
565
+ }
566
+ /** The request has succeeded. */
334
567
  export interface LoadTestRunListMetricNamespaces200Response extends HttpResponse {
335
568
  status: "200";
336
569
  body: MetricNamespaceCollectionOutput;
@@ -526,124 +759,4 @@ export interface TestProfileRunAdministrationListTestProfileRunsDefaultResponse
526
759
  body: ErrorResponse;
527
760
  headers: RawHttpHeaders & TestProfileRunAdministrationListTestProfileRunsDefaultHeaders;
528
761
  }
529
- /** The request has succeeded. */
530
- export interface TriggerAdministrationGetTrigger200Response extends HttpResponse {
531
- status: "200";
532
- body: TriggerOutput;
533
- }
534
- export interface TriggerAdministrationGetTriggerDefaultHeaders {
535
- /** String error code indicating what went wrong. */
536
- "x-ms-error-code"?: string;
537
- }
538
- export interface TriggerAdministrationGetTriggerDefaultResponse extends HttpResponse {
539
- status: string;
540
- body: ErrorResponse;
541
- headers: RawHttpHeaders & TriggerAdministrationGetTriggerDefaultHeaders;
542
- }
543
- /** The request has succeeded. */
544
- export interface TriggerAdministrationCreateOrUpdateTrigger200Response extends HttpResponse {
545
- status: "200";
546
- body: TriggerOutput;
547
- }
548
- /** The request has succeeded and a new resource has been created as a result. */
549
- export interface TriggerAdministrationCreateOrUpdateTrigger201Response extends HttpResponse {
550
- status: "201";
551
- body: TriggerOutput;
552
- }
553
- export interface TriggerAdministrationCreateOrUpdateTriggerDefaultHeaders {
554
- /** String error code indicating what went wrong. */
555
- "x-ms-error-code"?: string;
556
- }
557
- export interface TriggerAdministrationCreateOrUpdateTriggerDefaultResponse extends HttpResponse {
558
- status: string;
559
- body: ErrorResponse;
560
- headers: RawHttpHeaders & TriggerAdministrationCreateOrUpdateTriggerDefaultHeaders;
561
- }
562
- /** There is no content to send for this request, but the headers may be useful. */
563
- export interface TriggerAdministrationDeleteTrigger204Response extends HttpResponse {
564
- status: "204";
565
- }
566
- export interface TriggerAdministrationDeleteTriggerDefaultHeaders {
567
- /** String error code indicating what went wrong. */
568
- "x-ms-error-code"?: string;
569
- }
570
- export interface TriggerAdministrationDeleteTriggerDefaultResponse extends HttpResponse {
571
- status: string;
572
- body: ErrorResponse;
573
- headers: RawHttpHeaders & TriggerAdministrationDeleteTriggerDefaultHeaders;
574
- }
575
- /** The request has succeeded. */
576
- export interface TriggerAdministrationListTrigger200Response extends HttpResponse {
577
- status: "200";
578
- body: PagedTriggerOutput;
579
- }
580
- export interface TriggerAdministrationListTriggerDefaultHeaders {
581
- /** String error code indicating what went wrong. */
582
- "x-ms-error-code"?: string;
583
- }
584
- export interface TriggerAdministrationListTriggerDefaultResponse extends HttpResponse {
585
- status: string;
586
- body: ErrorResponse;
587
- headers: RawHttpHeaders & TriggerAdministrationListTriggerDefaultHeaders;
588
- }
589
- /** The request has succeeded. */
590
- export interface NotificationRuleAdministrationGetNotificationRule200Response extends HttpResponse {
591
- status: "200";
592
- body: NotificationRuleOutput;
593
- }
594
- export interface NotificationRuleAdministrationGetNotificationRuleDefaultHeaders {
595
- /** String error code indicating what went wrong. */
596
- "x-ms-error-code"?: string;
597
- }
598
- export interface NotificationRuleAdministrationGetNotificationRuleDefaultResponse extends HttpResponse {
599
- status: string;
600
- body: ErrorResponse;
601
- headers: RawHttpHeaders & NotificationRuleAdministrationGetNotificationRuleDefaultHeaders;
602
- }
603
- /** The request has succeeded. */
604
- export interface NotificationRuleAdministrationCreateOrUpdateNotificationRule200Response extends HttpResponse {
605
- status: "200";
606
- body: NotificationRuleOutput;
607
- }
608
- /** The request has succeeded and a new resource has been created as a result. */
609
- export interface NotificationRuleAdministrationCreateOrUpdateNotificationRule201Response extends HttpResponse {
610
- status: "201";
611
- body: NotificationRuleOutput;
612
- }
613
- export interface NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultHeaders {
614
- /** String error code indicating what went wrong. */
615
- "x-ms-error-code"?: string;
616
- }
617
- export interface NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultResponse extends HttpResponse {
618
- status: string;
619
- body: ErrorResponse;
620
- headers: RawHttpHeaders & NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultHeaders;
621
- }
622
- /** There is no content to send for this request, but the headers may be useful. */
623
- export interface NotificationRuleAdministrationDeleteNotificationRule204Response extends HttpResponse {
624
- status: "204";
625
- }
626
- export interface NotificationRuleAdministrationDeleteNotificationRuleDefaultHeaders {
627
- /** String error code indicating what went wrong. */
628
- "x-ms-error-code"?: string;
629
- }
630
- export interface NotificationRuleAdministrationDeleteNotificationRuleDefaultResponse extends HttpResponse {
631
- status: string;
632
- body: ErrorResponse;
633
- headers: RawHttpHeaders & NotificationRuleAdministrationDeleteNotificationRuleDefaultHeaders;
634
- }
635
- /** The request has succeeded. */
636
- export interface NotificationRuleAdministrationListNotificationRule200Response extends HttpResponse {
637
- status: "200";
638
- body: PagedNotificationRuleOutput;
639
- }
640
- export interface NotificationRuleAdministrationListNotificationRuleDefaultHeaders {
641
- /** String error code indicating what went wrong. */
642
- "x-ms-error-code"?: string;
643
- }
644
- export interface NotificationRuleAdministrationListNotificationRuleDefaultResponse extends HttpResponse {
645
- status: string;
646
- body: ErrorResponse;
647
- headers: RawHttpHeaders & NotificationRuleAdministrationListNotificationRuleDefaultHeaders;
648
- }
649
762
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport type {\n TestOutput,\n PagedTestOutput,\n TestFileInfoOutput,\n PagedTestFileInfoOutput,\n TestAppComponentsOutput,\n TestServerMetricsConfigurationOutput,\n TestProfileOutput,\n PagedTestProfileOutput,\n TestRunOutput,\n PagedTestRunOutput,\n TestRunFileInfoOutput,\n MetricNamespaceCollectionOutput,\n MetricDefinitionCollectionOutput,\n MetricsOutput,\n DimensionValueListOutput,\n TestRunAppComponentsOutput,\n TestRunServerMetricsConfigurationOutput,\n TestProfileRunOutput,\n PagedTestProfileRunOutput,\n TriggerOutput,\n PagedTriggerOutput,\n NotificationRuleOutput,\n PagedNotificationRuleOutput,\n} from \"./outputModels.js\";\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationCreateOrUpdateTest200Response extends HttpResponse {\n status: \"200\";\n body: TestOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestAdministrationCreateOrUpdateTest201Response extends HttpResponse {\n status: \"201\";\n body: TestOutput;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateTestDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateTestDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationCreateOrUpdateTestDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface LoadTestAdministrationDeleteTest204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface LoadTestAdministrationDeleteTestDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationDeleteTestDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationDeleteTestDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationGetTest200Response extends HttpResponse {\n status: \"200\";\n body: TestOutput;\n}\n\nexport interface LoadTestAdministrationGetTestDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationGetTestDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationGetTestDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationListTests200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestOutput;\n}\n\nexport interface LoadTestAdministrationListTestsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationListTestsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationListTestsDefaultHeaders;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestAdministrationUploadTestFile201Response extends HttpResponse {\n status: \"201\";\n body: TestFileInfoOutput;\n}\n\nexport interface LoadTestAdministrationUploadTestFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationUploadTestFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationUploadTestFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationGetTestFile200Response extends HttpResponse {\n status: \"200\";\n body: TestFileInfoOutput;\n}\n\nexport interface LoadTestAdministrationGetTestFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationGetTestFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationGetTestFileDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface LoadTestAdministrationDeleteTestFile204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface LoadTestAdministrationDeleteTestFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationDeleteTestFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationDeleteTestFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationListTestFiles200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestFileInfoOutput;\n}\n\nexport interface LoadTestAdministrationListTestFilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationListTestFilesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationListTestFilesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationCreateOrUpdateAppComponents200Response extends HttpResponse {\n status: \"200\";\n body: TestAppComponentsOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestAdministrationCreateOrUpdateAppComponents201Response extends HttpResponse {\n status: \"201\";\n body: TestAppComponentsOutput;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateAppComponentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateAppComponentsDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationCreateOrUpdateAppComponentsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationGetAppComponents200Response extends HttpResponse {\n status: \"200\";\n body: TestAppComponentsOutput;\n}\n\nexport interface LoadTestAdministrationGetAppComponentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationGetAppComponentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationGetAppComponentsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationCreateOrUpdateServerMetricsConfig200Response\n extends HttpResponse {\n status: \"200\";\n body: TestServerMetricsConfigurationOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestAdministrationCreateOrUpdateServerMetricsConfig201Response\n extends HttpResponse {\n status: \"201\";\n body: TestServerMetricsConfigurationOutput;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateServerMetricsConfigDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateServerMetricsConfigDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationCreateOrUpdateServerMetricsConfigDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationGetServerMetricsConfig200Response extends HttpResponse {\n status: \"200\";\n body: TestServerMetricsConfigurationOutput;\n}\n\nexport interface LoadTestAdministrationGetServerMetricsConfigDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationGetServerMetricsConfigDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationGetServerMetricsConfigDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileAdministrationCreateOrUpdateTestProfile200Response\n extends HttpResponse {\n status: \"200\";\n body: TestProfileOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface TestProfileAdministrationCreateOrUpdateTestProfile201Response\n extends HttpResponse {\n status: \"201\";\n body: TestProfileOutput;\n}\n\nexport interface TestProfileAdministrationCreateOrUpdateTestProfileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileAdministrationCreateOrUpdateTestProfileDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileAdministrationCreateOrUpdateTestProfileDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface TestProfileAdministrationDeleteTestProfile204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface TestProfileAdministrationDeleteTestProfileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileAdministrationDeleteTestProfileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileAdministrationDeleteTestProfileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileAdministrationGetTestProfile200Response extends HttpResponse {\n status: \"200\";\n body: TestProfileOutput;\n}\n\nexport interface TestProfileAdministrationGetTestProfileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileAdministrationGetTestProfileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileAdministrationGetTestProfileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileAdministrationListTestProfiles200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestProfileOutput;\n}\n\nexport interface TestProfileAdministrationListTestProfilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileAdministrationListTestProfilesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileAdministrationListTestProfilesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunGetTestRun200Response extends HttpResponse {\n status: \"200\";\n body: TestRunOutput;\n}\n\nexport interface LoadTestRunGetTestRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGetTestRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGetTestRunDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunCreateOrUpdateTestRun200Response extends HttpResponse {\n status: \"200\";\n body: TestRunOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestRunCreateOrUpdateTestRun201Response extends HttpResponse {\n status: \"201\";\n body: TestRunOutput;\n}\n\nexport interface LoadTestRunCreateOrUpdateTestRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunCreateOrUpdateTestRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunCreateOrUpdateTestRunDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface LoadTestRunDeleteTestRun204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface LoadTestRunDeleteTestRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunDeleteTestRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunDeleteTestRunDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListTestRuns200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestRunOutput;\n}\n\nexport interface LoadTestRunListTestRunsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListTestRunsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListTestRunsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunGetTestRunFile200Response extends HttpResponse {\n status: \"200\";\n body: TestRunFileInfoOutput;\n}\n\nexport interface LoadTestRunGetTestRunFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGetTestRunFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGetTestRunFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunStop200Response extends HttpResponse {\n status: \"200\";\n body: TestRunOutput;\n}\n\nexport interface LoadTestRunStopDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunStopDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunStopDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListMetricNamespaces200Response extends HttpResponse {\n status: \"200\";\n body: MetricNamespaceCollectionOutput;\n}\n\nexport interface LoadTestRunListMetricNamespacesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListMetricNamespacesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListMetricNamespacesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListMetricDefinitions200Response extends HttpResponse {\n status: \"200\";\n body: MetricDefinitionCollectionOutput;\n}\n\nexport interface LoadTestRunListMetricDefinitionsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListMetricDefinitionsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListMetricDefinitionsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListMetrics200Response extends HttpResponse {\n status: \"200\";\n body: MetricsOutput;\n}\n\nexport interface LoadTestRunListMetricsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListMetricsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListMetricsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListMetricDimensionValues200Response extends HttpResponse {\n status: \"200\";\n body: DimensionValueListOutput;\n}\n\nexport interface LoadTestRunListMetricDimensionValuesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListMetricDimensionValuesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListMetricDimensionValuesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunCreateOrUpdateAppComponents200Response extends HttpResponse {\n status: \"200\";\n body: TestRunAppComponentsOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestRunCreateOrUpdateAppComponents201Response extends HttpResponse {\n status: \"201\";\n body: TestRunAppComponentsOutput;\n}\n\nexport interface LoadTestRunCreateOrUpdateAppComponentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunCreateOrUpdateAppComponentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunCreateOrUpdateAppComponentsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunGetAppComponents200Response extends HttpResponse {\n status: \"200\";\n body: TestRunAppComponentsOutput;\n}\n\nexport interface LoadTestRunGetAppComponentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGetAppComponentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGetAppComponentsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunCreateOrUpdateServerMetricsConfig200Response extends HttpResponse {\n status: \"200\";\n body: TestRunServerMetricsConfigurationOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestRunCreateOrUpdateServerMetricsConfig201Response extends HttpResponse {\n status: \"201\";\n body: TestRunServerMetricsConfigurationOutput;\n}\n\nexport interface LoadTestRunCreateOrUpdateServerMetricsConfigDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunCreateOrUpdateServerMetricsConfigDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunCreateOrUpdateServerMetricsConfigDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunGetServerMetricsConfig200Response extends HttpResponse {\n status: \"200\";\n body: TestRunServerMetricsConfigurationOutput;\n}\n\nexport interface LoadTestRunGetServerMetricsConfigDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGetServerMetricsConfigDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGetServerMetricsConfigDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileRunAdministrationGetTestProfileRun200Response extends HttpResponse {\n status: \"200\";\n body: TestProfileRunOutput;\n}\n\nexport interface TestProfileRunAdministrationGetTestProfileRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationGetTestProfileRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationGetTestProfileRunDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileRunAdministrationCreateOrUpdateTestProfileRun200Response\n extends HttpResponse {\n status: \"200\";\n body: TestProfileRunOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface TestProfileRunAdministrationCreateOrUpdateTestProfileRun201Response\n extends HttpResponse {\n status: \"201\";\n body: TestProfileRunOutput;\n}\n\nexport interface TestProfileRunAdministrationCreateOrUpdateTestProfileRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationCreateOrUpdateTestProfileRunDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationCreateOrUpdateTestProfileRunDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface TestProfileRunAdministrationDeleteTestProfileRun204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface TestProfileRunAdministrationDeleteTestProfileRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationDeleteTestProfileRunDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationDeleteTestProfileRunDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileRunAdministrationStop200Response extends HttpResponse {\n status: \"200\";\n body: TestProfileRunOutput;\n}\n\nexport interface TestProfileRunAdministrationStopDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationStopDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationStopDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileRunAdministrationListTestProfileRuns200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestProfileRunOutput;\n}\n\nexport interface TestProfileRunAdministrationListTestProfileRunsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationListTestProfileRunsDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationListTestProfileRunsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TriggerAdministrationGetTrigger200Response extends HttpResponse {\n status: \"200\";\n body: TriggerOutput;\n}\n\nexport interface TriggerAdministrationGetTriggerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TriggerAdministrationGetTriggerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TriggerAdministrationGetTriggerDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TriggerAdministrationCreateOrUpdateTrigger200Response extends HttpResponse {\n status: \"200\";\n body: TriggerOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface TriggerAdministrationCreateOrUpdateTrigger201Response extends HttpResponse {\n status: \"201\";\n body: TriggerOutput;\n}\n\nexport interface TriggerAdministrationCreateOrUpdateTriggerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TriggerAdministrationCreateOrUpdateTriggerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TriggerAdministrationCreateOrUpdateTriggerDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface TriggerAdministrationDeleteTrigger204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface TriggerAdministrationDeleteTriggerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TriggerAdministrationDeleteTriggerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TriggerAdministrationDeleteTriggerDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TriggerAdministrationListTrigger200Response extends HttpResponse {\n status: \"200\";\n body: PagedTriggerOutput;\n}\n\nexport interface TriggerAdministrationListTriggerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TriggerAdministrationListTriggerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TriggerAdministrationListTriggerDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface NotificationRuleAdministrationGetNotificationRule200Response extends HttpResponse {\n status: \"200\";\n body: NotificationRuleOutput;\n}\n\nexport interface NotificationRuleAdministrationGetNotificationRuleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface NotificationRuleAdministrationGetNotificationRuleDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & NotificationRuleAdministrationGetNotificationRuleDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface NotificationRuleAdministrationCreateOrUpdateNotificationRule200Response\n extends HttpResponse {\n status: \"200\";\n body: NotificationRuleOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface NotificationRuleAdministrationCreateOrUpdateNotificationRule201Response\n extends HttpResponse {\n status: \"201\";\n body: NotificationRuleOutput;\n}\n\nexport interface NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders &\n NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface NotificationRuleAdministrationDeleteNotificationRule204Response\n extends HttpResponse {\n status: \"204\";\n}\n\nexport interface NotificationRuleAdministrationDeleteNotificationRuleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface NotificationRuleAdministrationDeleteNotificationRuleDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & NotificationRuleAdministrationDeleteNotificationRuleDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface NotificationRuleAdministrationListNotificationRule200Response\n extends HttpResponse {\n status: \"200\";\n body: PagedNotificationRuleOutput;\n}\n\nexport interface NotificationRuleAdministrationListNotificationRuleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface NotificationRuleAdministrationListNotificationRuleDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & NotificationRuleAdministrationListNotificationRuleDefaultHeaders;\n}\n"]}
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport type {\n OperationStatusOutput,\n TestOutput,\n PagedTestOutput,\n ResourceOperationStatusTestErrorOutput,\n TestFileInfoOutput,\n PagedTestFileInfoOutput,\n TestAppComponentsOutput,\n TestServerMetricsConfigurationOutput,\n TestProfileOutput,\n PagedTestProfileOutput,\n TriggerOutput,\n PagedTriggerOutput,\n NotificationRuleOutput,\n PagedNotificationRuleOutput,\n TestRunOutput,\n PagedTestRunOutput,\n TestRunFileInfoOutput,\n TestRunInsightsOutput,\n MetricNamespaceCollectionOutput,\n MetricDefinitionCollectionOutput,\n MetricsOutput,\n DimensionValueListOutput,\n TestRunAppComponentsOutput,\n TestRunServerMetricsConfigurationOutput,\n TestProfileRunOutput,\n PagedTestProfileRunOutput,\n} from \"./outputModels.js\";\n\n/** The request has succeeded. */\nexport interface OperationsGetStatus200Response extends HttpResponse {\n status: \"200\";\n body: OperationStatusOutput;\n}\n\nexport interface OperationsGetStatusDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface OperationsGetStatusDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & OperationsGetStatusDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationCreateOrUpdateTest200Response extends HttpResponse {\n status: \"200\";\n body: TestOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestAdministrationCreateOrUpdateTest201Response extends HttpResponse {\n status: \"201\";\n body: TestOutput;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateTestDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateTestDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationCreateOrUpdateTestDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface LoadTestAdministrationDeleteTest204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface LoadTestAdministrationDeleteTestDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationDeleteTestDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationDeleteTestDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationGetTest200Response extends HttpResponse {\n status: \"200\";\n body: TestOutput;\n}\n\nexport interface LoadTestAdministrationGetTestDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationGetTestDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationGetTestDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationListTests200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestOutput;\n}\n\nexport interface LoadTestAdministrationListTestsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationListTestsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationListTestsDefaultHeaders;\n}\n\nexport interface LoadTestAdministrationCloneTest202Headers {\n /** The location for monitoring the operation state. */\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface LoadTestAdministrationCloneTest202Response extends HttpResponse {\n status: \"202\";\n body: ResourceOperationStatusTestErrorOutput;\n headers: RawHttpHeaders & LoadTestAdministrationCloneTest202Headers;\n}\n\nexport interface LoadTestAdministrationCloneTestDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationCloneTestDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationCloneTestDefaultHeaders;\n}\n\n/** The final response for long-running cloneTest operation */\nexport interface LoadTestAdministrationCloneTestLogicalResponse extends HttpResponse {\n status: \"200\";\n body: ResourceOperationStatusTestErrorOutput;\n}\n\nexport interface LoadTestAdministrationGenerateTestPlanRecommendations202Headers {\n /** The location for monitoring the operation state. */\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface LoadTestAdministrationGenerateTestPlanRecommendations202Response extends HttpResponse {\n status: \"202\";\n body: ResourceOperationStatusTestErrorOutput;\n headers: RawHttpHeaders & LoadTestAdministrationGenerateTestPlanRecommendations202Headers;\n}\n\nexport interface LoadTestAdministrationGenerateTestPlanRecommendationsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationGenerateTestPlanRecommendationsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationGenerateTestPlanRecommendationsDefaultHeaders;\n}\n\n/** The final response for long-running generateTestPlanRecommendations operation */\nexport interface LoadTestAdministrationGenerateTestPlanRecommendationsLogicalResponse extends HttpResponse {\n status: \"200\";\n body: ResourceOperationStatusTestErrorOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestAdministrationUploadTestFile201Response extends HttpResponse {\n status: \"201\";\n body: TestFileInfoOutput;\n}\n\nexport interface LoadTestAdministrationUploadTestFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationUploadTestFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationUploadTestFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationGetTestFile200Response extends HttpResponse {\n status: \"200\";\n body: TestFileInfoOutput;\n}\n\nexport interface LoadTestAdministrationGetTestFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationGetTestFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationGetTestFileDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface LoadTestAdministrationDeleteTestFile204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface LoadTestAdministrationDeleteTestFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationDeleteTestFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationDeleteTestFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationListTestFiles200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestFileInfoOutput;\n}\n\nexport interface LoadTestAdministrationListTestFilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationListTestFilesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationListTestFilesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationCreateOrUpdateAppComponents200Response extends HttpResponse {\n status: \"200\";\n body: TestAppComponentsOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestAdministrationCreateOrUpdateAppComponents201Response extends HttpResponse {\n status: \"201\";\n body: TestAppComponentsOutput;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateAppComponentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateAppComponentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationCreateOrUpdateAppComponentsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationGetAppComponents200Response extends HttpResponse {\n status: \"200\";\n body: TestAppComponentsOutput;\n}\n\nexport interface LoadTestAdministrationGetAppComponentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationGetAppComponentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationGetAppComponentsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationCreateOrUpdateServerMetricsConfig200Response extends HttpResponse {\n status: \"200\";\n body: TestServerMetricsConfigurationOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestAdministrationCreateOrUpdateServerMetricsConfig201Response extends HttpResponse {\n status: \"201\";\n body: TestServerMetricsConfigurationOutput;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateServerMetricsConfigDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationCreateOrUpdateServerMetricsConfigDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationCreateOrUpdateServerMetricsConfigDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestAdministrationGetServerMetricsConfig200Response extends HttpResponse {\n status: \"200\";\n body: TestServerMetricsConfigurationOutput;\n}\n\nexport interface LoadTestAdministrationGetServerMetricsConfigDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestAdministrationGetServerMetricsConfigDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestAdministrationGetServerMetricsConfigDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileAdministrationCreateOrUpdateTestProfile200Response extends HttpResponse {\n status: \"200\";\n body: TestProfileOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface TestProfileAdministrationCreateOrUpdateTestProfile201Response extends HttpResponse {\n status: \"201\";\n body: TestProfileOutput;\n}\n\nexport interface TestProfileAdministrationCreateOrUpdateTestProfileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileAdministrationCreateOrUpdateTestProfileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileAdministrationCreateOrUpdateTestProfileDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface TestProfileAdministrationDeleteTestProfile204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface TestProfileAdministrationDeleteTestProfileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileAdministrationDeleteTestProfileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileAdministrationDeleteTestProfileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileAdministrationGetTestProfile200Response extends HttpResponse {\n status: \"200\";\n body: TestProfileOutput;\n}\n\nexport interface TestProfileAdministrationGetTestProfileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileAdministrationGetTestProfileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileAdministrationGetTestProfileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileAdministrationListTestProfiles200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestProfileOutput;\n}\n\nexport interface TestProfileAdministrationListTestProfilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileAdministrationListTestProfilesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileAdministrationListTestProfilesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TriggerAdministrationGetTrigger200Response extends HttpResponse {\n status: \"200\";\n body: TriggerOutput;\n}\n\nexport interface TriggerAdministrationGetTriggerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TriggerAdministrationGetTriggerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TriggerAdministrationGetTriggerDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TriggerAdministrationCreateOrUpdateTrigger200Response extends HttpResponse {\n status: \"200\";\n body: TriggerOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface TriggerAdministrationCreateOrUpdateTrigger201Response extends HttpResponse {\n status: \"201\";\n body: TriggerOutput;\n}\n\nexport interface TriggerAdministrationCreateOrUpdateTriggerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TriggerAdministrationCreateOrUpdateTriggerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TriggerAdministrationCreateOrUpdateTriggerDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface TriggerAdministrationDeleteTrigger204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface TriggerAdministrationDeleteTriggerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TriggerAdministrationDeleteTriggerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TriggerAdministrationDeleteTriggerDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TriggerAdministrationListTrigger200Response extends HttpResponse {\n status: \"200\";\n body: PagedTriggerOutput;\n}\n\nexport interface TriggerAdministrationListTriggerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TriggerAdministrationListTriggerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TriggerAdministrationListTriggerDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface NotificationRuleAdministrationGetNotificationRule200Response extends HttpResponse {\n status: \"200\";\n body: NotificationRuleOutput;\n}\n\nexport interface NotificationRuleAdministrationGetNotificationRuleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface NotificationRuleAdministrationGetNotificationRuleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & NotificationRuleAdministrationGetNotificationRuleDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface NotificationRuleAdministrationCreateOrUpdateNotificationRule200Response extends HttpResponse {\n status: \"200\";\n body: NotificationRuleOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface NotificationRuleAdministrationCreateOrUpdateNotificationRule201Response extends HttpResponse {\n status: \"201\";\n body: NotificationRuleOutput;\n}\n\nexport interface NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders &\n NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface NotificationRuleAdministrationDeleteNotificationRule204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface NotificationRuleAdministrationDeleteNotificationRuleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface NotificationRuleAdministrationDeleteNotificationRuleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & NotificationRuleAdministrationDeleteNotificationRuleDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface NotificationRuleAdministrationListNotificationRule200Response extends HttpResponse {\n status: \"200\";\n body: PagedNotificationRuleOutput;\n}\n\nexport interface NotificationRuleAdministrationListNotificationRuleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface NotificationRuleAdministrationListNotificationRuleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & NotificationRuleAdministrationListNotificationRuleDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunGetTestRun200Response extends HttpResponse {\n status: \"200\";\n body: TestRunOutput;\n}\n\nexport interface LoadTestRunGetTestRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGetTestRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGetTestRunDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunCreateOrUpdateTestRun200Response extends HttpResponse {\n status: \"200\";\n body: TestRunOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestRunCreateOrUpdateTestRun201Response extends HttpResponse {\n status: \"201\";\n body: TestRunOutput;\n}\n\nexport interface LoadTestRunCreateOrUpdateTestRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunCreateOrUpdateTestRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunCreateOrUpdateTestRunDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface LoadTestRunDeleteTestRun204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface LoadTestRunDeleteTestRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunDeleteTestRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunDeleteTestRunDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListTestRuns200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestRunOutput;\n}\n\nexport interface LoadTestRunListTestRunsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListTestRunsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListTestRunsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunGetTestRunFile200Response extends HttpResponse {\n status: \"200\";\n body: TestRunFileInfoOutput;\n}\n\nexport interface LoadTestRunGetTestRunFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGetTestRunFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGetTestRunFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunStop200Response extends HttpResponse {\n status: \"200\";\n body: TestRunOutput;\n}\n\nexport interface LoadTestRunStopDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunStopDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunStopDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunGetLatestInsights200Response extends HttpResponse {\n status: \"200\";\n body: TestRunInsightsOutput;\n}\n\nexport interface LoadTestRunGetLatestInsightsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGetLatestInsightsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGetLatestInsightsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunUpdateLatestInsights200Response extends HttpResponse {\n status: \"200\";\n body: TestRunInsightsOutput;\n}\n\nexport interface LoadTestRunUpdateLatestInsightsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunUpdateLatestInsightsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunUpdateLatestInsightsDefaultHeaders;\n}\n\nexport interface LoadTestRunGenerateInsights202Headers {\n \"operation-location\": string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface LoadTestRunGenerateInsights202Response extends HttpResponse {\n status: \"202\";\n body: OperationStatusOutput;\n headers: RawHttpHeaders & LoadTestRunGenerateInsights202Headers;\n}\n\nexport interface LoadTestRunGenerateInsightsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGenerateInsightsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGenerateInsightsDefaultHeaders;\n}\n\n/** The final response for long-running generateInsights operation */\nexport interface LoadTestRunGenerateInsightsLogicalResponse extends HttpResponse {\n status: \"200\";\n body: OperationStatusOutput;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListMetricNamespaces200Response extends HttpResponse {\n status: \"200\";\n body: MetricNamespaceCollectionOutput;\n}\n\nexport interface LoadTestRunListMetricNamespacesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListMetricNamespacesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListMetricNamespacesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListMetricDefinitions200Response extends HttpResponse {\n status: \"200\";\n body: MetricDefinitionCollectionOutput;\n}\n\nexport interface LoadTestRunListMetricDefinitionsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListMetricDefinitionsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListMetricDefinitionsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListMetrics200Response extends HttpResponse {\n status: \"200\";\n body: MetricsOutput;\n}\n\nexport interface LoadTestRunListMetricsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListMetricsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListMetricsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunListMetricDimensionValues200Response extends HttpResponse {\n status: \"200\";\n body: DimensionValueListOutput;\n}\n\nexport interface LoadTestRunListMetricDimensionValuesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunListMetricDimensionValuesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunListMetricDimensionValuesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunCreateOrUpdateAppComponents200Response extends HttpResponse {\n status: \"200\";\n body: TestRunAppComponentsOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestRunCreateOrUpdateAppComponents201Response extends HttpResponse {\n status: \"201\";\n body: TestRunAppComponentsOutput;\n}\n\nexport interface LoadTestRunCreateOrUpdateAppComponentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunCreateOrUpdateAppComponentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunCreateOrUpdateAppComponentsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunGetAppComponents200Response extends HttpResponse {\n status: \"200\";\n body: TestRunAppComponentsOutput;\n}\n\nexport interface LoadTestRunGetAppComponentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGetAppComponentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGetAppComponentsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunCreateOrUpdateServerMetricsConfig200Response extends HttpResponse {\n status: \"200\";\n body: TestRunServerMetricsConfigurationOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface LoadTestRunCreateOrUpdateServerMetricsConfig201Response extends HttpResponse {\n status: \"201\";\n body: TestRunServerMetricsConfigurationOutput;\n}\n\nexport interface LoadTestRunCreateOrUpdateServerMetricsConfigDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunCreateOrUpdateServerMetricsConfigDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunCreateOrUpdateServerMetricsConfigDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface LoadTestRunGetServerMetricsConfig200Response extends HttpResponse {\n status: \"200\";\n body: TestRunServerMetricsConfigurationOutput;\n}\n\nexport interface LoadTestRunGetServerMetricsConfigDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface LoadTestRunGetServerMetricsConfigDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & LoadTestRunGetServerMetricsConfigDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileRunAdministrationGetTestProfileRun200Response extends HttpResponse {\n status: \"200\";\n body: TestProfileRunOutput;\n}\n\nexport interface TestProfileRunAdministrationGetTestProfileRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationGetTestProfileRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationGetTestProfileRunDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileRunAdministrationCreateOrUpdateTestProfileRun200Response extends HttpResponse {\n status: \"200\";\n body: TestProfileRunOutput;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface TestProfileRunAdministrationCreateOrUpdateTestProfileRun201Response extends HttpResponse {\n status: \"201\";\n body: TestProfileRunOutput;\n}\n\nexport interface TestProfileRunAdministrationCreateOrUpdateTestProfileRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationCreateOrUpdateTestProfileRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationCreateOrUpdateTestProfileRunDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface TestProfileRunAdministrationDeleteTestProfileRun204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface TestProfileRunAdministrationDeleteTestProfileRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationDeleteTestProfileRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationDeleteTestProfileRunDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileRunAdministrationStop200Response extends HttpResponse {\n status: \"200\";\n body: TestProfileRunOutput;\n}\n\nexport interface TestProfileRunAdministrationStopDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationStopDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationStopDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface TestProfileRunAdministrationListTestProfileRuns200Response extends HttpResponse {\n status: \"200\";\n body: PagedTestProfileRunOutput;\n}\n\nexport interface TestProfileRunAdministrationListTestProfileRunsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TestProfileRunAdministrationListTestProfileRunsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TestProfileRunAdministrationListTestProfileRunsDefaultHeaders;\n}\n"]}
@@ -1,46 +1,54 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.default = createClient;
6
- const tslib_1 = require("tslib");
7
- const core_client_1 = require("@azure-rest/core-client");
8
- const logger_js_1 = require("./logger.js");
9
- /**
10
- * Initialize a new instance of `AzureLoadTestingClient`
11
- * @param endpointParam - A sequence of textual characters.
12
- * @param credentials - uniquely identify client credential
13
- * @param options - the parameter for all optional parameters
14
- */
15
- function createClient(endpointParam, credentials, _a = {}) {
16
- var _b, _c, _d, _e, _f, _g;
17
- var { apiVersion = "2024-12-01-preview" } = _a, options = tslib_1.__rest(_a, ["apiVersion"]);
18
- const endpointUrl = (_c = (_b = options.endpoint) !== null && _b !== void 0 ? _b : options.baseUrl) !== null && _c !== void 0 ? _c : `https://${endpointParam}`;
19
- const userAgentInfo = `azsdk-js-load-testing-rest/1.0.1`;
20
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
21
- ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
22
- : `${userAgentInfo}`;
23
- options = Object.assign(Object.assign({}, options), { userAgentOptions: {
24
- userAgentPrefix,
25
- }, loggingOptions: {
26
- logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger_js_1.logger.info,
27
- }, credentials: {
28
- scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : ["https://cnt-prod.loadtesting.azure.com/.default"],
29
- } });
30
- const client = (0, core_client_1.getClient)(endpointUrl, credentials, options);
31
- client.pipeline.removePolicy({ name: "ApiVersionPolicy" });
32
- client.pipeline.addPolicy({
33
- name: "ClientApiVersionPolicy",
34
- sendRequest: (req, next) => {
35
- // Use the apiVersion defined in request url directly
36
- // Append one if there is no apiVersion and we have one at client options
37
- const url = new URL(req.url);
38
- if (!url.searchParams.get("api-version") && apiVersion) {
39
- req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
40
- }
41
- return next(req);
42
- },
43
- });
44
- return client;
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var azureLoadTesting_exports = {};
19
+ __export(azureLoadTesting_exports, {
20
+ default: () => createClient
21
+ });
22
+ module.exports = __toCommonJS(azureLoadTesting_exports);
23
+ var import_core_client = require("@azure-rest/core-client");
24
+ var import_logger = require("./logger.js");
25
+ function createClient(endpointParam, credentials, { apiVersion = "2025-11-01-preview", ...options } = {}) {
26
+ const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://${endpointParam}`;
27
+ const userAgentInfo = `azsdk-js-load-testing-rest/1.2.0-beta.1`;
28
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` : `${userAgentInfo}`;
29
+ options = {
30
+ ...options,
31
+ userAgentOptions: {
32
+ userAgentPrefix
33
+ },
34
+ loggingOptions: {
35
+ logger: options.loggingOptions?.logger ?? import_logger.logger.info
36
+ },
37
+ credentials: {
38
+ scopes: options.credentials?.scopes ?? ["https://cnt-prod.loadtesting.azure.com/.default"]
39
+ }
40
+ };
41
+ const client = (0, import_core_client.getClient)(endpointUrl, credentials, options);
42
+ client.pipeline.removePolicy({ name: "ApiVersionPolicy" });
43
+ client.pipeline.addPolicy({
44
+ name: "ClientApiVersionPolicy",
45
+ sendRequest: (req, next) => {
46
+ const url = new URL(req.url);
47
+ if (!url.searchParams.get("api-version") && apiVersion) {
48
+ req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
49
+ }
50
+ return next(req);
51
+ }
52
+ });
53
+ return client;
45
54
  }
46
- //# sourceMappingURL=azureLoadTesting.js.map