@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
@@ -4,15 +4,18 @@
4
4
 
5
5
  ```ts
6
6
 
7
+ import type { AbortSignalLike } from '@azure/abort-controller';
8
+ import type { CancelOnProgress } from '@azure/core-lro';
7
9
  import type { Client } from '@azure-rest/core-client';
8
10
  import type { ClientOptions } from '@azure-rest/core-client';
11
+ import type { CreateHttpPollerOptions } from '@azure/core-lro';
12
+ import type { ErrorModel } from '@azure-rest/core-client';
9
13
  import type { ErrorResponse } from '@azure-rest/core-client';
10
14
  import type { HttpResponse } from '@azure-rest/core-client';
11
- import type { OperationState } from '@azure/core-lro';
15
+ import type { OperationState as OperationState_2 } from '@azure/core-lro';
12
16
  import type { PathUncheckedResponse } from '@azure-rest/core-client';
13
17
  import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
14
18
  import type { RequestParameters } from '@azure-rest/core-client';
15
- import type { SimplePollerLike } from '@azure/core-lro';
16
19
  import type { StreamableMethod } from '@azure-rest/core-client';
17
20
  import type { TokenCredential } from '@azure/core-auth';
18
21
 
@@ -55,6 +58,7 @@ export interface AutoStopCriteria {
55
58
  autoStopDisabled?: boolean;
56
59
  errorRate?: number;
57
60
  errorRateTimeWindowInSeconds?: number;
61
+ maximumVirtualUsersPerEngine?: number;
58
62
  }
59
63
 
60
64
  // @public
@@ -62,6 +66,7 @@ export interface AutoStopCriteriaOutput {
62
66
  autoStopDisabled?: boolean;
63
67
  errorRate?: number;
64
68
  errorRateTimeWindowInSeconds?: number;
69
+ maximumVirtualUsersPerEngine?: number;
65
70
  }
66
71
 
67
72
  // @public (undocumented)
@@ -95,7 +100,14 @@ export type CertificateType = string;
95
100
  export type CertificateTypeOutput = string;
96
101
 
97
102
  // @public
98
- function createClient(endpointParam: string, credentials: TokenCredential, { apiVersion, ...options }?: AzureLoadTestingClientOptions): AzureLoadTestingClient;
103
+ export interface CloneTestRequest {
104
+ description?: string;
105
+ displayName?: string;
106
+ newTestId: string;
107
+ }
108
+
109
+ // @public
110
+ function createClient(endpointParam: string, credentials: TokenCredential, input?: AzureLoadTestingClientOptions): AzureLoadTestingClient;
99
111
  export default createClient;
100
112
 
101
113
  // @public
@@ -141,7 +153,9 @@ export interface ErrorDetails {
141
153
 
142
154
  // @public
143
155
  export interface ErrorDetailsOutput {
156
+ readonly code?: string;
144
157
  readonly message?: string;
158
+ readonly properties?: Record<string, string[]>;
145
159
  }
146
160
 
147
161
  // @public
@@ -151,7 +165,7 @@ export type FileType = string;
151
165
  export type FileTypeOutput = string;
152
166
 
153
167
  // @public
154
- export type FileUploadAndValidatePoller = SimplePollerLike<OperationState<LoadTestAdministrationGetTestFile200Response>, LoadTestAdministrationGetTestFile200Response>;
168
+ export type FileUploadAndValidatePoller = SimplePollerLike<OperationState_2<LoadTestAdministrationGetTestFile200Response>, LoadTestAdministrationGetTestFile200Response>;
155
169
 
156
170
  // @public
157
171
  export type FileValidationStatus = string;
@@ -192,14 +206,23 @@ export interface FunctionFlexConsumptionTargetResourceConfigurationsOutput exten
192
206
  // @public
193
207
  export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
194
208
 
209
+ // @public
210
+ export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<FileUploadAndValidatePoller>;
211
+
212
+ // @public (undocumented)
213
+ export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestRunCompletionPoller>;
214
+
195
215
  // @public (undocumented)
196
- export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse): Promise<FileUploadAndValidatePoller>;
216
+ export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse, polledOperationOptions?: PolledOperationOptions): Promise<TestProfileRunCompletionPoller>;
197
217
 
198
218
  // @public (undocumented)
199
- export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>;
219
+ export function getLongRunningPoller<TResult extends LoadTestAdministrationCloneTestLogicalResponse | LoadTestAdministrationCloneTestDefaultResponse>(client: Client, initialResponse: LoadTestAdministrationCloneTest202Response | LoadTestAdministrationCloneTestDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState_2<TResult>>): Promise<SimplePollerLike<OperationState_2<TResult>, TResult>>;
200
220
 
201
221
  // @public (undocumented)
202
- export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestProfileRunCreateOrUpdateSuccessResponse): Promise<TestProfileRunCompletionPoller>;
222
+ export function getLongRunningPoller<TResult extends LoadTestAdministrationGenerateTestPlanRecommendationsLogicalResponse | LoadTestAdministrationGenerateTestPlanRecommendationsDefaultResponse>(client: Client, initialResponse: LoadTestAdministrationGenerateTestPlanRecommendations202Response | LoadTestAdministrationGenerateTestPlanRecommendationsDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState_2<TResult>>): Promise<SimplePollerLike<OperationState_2<TResult>, TResult>>;
223
+
224
+ // @public (undocumented)
225
+ export function getLongRunningPoller<TResult extends LoadTestRunGenerateInsightsLogicalResponse | LoadTestRunGenerateInsightsDefaultResponse>(client: Client, initialResponse: LoadTestRunGenerateInsights202Response | LoadTestRunGenerateInsightsDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState_2<TResult>>): Promise<SimplePollerLike<OperationState_2<TResult>, TResult>>;
203
226
 
204
227
  // @public
205
228
  export type GetPage<TPage> = (pageLink: string) => Promise<{
@@ -219,6 +242,9 @@ export interface HourlyRecurrenceOutput extends RecurrenceOutputParent {
219
242
  interval: number;
220
243
  }
221
244
 
245
+ // @public (undocumented)
246
+ export function isUnexpected(response: OperationsGetStatus200Response | OperationsGetStatusDefaultResponse): response is OperationsGetStatusDefaultResponse;
247
+
222
248
  // @public (undocumented)
223
249
  export function isUnexpected(response: LoadTestAdministrationCreateOrUpdateTest200Response | LoadTestAdministrationCreateOrUpdateTest201Response | LoadTestAdministrationCreateOrUpdateTestDefaultResponse): response is LoadTestAdministrationCreateOrUpdateTestDefaultResponse;
224
250
 
@@ -231,6 +257,12 @@ export function isUnexpected(response: LoadTestAdministrationGetTest200Response
231
257
  // @public (undocumented)
232
258
  export function isUnexpected(response: LoadTestAdministrationListTests200Response | LoadTestAdministrationListTestsDefaultResponse): response is LoadTestAdministrationListTestsDefaultResponse;
233
259
 
260
+ // @public (undocumented)
261
+ export function isUnexpected(response: LoadTestAdministrationCloneTest202Response | LoadTestAdministrationCloneTestLogicalResponse | LoadTestAdministrationCloneTestDefaultResponse): response is LoadTestAdministrationCloneTestDefaultResponse;
262
+
263
+ // @public (undocumented)
264
+ export function isUnexpected(response: LoadTestAdministrationGenerateTestPlanRecommendations202Response | LoadTestAdministrationGenerateTestPlanRecommendationsLogicalResponse | LoadTestAdministrationGenerateTestPlanRecommendationsDefaultResponse): response is LoadTestAdministrationGenerateTestPlanRecommendationsDefaultResponse;
265
+
234
266
  // @public (undocumented)
235
267
  export function isUnexpected(response: LoadTestAdministrationUploadTestFile201Response | LoadTestAdministrationUploadTestFileDefaultResponse): response is LoadTestAdministrationUploadTestFileDefaultResponse;
236
268
 
@@ -267,6 +299,30 @@ export function isUnexpected(response: TestProfileAdministrationGetTestProfile20
267
299
  // @public (undocumented)
268
300
  export function isUnexpected(response: TestProfileAdministrationListTestProfiles200Response | TestProfileAdministrationListTestProfilesDefaultResponse): response is TestProfileAdministrationListTestProfilesDefaultResponse;
269
301
 
302
+ // @public (undocumented)
303
+ export function isUnexpected(response: TriggerAdministrationGetTrigger200Response | TriggerAdministrationGetTriggerDefaultResponse): response is TriggerAdministrationGetTriggerDefaultResponse;
304
+
305
+ // @public (undocumented)
306
+ export function isUnexpected(response: TriggerAdministrationCreateOrUpdateTrigger200Response | TriggerAdministrationCreateOrUpdateTrigger201Response | TriggerAdministrationCreateOrUpdateTriggerDefaultResponse): response is TriggerAdministrationCreateOrUpdateTriggerDefaultResponse;
307
+
308
+ // @public (undocumented)
309
+ export function isUnexpected(response: TriggerAdministrationDeleteTrigger204Response | TriggerAdministrationDeleteTriggerDefaultResponse): response is TriggerAdministrationDeleteTriggerDefaultResponse;
310
+
311
+ // @public (undocumented)
312
+ export function isUnexpected(response: TriggerAdministrationListTrigger200Response | TriggerAdministrationListTriggerDefaultResponse): response is TriggerAdministrationListTriggerDefaultResponse;
313
+
314
+ // @public (undocumented)
315
+ export function isUnexpected(response: NotificationRuleAdministrationGetNotificationRule200Response | NotificationRuleAdministrationGetNotificationRuleDefaultResponse): response is NotificationRuleAdministrationGetNotificationRuleDefaultResponse;
316
+
317
+ // @public (undocumented)
318
+ export function isUnexpected(response: NotificationRuleAdministrationCreateOrUpdateNotificationRule200Response | NotificationRuleAdministrationCreateOrUpdateNotificationRule201Response | NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultResponse): response is NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultResponse;
319
+
320
+ // @public (undocumented)
321
+ export function isUnexpected(response: NotificationRuleAdministrationDeleteNotificationRule204Response | NotificationRuleAdministrationDeleteNotificationRuleDefaultResponse): response is NotificationRuleAdministrationDeleteNotificationRuleDefaultResponse;
322
+
323
+ // @public (undocumented)
324
+ export function isUnexpected(response: NotificationRuleAdministrationListNotificationRule200Response | NotificationRuleAdministrationListNotificationRuleDefaultResponse): response is NotificationRuleAdministrationListNotificationRuleDefaultResponse;
325
+
270
326
  // @public (undocumented)
271
327
  export function isUnexpected(response: LoadTestRunGetTestRun200Response | LoadTestRunGetTestRunDefaultResponse): response is LoadTestRunGetTestRunDefaultResponse;
272
328
 
@@ -285,6 +341,15 @@ export function isUnexpected(response: LoadTestRunGetTestRunFile200Response | Lo
285
341
  // @public (undocumented)
286
342
  export function isUnexpected(response: LoadTestRunStop200Response | LoadTestRunStopDefaultResponse): response is LoadTestRunStopDefaultResponse;
287
343
 
344
+ // @public (undocumented)
345
+ export function isUnexpected(response: LoadTestRunGetLatestInsights200Response | LoadTestRunGetLatestInsightsDefaultResponse): response is LoadTestRunGetLatestInsightsDefaultResponse;
346
+
347
+ // @public (undocumented)
348
+ export function isUnexpected(response: LoadTestRunUpdateLatestInsights200Response | LoadTestRunUpdateLatestInsightsDefaultResponse): response is LoadTestRunUpdateLatestInsightsDefaultResponse;
349
+
350
+ // @public (undocumented)
351
+ export function isUnexpected(response: LoadTestRunGenerateInsights202Response | LoadTestRunGenerateInsightsLogicalResponse | LoadTestRunGenerateInsightsDefaultResponse): response is LoadTestRunGenerateInsightsDefaultResponse;
352
+
288
353
  // @public (undocumented)
289
354
  export function isUnexpected(response: LoadTestRunListMetricNamespaces200Response | LoadTestRunListMetricNamespacesDefaultResponse): response is LoadTestRunListMetricNamespacesDefaultResponse;
290
355
 
@@ -325,28 +390,56 @@ export function isUnexpected(response: TestProfileRunAdministrationStop200Respon
325
390
  export function isUnexpected(response: TestProfileRunAdministrationListTestProfileRuns200Response | TestProfileRunAdministrationListTestProfileRunsDefaultResponse): response is TestProfileRunAdministrationListTestProfileRunsDefaultResponse;
326
391
 
327
392
  // @public (undocumented)
328
- export function isUnexpected(response: TriggerAdministrationGetTrigger200Response | TriggerAdministrationGetTriggerDefaultResponse): response is TriggerAdministrationGetTriggerDefaultResponse;
393
+ export interface LoadTestAdministrationCloneTest {
394
+ post(options: LoadTestAdministrationCloneTestParameters): StreamableMethod<LoadTestAdministrationCloneTest202Response | LoadTestAdministrationCloneTestDefaultResponse>;
395
+ }
329
396
 
330
397
  // @public (undocumented)
331
- export function isUnexpected(response: TriggerAdministrationCreateOrUpdateTrigger200Response | TriggerAdministrationCreateOrUpdateTrigger201Response | TriggerAdministrationCreateOrUpdateTriggerDefaultResponse): response is TriggerAdministrationCreateOrUpdateTriggerDefaultResponse;
398
+ export interface LoadTestAdministrationCloneTest202Headers {
399
+ "operation-location": string;
400
+ }
332
401
 
333
- // @public (undocumented)
334
- export function isUnexpected(response: TriggerAdministrationDeleteTrigger204Response | TriggerAdministrationDeleteTriggerDefaultResponse): response is TriggerAdministrationDeleteTriggerDefaultResponse;
402
+ // @public
403
+ export interface LoadTestAdministrationCloneTest202Response extends HttpResponse {
404
+ // (undocumented)
405
+ body: ResourceOperationStatusTestErrorOutput;
406
+ // (undocumented)
407
+ headers: RawHttpHeaders & LoadTestAdministrationCloneTest202Headers;
408
+ // (undocumented)
409
+ status: "202";
410
+ }
335
411
 
336
412
  // @public (undocumented)
337
- export function isUnexpected(response: TriggerAdministrationListTrigger200Response | TriggerAdministrationListTriggerDefaultResponse): response is TriggerAdministrationListTriggerDefaultResponse;
413
+ export interface LoadTestAdministrationCloneTestBodyParam {
414
+ // (undocumented)
415
+ body: CloneTestRequest;
416
+ }
338
417
 
339
418
  // @public (undocumented)
340
- export function isUnexpected(response: NotificationRuleAdministrationGetNotificationRule200Response | NotificationRuleAdministrationGetNotificationRuleDefaultResponse): response is NotificationRuleAdministrationGetNotificationRuleDefaultResponse;
419
+ export interface LoadTestAdministrationCloneTestDefaultHeaders {
420
+ "x-ms-error-code"?: string;
421
+ }
341
422
 
342
423
  // @public (undocumented)
343
- export function isUnexpected(response: NotificationRuleAdministrationCreateOrUpdateNotificationRule200Response | NotificationRuleAdministrationCreateOrUpdateNotificationRule201Response | NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultResponse): response is NotificationRuleAdministrationCreateOrUpdateNotificationRuleDefaultResponse;
424
+ export interface LoadTestAdministrationCloneTestDefaultResponse extends HttpResponse {
425
+ // (undocumented)
426
+ body: ErrorResponse;
427
+ // (undocumented)
428
+ headers: RawHttpHeaders & LoadTestAdministrationCloneTestDefaultHeaders;
429
+ // (undocumented)
430
+ status: string;
431
+ }
344
432
 
345
- // @public (undocumented)
346
- export function isUnexpected(response: NotificationRuleAdministrationDeleteNotificationRule204Response | NotificationRuleAdministrationDeleteNotificationRuleDefaultResponse): response is NotificationRuleAdministrationDeleteNotificationRuleDefaultResponse;
433
+ // @public
434
+ export interface LoadTestAdministrationCloneTestLogicalResponse extends HttpResponse {
435
+ // (undocumented)
436
+ body: ResourceOperationStatusTestErrorOutput;
437
+ // (undocumented)
438
+ status: "200";
439
+ }
347
440
 
348
441
  // @public (undocumented)
349
- export function isUnexpected(response: NotificationRuleAdministrationListNotificationRule200Response | NotificationRuleAdministrationListNotificationRuleDefaultResponse): response is NotificationRuleAdministrationListNotificationRuleDefaultResponse;
442
+ export type LoadTestAdministrationCloneTestParameters = LoadTestAdministrationCloneTestBodyParam & RequestParameters;
350
443
 
351
444
  // @public (undocumented)
352
445
  export interface LoadTestAdministrationCreateOrUpdateAppComponents {
@@ -547,6 +640,52 @@ export type LoadTestAdministrationDeleteTestFileParameters = RequestParameters;
547
640
  // @public (undocumented)
548
641
  export type LoadTestAdministrationDeleteTestParameters = RequestParameters;
549
642
 
643
+ // @public (undocumented)
644
+ export interface LoadTestAdministrationGenerateTestPlanRecommendations {
645
+ post(options?: LoadTestAdministrationGenerateTestPlanRecommendationsParameters): StreamableMethod<LoadTestAdministrationGenerateTestPlanRecommendations202Response | LoadTestAdministrationGenerateTestPlanRecommendationsDefaultResponse>;
646
+ }
647
+
648
+ // @public (undocumented)
649
+ export interface LoadTestAdministrationGenerateTestPlanRecommendations202Headers {
650
+ "operation-location": string;
651
+ }
652
+
653
+ // @public
654
+ export interface LoadTestAdministrationGenerateTestPlanRecommendations202Response extends HttpResponse {
655
+ // (undocumented)
656
+ body: ResourceOperationStatusTestErrorOutput;
657
+ // (undocumented)
658
+ headers: RawHttpHeaders & LoadTestAdministrationGenerateTestPlanRecommendations202Headers;
659
+ // (undocumented)
660
+ status: "202";
661
+ }
662
+
663
+ // @public (undocumented)
664
+ export interface LoadTestAdministrationGenerateTestPlanRecommendationsDefaultHeaders {
665
+ "x-ms-error-code"?: string;
666
+ }
667
+
668
+ // @public (undocumented)
669
+ export interface LoadTestAdministrationGenerateTestPlanRecommendationsDefaultResponse extends HttpResponse {
670
+ // (undocumented)
671
+ body: ErrorResponse;
672
+ // (undocumented)
673
+ headers: RawHttpHeaders & LoadTestAdministrationGenerateTestPlanRecommendationsDefaultHeaders;
674
+ // (undocumented)
675
+ status: string;
676
+ }
677
+
678
+ // @public
679
+ export interface LoadTestAdministrationGenerateTestPlanRecommendationsLogicalResponse extends HttpResponse {
680
+ // (undocumented)
681
+ body: ResourceOperationStatusTestErrorOutput;
682
+ // (undocumented)
683
+ status: "200";
684
+ }
685
+
686
+ // @public (undocumented)
687
+ export type LoadTestAdministrationGenerateTestPlanRecommendationsParameters = RequestParameters;
688
+
550
689
  // @public
551
690
  export interface LoadTestAdministrationGetAppComponents200Response extends HttpResponse {
552
691
  // (undocumented)
@@ -979,6 +1118,53 @@ export interface LoadTestRunDeleteTestRunDefaultResponse extends HttpResponse {
979
1118
  // @public (undocumented)
980
1119
  export type LoadTestRunDeleteTestRunParameters = RequestParameters;
981
1120
 
1121
+ // @public (undocumented)
1122
+ export interface LoadTestRunGenerateInsights {
1123
+ post(options?: LoadTestRunGenerateInsightsParameters): StreamableMethod<LoadTestRunGenerateInsights202Response | LoadTestRunGenerateInsightsDefaultResponse>;
1124
+ }
1125
+
1126
+ // @public (undocumented)
1127
+ export interface LoadTestRunGenerateInsights202Headers {
1128
+ // (undocumented)
1129
+ "operation-location": string;
1130
+ }
1131
+
1132
+ // @public
1133
+ export interface LoadTestRunGenerateInsights202Response extends HttpResponse {
1134
+ // (undocumented)
1135
+ body: OperationStatusOutput;
1136
+ // (undocumented)
1137
+ headers: RawHttpHeaders & LoadTestRunGenerateInsights202Headers;
1138
+ // (undocumented)
1139
+ status: "202";
1140
+ }
1141
+
1142
+ // @public (undocumented)
1143
+ export interface LoadTestRunGenerateInsightsDefaultHeaders {
1144
+ "x-ms-error-code"?: string;
1145
+ }
1146
+
1147
+ // @public (undocumented)
1148
+ export interface LoadTestRunGenerateInsightsDefaultResponse extends HttpResponse {
1149
+ // (undocumented)
1150
+ body: ErrorResponse;
1151
+ // (undocumented)
1152
+ headers: RawHttpHeaders & LoadTestRunGenerateInsightsDefaultHeaders;
1153
+ // (undocumented)
1154
+ status: string;
1155
+ }
1156
+
1157
+ // @public
1158
+ export interface LoadTestRunGenerateInsightsLogicalResponse extends HttpResponse {
1159
+ // (undocumented)
1160
+ body: OperationStatusOutput;
1161
+ // (undocumented)
1162
+ status: "200";
1163
+ }
1164
+
1165
+ // @public (undocumented)
1166
+ export type LoadTestRunGenerateInsightsParameters = RequestParameters;
1167
+
982
1168
  // @public
983
1169
  export interface LoadTestRunGetAppComponents200Response extends HttpResponse {
984
1170
  // (undocumented)
@@ -1005,6 +1191,38 @@ export interface LoadTestRunGetAppComponentsDefaultResponse extends HttpResponse
1005
1191
  // @public (undocumented)
1006
1192
  export type LoadTestRunGetAppComponentsParameters = RequestParameters;
1007
1193
 
1194
+ // @public (undocumented)
1195
+ export interface LoadTestRunGetLatestInsights {
1196
+ get(options?: LoadTestRunGetLatestInsightsParameters): StreamableMethod<LoadTestRunGetLatestInsights200Response | LoadTestRunGetLatestInsightsDefaultResponse>;
1197
+ patch(options: LoadTestRunUpdateLatestInsightsParameters): StreamableMethod<LoadTestRunUpdateLatestInsights200Response | LoadTestRunUpdateLatestInsightsDefaultResponse>;
1198
+ }
1199
+
1200
+ // @public
1201
+ export interface LoadTestRunGetLatestInsights200Response extends HttpResponse {
1202
+ // (undocumented)
1203
+ body: TestRunInsightsOutput;
1204
+ // (undocumented)
1205
+ status: "200";
1206
+ }
1207
+
1208
+ // @public (undocumented)
1209
+ export interface LoadTestRunGetLatestInsightsDefaultHeaders {
1210
+ "x-ms-error-code"?: string;
1211
+ }
1212
+
1213
+ // @public (undocumented)
1214
+ export interface LoadTestRunGetLatestInsightsDefaultResponse extends HttpResponse {
1215
+ // (undocumented)
1216
+ body: ErrorResponse;
1217
+ // (undocumented)
1218
+ headers: RawHttpHeaders & LoadTestRunGetLatestInsightsDefaultHeaders;
1219
+ // (undocumented)
1220
+ status: string;
1221
+ }
1222
+
1223
+ // @public (undocumented)
1224
+ export type LoadTestRunGetLatestInsightsParameters = RequestParameters;
1225
+
1008
1226
  // @public
1009
1227
  export interface LoadTestRunGetServerMetricsConfig200Response extends HttpResponse {
1010
1228
  // (undocumented)
@@ -1277,6 +1495,13 @@ export interface LoadTestRunListTestRuns200Response extends HttpResponse {
1277
1495
  status: "200";
1278
1496
  }
1279
1497
 
1498
+ // @public
1499
+ export interface LoadTestRunListTestRunsCreatedByTypesQueryParam {
1500
+ explode: false;
1501
+ style: "form";
1502
+ value: string[];
1503
+ }
1504
+
1280
1505
  // @public (undocumented)
1281
1506
  export interface LoadTestRunListTestRunsDefaultHeaders {
1282
1507
  "x-ms-error-code"?: string;
@@ -1303,6 +1528,7 @@ export interface LoadTestRunListTestRunsQueryParam {
1303
1528
 
1304
1529
  // @public (undocumented)
1305
1530
  export interface LoadTestRunListTestRunsQueryParamProperties {
1531
+ createdByTypes?: string[] | LoadTestRunListTestRunsCreatedByTypesQueryParam;
1306
1532
  executionFrom?: Date | string;
1307
1533
  executionTo?: Date | string;
1308
1534
  maxpagesize?: number;
@@ -1310,6 +1536,14 @@ export interface LoadTestRunListTestRunsQueryParamProperties {
1310
1536
  search?: string;
1311
1537
  status?: string;
1312
1538
  testId?: string;
1539
+ testIds?: string[] | LoadTestRunListTestRunsTestIdsQueryParam;
1540
+ }
1541
+
1542
+ // @public
1543
+ export interface LoadTestRunListTestRunsTestIdsQueryParam {
1544
+ explode: false;
1545
+ style: "form";
1546
+ value: string[];
1313
1547
  }
1314
1548
 
1315
1549
  // @public (undocumented)
@@ -1343,6 +1577,42 @@ export interface LoadTestRunStopDefaultResponse extends HttpResponse {
1343
1577
  // @public (undocumented)
1344
1578
  export type LoadTestRunStopParameters = RequestParameters;
1345
1579
 
1580
+ // @public
1581
+ export interface LoadTestRunUpdateLatestInsights200Response extends HttpResponse {
1582
+ // (undocumented)
1583
+ body: TestRunInsightsOutput;
1584
+ // (undocumented)
1585
+ status: "200";
1586
+ }
1587
+
1588
+ // @public (undocumented)
1589
+ export interface LoadTestRunUpdateLatestInsightsBodyParam {
1590
+ body: TestRunInsightsResourceMergeAndPatch;
1591
+ }
1592
+
1593
+ // @public (undocumented)
1594
+ export interface LoadTestRunUpdateLatestInsightsDefaultHeaders {
1595
+ "x-ms-error-code"?: string;
1596
+ }
1597
+
1598
+ // @public (undocumented)
1599
+ export interface LoadTestRunUpdateLatestInsightsDefaultResponse extends HttpResponse {
1600
+ // (undocumented)
1601
+ body: ErrorResponse;
1602
+ // (undocumented)
1603
+ headers: RawHttpHeaders & LoadTestRunUpdateLatestInsightsDefaultHeaders;
1604
+ // (undocumented)
1605
+ status: string;
1606
+ }
1607
+
1608
+ // @public (undocumented)
1609
+ export interface LoadTestRunUpdateLatestInsightsMediaTypesParam {
1610
+ contentType: "application/merge-patch+json";
1611
+ }
1612
+
1613
+ // @public (undocumented)
1614
+ export type LoadTestRunUpdateLatestInsightsParameters = LoadTestRunUpdateLatestInsightsMediaTypesParam & LoadTestRunUpdateLatestInsightsBodyParam & RequestParameters;
1615
+
1346
1616
  // @public
1347
1617
  export type ManagedIdentityType = string;
1348
1618
 
@@ -1627,6 +1897,54 @@ export type NotificationScopeType = string;
1627
1897
  // @public
1628
1898
  export type NotificationScopeTypeOutput = string;
1629
1899
 
1900
+ // @public
1901
+ export type OperationKindOutput = string;
1902
+
1903
+ // @public (undocumented)
1904
+ export interface OperationsGetStatus {
1905
+ get(options?: OperationsGetStatusParameters): StreamableMethod<OperationsGetStatus200Response | OperationsGetStatusDefaultResponse>;
1906
+ }
1907
+
1908
+ // @public
1909
+ export interface OperationsGetStatus200Response extends HttpResponse {
1910
+ // (undocumented)
1911
+ body: OperationStatusOutput;
1912
+ // (undocumented)
1913
+ status: "200";
1914
+ }
1915
+
1916
+ // @public (undocumented)
1917
+ export interface OperationsGetStatusDefaultHeaders {
1918
+ "x-ms-error-code"?: string;
1919
+ }
1920
+
1921
+ // @public (undocumented)
1922
+ export interface OperationsGetStatusDefaultResponse extends HttpResponse {
1923
+ // (undocumented)
1924
+ body: ErrorResponse;
1925
+ // (undocumented)
1926
+ headers: RawHttpHeaders & OperationsGetStatusDefaultHeaders;
1927
+ // (undocumented)
1928
+ status: string;
1929
+ }
1930
+
1931
+ // @public (undocumented)
1932
+ export type OperationsGetStatusParameters = RequestParameters;
1933
+
1934
+ // @public
1935
+ export type OperationState = string;
1936
+
1937
+ // @public
1938
+ export type OperationStateOutput = string;
1939
+
1940
+ // @public
1941
+ export interface OperationStatusOutput {
1942
+ error?: ErrorModel;
1943
+ readonly id: string;
1944
+ kind: OperationKindOutput;
1945
+ status: OperationStateOutput;
1946
+ }
1947
+
1630
1948
  // @public
1631
1949
  export interface OptionalLoadTestConfiguration {
1632
1950
  duration?: number;
@@ -1918,20 +2236,36 @@ export interface ResourceMetricOutput {
1918
2236
  unit?: string;
1919
2237
  }
1920
2238
 
2239
+ // @public
2240
+ export interface ResourceOperationStatusTestErrorOutput {
2241
+ error?: ErrorModel;
2242
+ id: string;
2243
+ status: OperationStateOutput;
2244
+ }
2245
+
1921
2246
  // @public (undocumented)
1922
2247
  export interface Routes {
2248
+ (path: "/operations/{operationId}", operationId: string): OperationsGetStatus;
1923
2249
  (path: "/tests/{testId}", testId: string): LoadTestAdministrationCreateOrUpdateTest;
1924
2250
  (path: "/tests"): LoadTestAdministrationListTests;
2251
+ (path: "/tests/{testId}:clone", testId: string): LoadTestAdministrationCloneTest;
2252
+ (path: "/tests/{testId}:generateTestPlanRecommendations", testId: string): LoadTestAdministrationGenerateTestPlanRecommendations;
1925
2253
  (path: "/tests/{testId}/files/{fileName}", testId: string, fileName: string): LoadTestAdministrationUploadTestFile;
1926
2254
  (path: "/tests/{testId}/files", testId: string): LoadTestAdministrationListTestFiles;
1927
2255
  (path: "/tests/{testId}/app-components", testId: string): LoadTestAdministrationCreateOrUpdateAppComponents;
1928
2256
  (path: "/tests/{testId}/server-metrics-config", testId: string): LoadTestAdministrationCreateOrUpdateServerMetricsConfig;
1929
2257
  (path: "/test-profiles/{testProfileId}", testProfileId: string): TestProfileAdministrationCreateOrUpdateTestProfile;
1930
2258
  (path: "/test-profiles"): TestProfileAdministrationListTestProfiles;
2259
+ (path: "/triggers/{triggerId}", triggerId: string): TriggerAdministrationGetTrigger;
2260
+ (path: "/triggers"): TriggerAdministrationListTrigger;
2261
+ (path: "/notification-rules/{notificationRuleId}", notificationRuleId: string): NotificationRuleAdministrationGetNotificationRule;
2262
+ (path: "/notification-rules"): NotificationRuleAdministrationListNotificationRule;
1931
2263
  (path: "/test-runs/{testRunId}", testRunId: string): LoadTestRunGetTestRun;
1932
2264
  (path: "/test-runs"): LoadTestRunListTestRuns;
1933
2265
  (path: "/test-runs/{testRunId}/files/{fileName}", testRunId: string, fileName: string): LoadTestRunGetTestRunFile;
1934
2266
  (path: "/test-runs/{testRunId}:stop", testRunId: string): LoadTestRunStop;
2267
+ (path: "/test-runs/{testRunId}/insights/latest", testRunId: string): LoadTestRunGetLatestInsights;
2268
+ (path: "/test-runs/{testRunId}/insights:generate", testRunId: string): LoadTestRunGenerateInsights;
1935
2269
  (path: "/test-runs/{testRunId}/metric-namespaces", testRunId: string): LoadTestRunListMetricNamespaces;
1936
2270
  (path: "/test-runs/{testRunId}/metric-definitions", testRunId: string): LoadTestRunListMetricDefinitions;
1937
2271
  (path: "/test-runs/{testRunId}/metrics", testRunId: string): LoadTestRunListMetrics;
@@ -1941,10 +2275,6 @@ export interface Routes {
1941
2275
  (path: "/test-profile-runs/{testProfileRunId}", testProfileRunId: string): TestProfileRunAdministrationGetTestProfileRun;
1942
2276
  (path: "/test-profile-runs/{testProfileRunId}:stop", testProfileRunId: string): TestProfileRunAdministrationStop;
1943
2277
  (path: "/test-profile-runs"): TestProfileRunAdministrationListTestProfileRuns;
1944
- (path: "/triggers/{triggerId}", triggerId: string): TriggerAdministrationGetTrigger;
1945
- (path: "/triggers"): TriggerAdministrationListTrigger;
1946
- (path: "/notification-rules/{notificationRuleId}", notificationRuleId: string): NotificationRuleAdministrationGetNotificationRule;
1947
- (path: "/notification-rules"): NotificationRuleAdministrationListNotificationRule;
1948
2278
  }
1949
2279
 
1950
2280
  // @public
@@ -1983,6 +2313,28 @@ export type SecretType = string;
1983
2313
  // @public
1984
2314
  export type SecretTypeOutput = string;
1985
2315
 
2316
+ // @public
2317
+ export interface SimplePollerLike<TState extends OperationState_2<TResult>, TResult> {
2318
+ getOperationState(): TState;
2319
+ getResult(): TResult | undefined;
2320
+ isDone(): boolean;
2321
+ // @deprecated
2322
+ isStopped(): boolean;
2323
+ onProgress(callback: (state: TState) => void): CancelOnProgress;
2324
+ poll(options?: {
2325
+ abortSignal?: AbortSignalLike;
2326
+ }): Promise<TState>;
2327
+ pollUntilDone(pollOptions?: {
2328
+ abortSignal?: AbortSignalLike;
2329
+ }): Promise<TResult>;
2330
+ serialize(): Promise<string>;
2331
+ // @deprecated
2332
+ stopPolling(): void;
2333
+ submitted(): Promise<void>;
2334
+ // @deprecated
2335
+ toString(): string;
2336
+ }
2337
+
1986
2338
  // @public
1987
2339
  export interface StateDetails {
1988
2340
  message?: string;
@@ -2028,6 +2380,7 @@ export interface Test {
2028
2380
  metricsReferenceIdentityId?: string;
2029
2381
  metricsReferenceIdentityType?: ManagedIdentityType;
2030
2382
  passFailCriteria?: PassFailCriteria;
2383
+ preferences?: TestPreferences;
2031
2384
  publicIPDisabled?: boolean;
2032
2385
  secrets?: Record<string, Secret>;
2033
2386
  subnetId?: string;
@@ -2103,6 +2456,7 @@ export interface TestOutput {
2103
2456
  engineBuiltInIdentityIds?: string[];
2104
2457
  engineBuiltInIdentityType?: ManagedIdentityTypeOutput;
2105
2458
  environmentVariables?: Record<string, string>;
2459
+ readonly estimatedVirtualUserHours?: number;
2106
2460
  readonly inputArtifacts?: TestInputArtifactsOutput;
2107
2461
  keyvaultReferenceIdentityId?: string;
2108
2462
  keyvaultReferenceIdentityType?: string;
@@ -2113,12 +2467,23 @@ export interface TestOutput {
2113
2467
  metricsReferenceIdentityId?: string;
2114
2468
  metricsReferenceIdentityType?: ManagedIdentityTypeOutput;
2115
2469
  passFailCriteria?: PassFailCriteriaOutput;
2470
+ preferences?: TestPreferencesOutput;
2116
2471
  publicIPDisabled?: boolean;
2117
2472
  secrets?: Record<string, SecretOutput>;
2118
2473
  subnetId?: string;
2119
2474
  readonly testId: string;
2120
2475
  }
2121
2476
 
2477
+ // @public
2478
+ export interface TestPreferences {
2479
+ enableAIErrorInsights?: boolean;
2480
+ }
2481
+
2482
+ // @public
2483
+ export interface TestPreferencesOutput {
2484
+ enableAIErrorInsights?: boolean;
2485
+ }
2486
+
2122
2487
  // @public
2123
2488
  export interface TestProfile {
2124
2489
  description?: string;
@@ -2518,7 +2883,7 @@ export interface TestProfileRunAdministrationStopDefaultResponse extends HttpRes
2518
2883
  export type TestProfileRunAdministrationStopParameters = RequestParameters;
2519
2884
 
2520
2885
  // @public
2521
- export type TestProfileRunCompletionPoller = SimplePollerLike<OperationState<TestProfileRunAdministrationGetTestProfileRun200Response>, TestProfileRunAdministrationGetTestProfileRun200Response>;
2886
+ export type TestProfileRunCompletionPoller = SimplePollerLike<OperationState_2<TestProfileRunAdministrationGetTestProfileRun200Response>, TestProfileRunAdministrationGetTestProfileRun200Response>;
2522
2887
 
2523
2888
  // @public (undocumented)
2524
2889
  export type TestProfileRunCreateOrUpdateSuccessResponse = TestProfileRunAdministrationCreateOrUpdateTestProfileRun200Response | TestProfileRunAdministrationCreateOrUpdateTestProfileRun201Response;
@@ -2613,7 +2978,7 @@ export interface TestRunArtifactsOutput {
2613
2978
  }
2614
2979
 
2615
2980
  // @public
2616
- export type TestRunCompletionPoller = SimplePollerLike<OperationState<LoadTestRunGetTestRun200Response>, LoadTestRunGetTestRun200Response>;
2981
+ export type TestRunCompletionPoller = SimplePollerLike<OperationState_2<LoadTestRunGetTestRun200Response>, LoadTestRunGetTestRun200Response>;
2617
2982
 
2618
2983
  // @public (undocumented)
2619
2984
  export type TestRunCreateOrUpdateSuccessResponse = LoadTestRunCreateOrUpdateTestRun200Response | LoadTestRunCreateOrUpdateTestRun201Response;
@@ -2690,12 +3055,41 @@ export interface TestRunInputArtifactsOutput {
2690
3055
  userPropFileInfo?: TestRunFileInfoOutput;
2691
3056
  }
2692
3057
 
3058
+ // @public
3059
+ export interface TestRunInsightColumn {
3060
+ dataType: string;
3061
+ name: string;
3062
+ }
3063
+
3064
+ // @public
3065
+ export interface TestRunInsightColumnOutput {
3066
+ dataType: string;
3067
+ name: string;
3068
+ }
3069
+
3070
+ // @public
3071
+ export interface TestRunInsights {
3072
+ rows?: Record<string, Record<string, string>>;
3073
+ }
3074
+
3075
+ // @public
3076
+ export interface TestRunInsightsOutput {
3077
+ readonly columns?: Array<TestRunInsightColumnOutput>;
3078
+ rows?: Record<string, Record<string, string>>;
3079
+ readonly status?: OperationStateOutput;
3080
+ readonly version?: number;
3081
+ }
3082
+
3083
+ // @public
3084
+ export type TestRunInsightsResourceMergeAndPatch = Partial<TestRunInsights>;
3085
+
2693
3086
  // @public
2694
3087
  export interface TestRunOutput {
2695
3088
  autoStopCriteria?: AutoStopCriteriaOutput;
2696
3089
  certificate?: CertificateMetadataOutput;
2697
3090
  readonly createdBy?: string;
2698
3091
  createdByType?: CreatedByTypeOutput;
3092
+ readonly createdByUri?: string;
2699
3093
  readonly createdDateTime?: string;
2700
3094
  debugLogsEnabled?: boolean;
2701
3095
  description?: string;
@@ -2704,7 +3098,10 @@ export interface TestRunOutput {
2704
3098
  readonly endDateTime?: string;
2705
3099
  environmentVariables?: Record<string, string>;
2706
3100
  readonly errorDetails?: Array<ErrorDetailsOutput>;
3101
+ readonly estimatedVirtualUserHours?: number;
2707
3102
  readonly executedDateTime?: string;
3103
+ readonly executionEndDateTime?: string;
3104
+ readonly executionStartDateTime?: string;
2708
3105
  readonly kind?: TestKindOutput;
2709
3106
  readonly lastModifiedBy?: string;
2710
3107
  readonly lastModifiedDateTime?: string;