@azure-rest/load-testing 1.0.0-beta.1 → 1.0.0-beta.2
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.
- package/README.md +122 -28
- package/dist/index.js +15 -182
- package/dist/index.js.map +1 -1
- package/dist-esm/src/azureLoadTesting.js +13 -5
- package/dist-esm/src/azureLoadTesting.js.map +1 -1
- package/dist-esm/src/clientDefinitions.js +2 -1
- package/dist-esm/src/clientDefinitions.js.map +1 -1
- package/dist-esm/src/getFileValidationPoller.js +138 -0
- package/dist-esm/src/getFileValidationPoller.js.map +1 -0
- package/dist-esm/src/getTestRunCompletionPoller.js +121 -0
- package/dist-esm/src/getTestRunCompletionPoller.js.map +1 -0
- package/dist-esm/src/index.js +16 -10
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/isUnexpected.js +38 -30
- package/dist-esm/src/isUnexpected.js.map +1 -1
- package/dist-esm/src/models.js +2 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/outputModels.js +2 -1
- package/dist-esm/src/outputModels.js.map +1 -1
- package/dist-esm/src/paginateHelper.js +13 -8
- package/dist-esm/src/paginateHelper.js.map +1 -1
- package/dist-esm/src/parameters.js +2 -1
- package/dist-esm/src/parameters.js.map +1 -1
- package/dist-esm/src/pollingHelper.js +27 -0
- package/dist-esm/src/pollingHelper.js.map +1 -0
- package/dist-esm/src/responses.js +2 -1
- package/dist-esm/src/responses.js.map +1 -1
- package/dist-esm/src/util/LROUtil.js +49 -0
- package/dist-esm/src/util/LROUtil.js.map +1 -0
- package/package.json +42 -36
- package/review/load-testing.api.md +953 -783
- package/types/load-testing.d.ts +1233 -933
|
@@ -9,301 +9,139 @@
|
|
|
9
9
|
import { Client } from '@azure-rest/core-client';
|
|
10
10
|
import { ClientOptions } from '@azure-rest/core-client';
|
|
11
11
|
import { HttpResponse } from '@azure-rest/core-client';
|
|
12
|
+
import { OperationState } from '@azure/core-lro';
|
|
12
13
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
13
14
|
import { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
14
15
|
import { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
15
16
|
import { RequestParameters } from '@azure-rest/core-client';
|
|
17
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
16
18
|
import { StreamableMethod } from '@azure-rest/core-client';
|
|
17
19
|
import { TokenCredential } from '@azure/core-auth';
|
|
18
20
|
|
|
19
|
-
// @public
|
|
21
|
+
// @public
|
|
20
22
|
export interface AppComponent {
|
|
21
23
|
displayName?: string;
|
|
22
24
|
kind?: string;
|
|
23
25
|
resourceGroup?: string;
|
|
24
|
-
resourceId
|
|
25
|
-
resourceName
|
|
26
|
-
resourceType
|
|
26
|
+
resourceId?: string;
|
|
27
|
+
resourceName?: string;
|
|
28
|
+
resourceType?: string;
|
|
27
29
|
subscriptionId?: string;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
|
-
// @public (undocumented)
|
|
31
|
-
export interface AppComponentCreateOrUpdateAppComponents {
|
|
32
|
-
delete(options?: AppComponentDeleteAppComponentsParameters): StreamableMethod<AppComponentDeleteAppComponents204Response | AppComponentDeleteAppComponentsdefaultResponse>;
|
|
33
|
-
get(options?: AppComponentGetAppComponentByNameParameters): StreamableMethod<AppComponentGetAppComponentByName200Response | AppComponentGetAppComponentByNamedefaultResponse>;
|
|
34
|
-
patch(options: AppComponentCreateOrUpdateAppComponentsParameters): StreamableMethod<AppComponentCreateOrUpdateAppComponents200Response | AppComponentCreateOrUpdateAppComponents201Response | AppComponentCreateOrUpdateAppComponentsdefaultResponse>;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// @public
|
|
38
|
-
export interface AppComponentCreateOrUpdateAppComponents200Response extends HttpResponse {
|
|
39
|
-
// (undocumented)
|
|
40
|
-
body: AppComponentsMapOutput;
|
|
41
|
-
// (undocumented)
|
|
42
|
-
status: "200";
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// @public
|
|
46
|
-
export interface AppComponentCreateOrUpdateAppComponents201Response extends HttpResponse {
|
|
47
|
-
// (undocumented)
|
|
48
|
-
body: AppComponentsMapOutput;
|
|
49
|
-
// (undocumented)
|
|
50
|
-
status: "201";
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// @public (undocumented)
|
|
54
|
-
export interface AppComponentCreateOrUpdateAppComponentsBodyParam {
|
|
55
|
-
body: AppComponentsMap;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// @public (undocumented)
|
|
59
|
-
export interface AppComponentCreateOrUpdateAppComponentsdefaultHeaders {
|
|
60
|
-
"x-ms-error-code"?: string;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
32
|
// @public
|
|
64
|
-
export interface
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
// @public (undocumented)
|
|
74
|
-
export interface AppComponentCreateOrUpdateAppComponentsMediaTypesParam {
|
|
75
|
-
contentType?: "application/merge-patch+json";
|
|
33
|
+
export interface AppComponentOutput {
|
|
34
|
+
displayName?: string;
|
|
35
|
+
kind?: string;
|
|
36
|
+
resourceGroup?: string;
|
|
37
|
+
resourceId?: string;
|
|
38
|
+
resourceName?: string;
|
|
39
|
+
resourceType?: string;
|
|
40
|
+
subscriptionId?: string;
|
|
76
41
|
}
|
|
77
42
|
|
|
78
43
|
// @public (undocumented)
|
|
79
|
-
export type
|
|
44
|
+
export type AzureLoadTestingClient = Client & {
|
|
45
|
+
path: Routes;
|
|
46
|
+
};
|
|
80
47
|
|
|
81
48
|
// @public
|
|
82
|
-
export interface
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
status: "204";
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// @public (undocumented)
|
|
90
|
-
export interface AppComponentDeleteAppComponentsdefaultHeaders {
|
|
91
|
-
"x-ms-error-code"?: string;
|
|
49
|
+
export interface CertificateMetadata {
|
|
50
|
+
name?: string;
|
|
51
|
+
type?: "AKV_CERT_URI";
|
|
52
|
+
value?: string;
|
|
92
53
|
}
|
|
93
54
|
|
|
94
55
|
// @public
|
|
95
|
-
export interface
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
headers: RawHttpHeaders & AppComponentDeleteAppComponentsdefaultHeaders;
|
|
100
|
-
// (undocumented)
|
|
101
|
-
status: string;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// @public (undocumented)
|
|
105
|
-
export type AppComponentDeleteAppComponentsParameters = RequestParameters;
|
|
106
|
-
|
|
107
|
-
// @public (undocumented)
|
|
108
|
-
export interface AppComponentGetAppComponent {
|
|
109
|
-
get(options?: AppComponentGetAppComponentParameters): StreamableMethod<AppComponentGetAppComponent200Response | AppComponentGetAppComponentdefaultResponse>;
|
|
56
|
+
export interface CertificateMetadataOutput {
|
|
57
|
+
name?: string;
|
|
58
|
+
type?: "AKV_CERT_URI";
|
|
59
|
+
value?: string;
|
|
110
60
|
}
|
|
111
61
|
|
|
112
62
|
// @public
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
body: AppComponentsMapOutput;
|
|
116
|
-
// (undocumented)
|
|
117
|
-
status: "200";
|
|
118
|
-
}
|
|
63
|
+
function createClient(Endpoint: string, credentials: TokenCredential, options?: ClientOptions): AzureLoadTestingClient;
|
|
64
|
+
export default createClient;
|
|
119
65
|
|
|
120
66
|
// @public
|
|
121
|
-
export interface
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
// (undocumented)
|
|
125
|
-
status: "200";
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
// @public (undocumented)
|
|
129
|
-
export interface AppComponentGetAppComponentByNamedefaultHeaders {
|
|
130
|
-
"x-ms-error-code"?: string;
|
|
67
|
+
export interface DimensionFilter {
|
|
68
|
+
name?: string;
|
|
69
|
+
values?: Array<string>;
|
|
131
70
|
}
|
|
132
71
|
|
|
133
72
|
// @public
|
|
134
|
-
export interface
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
// (undocumented)
|
|
138
|
-
headers: RawHttpHeaders & AppComponentGetAppComponentByNamedefaultHeaders;
|
|
139
|
-
// (undocumented)
|
|
140
|
-
status: string;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// @public (undocumented)
|
|
144
|
-
export type AppComponentGetAppComponentByNameParameters = RequestParameters;
|
|
145
|
-
|
|
146
|
-
// @public (undocumented)
|
|
147
|
-
export interface AppComponentGetAppComponentdefaultHeaders {
|
|
148
|
-
"x-ms-error-code"?: string;
|
|
73
|
+
export interface DimensionValueListOutput {
|
|
74
|
+
nextLink?: string;
|
|
75
|
+
value?: Array<string>;
|
|
149
76
|
}
|
|
150
77
|
|
|
151
78
|
// @public
|
|
152
|
-
export interface
|
|
153
|
-
// (undocumented)
|
|
154
|
-
body: ErrorResponseBodyOutput;
|
|
155
|
-
// (undocumented)
|
|
156
|
-
headers: RawHttpHeaders & AppComponentGetAppComponentdefaultHeaders;
|
|
157
|
-
// (undocumented)
|
|
158
|
-
status: string;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// @public (undocumented)
|
|
162
|
-
export type AppComponentGetAppComponentParameters = AppComponentGetAppComponentQueryParam & RequestParameters;
|
|
163
|
-
|
|
164
|
-
// @public (undocumented)
|
|
165
|
-
export interface AppComponentGetAppComponentQueryParam {
|
|
166
|
-
// (undocumented)
|
|
167
|
-
queryParameters?: AppComponentGetAppComponentQueryParamProperties;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// @public (undocumented)
|
|
171
|
-
export interface AppComponentGetAppComponentQueryParamProperties {
|
|
172
|
-
testId?: string;
|
|
173
|
-
testRunId?: string;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
// @public (undocumented)
|
|
177
|
-
export interface AppComponentOutput {
|
|
178
|
-
displayName?: string;
|
|
179
|
-
kind?: string;
|
|
180
|
-
resourceGroup?: string;
|
|
181
|
-
resourceId: string;
|
|
182
|
-
resourceName: string;
|
|
183
|
-
resourceType: string;
|
|
184
|
-
subscriptionId?: string;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// @public (undocumented)
|
|
188
|
-
export interface AppComponentsMap {
|
|
189
|
-
name?: string;
|
|
190
|
-
resourceId?: string;
|
|
191
|
-
testId?: string;
|
|
192
|
-
testRunId?: string;
|
|
193
|
-
value: Record<string, AppComponent>;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// @public (undocumented)
|
|
197
|
-
export interface AppComponentsMapOutput {
|
|
79
|
+
export interface DimensionValueOutput {
|
|
198
80
|
name?: string;
|
|
199
|
-
|
|
200
|
-
testId?: string;
|
|
201
|
-
testRunId?: string;
|
|
202
|
-
value: Record<string, AppComponentOutput>;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
// @public (undocumented)
|
|
206
|
-
export type AzureLoadTestingClient = Client & {
|
|
207
|
-
path: Routes;
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
// @public (undocumented)
|
|
211
|
-
export interface ClientMetricsFiltersOutput {
|
|
212
|
-
// (undocumented)
|
|
213
|
-
filters?: FiltersOutput;
|
|
214
|
-
testRunId?: string;
|
|
215
|
-
// (undocumented)
|
|
216
|
-
timeRange?: TimeRangeOutput;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
// @public (undocumented)
|
|
220
|
-
export interface ClientMetricsRequestModel {
|
|
221
|
-
endTime: Date | string;
|
|
222
|
-
errors?: Array<string>;
|
|
223
|
-
groupByInterval?: string;
|
|
224
|
-
percentiles?: Array<string>;
|
|
225
|
-
requestSamplers?: Array<string>;
|
|
226
|
-
startTime: Date | string;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
// @public (undocumented)
|
|
230
|
-
export interface ClientMetricsResultsOutput {
|
|
231
|
-
testRunId?: string;
|
|
232
|
-
// (undocumented)
|
|
233
|
-
timeSeries?: SeriesOutput;
|
|
81
|
+
value?: string;
|
|
234
82
|
}
|
|
235
83
|
|
|
236
|
-
// @public
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
// @public (undocumented)
|
|
241
|
-
export interface DefaultServerMetricsConfigListModelOutput {
|
|
242
|
-
defaultMetrics?: Record<string, Array<DefaultServerMetricsConfigModelOutput>>;
|
|
84
|
+
// @public
|
|
85
|
+
export interface ErrorDetails {
|
|
86
|
+
message?: string;
|
|
243
87
|
}
|
|
244
88
|
|
|
245
|
-
// @public
|
|
246
|
-
export interface
|
|
247
|
-
|
|
248
|
-
aggregation?: string;
|
|
249
|
-
// (undocumented)
|
|
250
|
-
displayDescription?: string;
|
|
251
|
-
// (undocumented)
|
|
252
|
-
metricnamespace?: string;
|
|
253
|
-
// (undocumented)
|
|
254
|
-
name?: LocalizedNameOutput;
|
|
255
|
-
// (undocumented)
|
|
256
|
-
unit?: string;
|
|
89
|
+
// @public
|
|
90
|
+
export interface ErrorDetailsOutput {
|
|
91
|
+
message?: string;
|
|
257
92
|
}
|
|
258
93
|
|
|
259
|
-
// @public
|
|
94
|
+
// @public
|
|
260
95
|
export interface ErrorModelOutput {
|
|
261
|
-
code
|
|
96
|
+
code: string;
|
|
262
97
|
details?: Array<ErrorModelOutput>;
|
|
263
|
-
message
|
|
98
|
+
message: string;
|
|
264
99
|
target?: string;
|
|
265
100
|
}
|
|
266
101
|
|
|
267
|
-
// @public
|
|
102
|
+
// @public
|
|
268
103
|
export interface ErrorResponseBodyOutput {
|
|
269
|
-
error
|
|
104
|
+
error: ErrorModelOutput;
|
|
270
105
|
}
|
|
271
106
|
|
|
272
|
-
// @public
|
|
273
|
-
export interface
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
fileType?: "0" | "1" | "2";
|
|
107
|
+
// @public
|
|
108
|
+
export interface FileInfo {
|
|
109
|
+
expireDateTime?: Date | string;
|
|
110
|
+
fileName?: string;
|
|
111
|
+
fileType?: "JMX_FILE" | "USER_PROPERTIES" | "ADDITIONAL_ARTIFACTS";
|
|
278
112
|
url?: string;
|
|
279
|
-
|
|
113
|
+
validationFailureDetails?: string;
|
|
114
|
+
validationStatus?: "NOT_VALIDATED" | "VALIDATION_SUCCESS" | "VALIDATION_FAILURE" | "VALIDATION_INITIATED" | "VALIDATION_NOT_REQUIRED";
|
|
280
115
|
}
|
|
281
116
|
|
|
282
|
-
// @public
|
|
283
|
-
export interface
|
|
117
|
+
// @public
|
|
118
|
+
export interface FileInfoListOutput {
|
|
284
119
|
nextLink?: string;
|
|
285
|
-
value: Array<
|
|
120
|
+
value: Array<FileInfoOutput>;
|
|
286
121
|
}
|
|
287
122
|
|
|
288
|
-
// @public
|
|
289
|
-
export interface
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
fileType?: "0" | "1" | "2";
|
|
123
|
+
// @public
|
|
124
|
+
export interface FileInfoOutput {
|
|
125
|
+
expireDateTime?: string;
|
|
126
|
+
fileName?: string;
|
|
127
|
+
fileType?: "JMX_FILE" | "USER_PROPERTIES" | "ADDITIONAL_ARTIFACTS";
|
|
294
128
|
url?: string;
|
|
295
|
-
|
|
129
|
+
validationFailureDetails?: string;
|
|
130
|
+
validationStatus?: "NOT_VALIDATED" | "VALIDATION_SUCCESS" | "VALIDATION_FAILURE" | "VALIDATION_INITIATED" | "VALIDATION_NOT_REQUIRED";
|
|
296
131
|
}
|
|
297
132
|
|
|
298
|
-
// @public
|
|
299
|
-
export
|
|
300
|
-
errorFiltersValues?: Array<string>;
|
|
301
|
-
requestSamplerValues?: Array<string>;
|
|
302
|
-
}
|
|
133
|
+
// @public
|
|
134
|
+
export type FileUploadAndValidatePoller = SimplePollerLike<OperationState<TestGetFile200Response>, TestGetFile200Response>;
|
|
303
135
|
|
|
304
136
|
// @public
|
|
305
137
|
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
306
138
|
|
|
139
|
+
// @public (undocumented)
|
|
140
|
+
export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestUploadFileSuccessResponse): Promise<FileUploadAndValidatePoller>;
|
|
141
|
+
|
|
142
|
+
// @public (undocumented)
|
|
143
|
+
export function getLongRunningPoller(client: AzureLoadTestingClient, initialResponse: TestRunCreateOrUpdateSuccessResponse): Promise<TestRunCompletionPoller>;
|
|
144
|
+
|
|
307
145
|
// @public
|
|
308
146
|
export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
|
|
309
147
|
page: TPage;
|
|
@@ -311,131 +149,169 @@ export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise
|
|
|
311
149
|
}>;
|
|
312
150
|
|
|
313
151
|
// @public (undocumented)
|
|
314
|
-
export
|
|
315
|
-
additionalUrls?: Array<FileUrl>;
|
|
316
|
-
configUrl?: FileUrl;
|
|
317
|
-
inputArtifactsZipFileurl?: FileUrl;
|
|
318
|
-
testScriptUrl?: FileUrl;
|
|
319
|
-
userPropUrl?: FileUrl;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
// @public (undocumented)
|
|
323
|
-
export interface InputTestArtifactsOutput {
|
|
324
|
-
additionalUrls?: Array<FileUrlOutput>;
|
|
325
|
-
configUrl?: FileUrlOutput;
|
|
326
|
-
inputArtifactsZipFileurl?: FileUrlOutput;
|
|
327
|
-
testScriptUrl?: FileUrlOutput;
|
|
328
|
-
userPropUrl?: FileUrlOutput;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
// @public (undocumented)
|
|
332
|
-
export function isUnexpected(response: AppComponentCreateOrUpdateAppComponents200Response | AppComponentCreateOrUpdateAppComponents201Response | AppComponentCreateOrUpdateAppComponentsdefaultResponse): response is AppComponentCreateOrUpdateAppComponentsdefaultResponse;
|
|
152
|
+
export function isUnexpected(response: TestCreateOrUpdate200Response | TestCreateOrUpdate201Response | TestCreateOrUpdateDefaultResponse): response is TestCreateOrUpdateDefaultResponse;
|
|
333
153
|
|
|
334
154
|
// @public (undocumented)
|
|
335
|
-
export function isUnexpected(response:
|
|
155
|
+
export function isUnexpected(response: TestDelete204Response | TestDeleteDefaultResponse): response is TestDeleteDefaultResponse;
|
|
336
156
|
|
|
337
157
|
// @public (undocumented)
|
|
338
|
-
export function isUnexpected(response:
|
|
158
|
+
export function isUnexpected(response: TestGet200Response | TestGetDefaultResponse): response is TestGetDefaultResponse;
|
|
339
159
|
|
|
340
160
|
// @public (undocumented)
|
|
341
|
-
export function isUnexpected(response:
|
|
161
|
+
export function isUnexpected(response: TestList200Response | TestListDefaultResponse): response is TestListDefaultResponse;
|
|
342
162
|
|
|
343
163
|
// @public (undocumented)
|
|
344
|
-
export function isUnexpected(response:
|
|
164
|
+
export function isUnexpected(response: TestUploadFile201Response | TestUploadFileDefaultResponse): response is TestUploadFileDefaultResponse;
|
|
345
165
|
|
|
346
166
|
// @public (undocumented)
|
|
347
|
-
export function isUnexpected(response:
|
|
167
|
+
export function isUnexpected(response: TestGetFile200Response | TestGetFileDefaultResponse): response is TestGetFileDefaultResponse;
|
|
348
168
|
|
|
349
169
|
// @public (undocumented)
|
|
350
|
-
export function isUnexpected(response:
|
|
170
|
+
export function isUnexpected(response: TestDeleteFile204Response | TestDeleteFileDefaultResponse): response is TestDeleteFileDefaultResponse;
|
|
351
171
|
|
|
352
172
|
// @public (undocumented)
|
|
353
|
-
export function isUnexpected(response:
|
|
173
|
+
export function isUnexpected(response: TestListFiles200Response | TestListFilesDefaultResponse): response is TestListFilesDefaultResponse;
|
|
354
174
|
|
|
355
175
|
// @public (undocumented)
|
|
356
|
-
export function isUnexpected(response:
|
|
176
|
+
export function isUnexpected(response: TestCreateOrUpdateAppComponents200Response | TestCreateOrUpdateAppComponents201Response | TestCreateOrUpdateAppComponentsDefaultResponse): response is TestCreateOrUpdateAppComponentsDefaultResponse;
|
|
357
177
|
|
|
358
178
|
// @public (undocumented)
|
|
359
|
-
export function isUnexpected(response:
|
|
179
|
+
export function isUnexpected(response: TestListAppComponents200Response | TestListAppComponentsDefaultResponse): response is TestListAppComponentsDefaultResponse;
|
|
360
180
|
|
|
361
181
|
// @public (undocumented)
|
|
362
|
-
export function isUnexpected(response:
|
|
182
|
+
export function isUnexpected(response: TestCreateOrUpdateServerMetricsConfig200Response | TestCreateOrUpdateServerMetricsConfig201Response | TestCreateOrUpdateServerMetricsConfigDefaultResponse): response is TestCreateOrUpdateServerMetricsConfigDefaultResponse;
|
|
363
183
|
|
|
364
184
|
// @public (undocumented)
|
|
365
|
-
export function isUnexpected(response:
|
|
185
|
+
export function isUnexpected(response: TestListServerMetricsConfig200Response | TestListServerMetricsConfigDefaultResponse): response is TestListServerMetricsConfigDefaultResponse;
|
|
366
186
|
|
|
367
187
|
// @public (undocumented)
|
|
368
|
-
export function isUnexpected(response:
|
|
188
|
+
export function isUnexpected(response: TestRunDelete204Response | TestRunDeleteDefaultResponse): response is TestRunDeleteDefaultResponse;
|
|
369
189
|
|
|
370
190
|
// @public (undocumented)
|
|
371
|
-
export function isUnexpected(response:
|
|
191
|
+
export function isUnexpected(response: TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response | TestRunCreateOrUpdateDefaultResponse): response is TestRunCreateOrUpdateDefaultResponse;
|
|
372
192
|
|
|
373
193
|
// @public (undocumented)
|
|
374
|
-
export function isUnexpected(response:
|
|
194
|
+
export function isUnexpected(response: TestRunGet200Response | TestRunGetDefaultResponse): response is TestRunGetDefaultResponse;
|
|
375
195
|
|
|
376
196
|
// @public (undocumented)
|
|
377
|
-
export function isUnexpected(response:
|
|
197
|
+
export function isUnexpected(response: TestRunGetFile200Response | TestRunGetFileDefaultResponse): response is TestRunGetFileDefaultResponse;
|
|
378
198
|
|
|
379
199
|
// @public (undocumented)
|
|
380
|
-
export function isUnexpected(response:
|
|
200
|
+
export function isUnexpected(response: TestRunList200Response | TestRunListDefaultResponse): response is TestRunListDefaultResponse;
|
|
381
201
|
|
|
382
202
|
// @public (undocumented)
|
|
383
|
-
export function isUnexpected(response:
|
|
203
|
+
export function isUnexpected(response: TestRunStop200Response | TestRunStopDefaultResponse): response is TestRunStopDefaultResponse;
|
|
384
204
|
|
|
385
205
|
// @public (undocumented)
|
|
386
|
-
export function isUnexpected(response:
|
|
206
|
+
export function isUnexpected(response: TestRunListMetricNamespaces200Response | TestRunListMetricNamespacesDefaultResponse): response is TestRunListMetricNamespacesDefaultResponse;
|
|
387
207
|
|
|
388
208
|
// @public (undocumented)
|
|
389
|
-
export function isUnexpected(response:
|
|
209
|
+
export function isUnexpected(response: TestRunListMetricDefinitions200Response | TestRunListMetricDefinitionsDefaultResponse): response is TestRunListMetricDefinitionsDefaultResponse;
|
|
390
210
|
|
|
391
211
|
// @public (undocumented)
|
|
392
|
-
export function isUnexpected(response:
|
|
212
|
+
export function isUnexpected(response: TestRunListMetrics200Response | TestRunListMetricsDefaultResponse): response is TestRunListMetricsDefaultResponse;
|
|
393
213
|
|
|
394
214
|
// @public (undocumented)
|
|
395
|
-
export function isUnexpected(response:
|
|
215
|
+
export function isUnexpected(response: TestRunListMetricDimensionValues200Response | TestRunListMetricDimensionValuesDefaultResponse): response is TestRunListMetricDimensionValuesDefaultResponse;
|
|
396
216
|
|
|
397
217
|
// @public (undocumented)
|
|
398
|
-
export function isUnexpected(response:
|
|
218
|
+
export function isUnexpected(response: TestRunCreateOrUpdateAppComponents200Response | TestRunCreateOrUpdateAppComponents201Response | TestRunCreateOrUpdateAppComponentsDefaultResponse): response is TestRunCreateOrUpdateAppComponentsDefaultResponse;
|
|
399
219
|
|
|
400
220
|
// @public (undocumented)
|
|
401
|
-
export function isUnexpected(response:
|
|
221
|
+
export function isUnexpected(response: TestRunListAppComponents200Response | TestRunListAppComponentsDefaultResponse): response is TestRunListAppComponentsDefaultResponse;
|
|
402
222
|
|
|
403
223
|
// @public (undocumented)
|
|
404
|
-
export function isUnexpected(response:
|
|
224
|
+
export function isUnexpected(response: TestRunCreateOrUpdateServerMetricsConfig200Response | TestRunCreateOrUpdateServerMetricsConfig201Response | TestRunCreateOrUpdateServerMetricsConfigDefaultResponse): response is TestRunCreateOrUpdateServerMetricsConfigDefaultResponse;
|
|
405
225
|
|
|
406
226
|
// @public (undocumented)
|
|
407
|
-
export function isUnexpected(response:
|
|
227
|
+
export function isUnexpected(response: TestRunListServerMetricsConfig200Response | TestRunListServerMetricsConfigDefaultResponse): response is TestRunListServerMetricsConfigDefaultResponse;
|
|
408
228
|
|
|
409
|
-
// @public
|
|
410
|
-
export interface
|
|
229
|
+
// @public
|
|
230
|
+
export interface LoadTestConfiguration {
|
|
411
231
|
engineInstances?: number;
|
|
232
|
+
optionalLoadTestConfig?: OptionalLoadTestConfig;
|
|
233
|
+
quickStartTest?: boolean;
|
|
412
234
|
splitAllCSVs?: boolean;
|
|
413
235
|
}
|
|
414
236
|
|
|
415
|
-
// @public
|
|
416
|
-
export interface
|
|
237
|
+
// @public
|
|
238
|
+
export interface LoadTestConfigurationOutput {
|
|
417
239
|
engineInstances?: number;
|
|
240
|
+
optionalLoadTestConfig?: OptionalLoadTestConfigOutput;
|
|
241
|
+
quickStartTest?: boolean;
|
|
418
242
|
splitAllCSVs?: boolean;
|
|
419
243
|
}
|
|
420
244
|
|
|
421
|
-
// @public
|
|
422
|
-
export interface
|
|
423
|
-
|
|
424
|
-
localizedValue?: string;
|
|
425
|
-
// (undocumented)
|
|
426
|
-
value?: string;
|
|
245
|
+
// @public
|
|
246
|
+
export interface MetricAvailabilityOutput {
|
|
247
|
+
timeGrain?: "PT5S" | "PT10S" | "PT1M" | "PT5M" | "PT1H";
|
|
427
248
|
}
|
|
428
249
|
|
|
429
|
-
// @public
|
|
430
|
-
export interface
|
|
431
|
-
|
|
432
|
-
resultUrl?: FileUrl;
|
|
250
|
+
// @public
|
|
251
|
+
export interface MetricDefinitionCollectionOutput {
|
|
252
|
+
value: Array<MetricDefinitionOutput>;
|
|
433
253
|
}
|
|
434
254
|
|
|
435
|
-
// @public
|
|
436
|
-
export interface
|
|
437
|
-
|
|
438
|
-
|
|
255
|
+
// @public
|
|
256
|
+
export interface MetricDefinitionOutput {
|
|
257
|
+
description?: string;
|
|
258
|
+
dimensions?: Array<NameAndDescOutput>;
|
|
259
|
+
metricAvailabilities?: Array<MetricAvailabilityOutput>;
|
|
260
|
+
name?: string;
|
|
261
|
+
namespace?: string;
|
|
262
|
+
primaryAggregationType?: "Average" | "Count" | "None" | "Total" | "Percentile90" | "Percentile95" | "Percentile99";
|
|
263
|
+
supportedAggregationTypes?: Array<string>;
|
|
264
|
+
unit?: "NotSpecified" | "Percent" | "Count" | "Seconds" | "Milliseconds" | "Bytes" | "BytesPerSecond" | "CountPerSecond";
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
// @public
|
|
268
|
+
export interface MetricNamespaceCollectionOutput {
|
|
269
|
+
value: Array<MetricNamespaceOutput>;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
// @public
|
|
273
|
+
export interface MetricNamespaceOutput {
|
|
274
|
+
description?: string;
|
|
275
|
+
name?: string;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// @public
|
|
279
|
+
export interface MetricRequestPayload {
|
|
280
|
+
filters?: Array<DimensionFilter>;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
// @public
|
|
284
|
+
export interface MetricsOutput {
|
|
285
|
+
nextLink?: string;
|
|
286
|
+
timeseries?: Array<TimeSeriesElementOutput>;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// @public
|
|
290
|
+
export interface MetricValueOutput {
|
|
291
|
+
timestamp?: string;
|
|
292
|
+
value?: number;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// @public
|
|
296
|
+
export interface NameAndDescOutput {
|
|
297
|
+
description?: string;
|
|
298
|
+
name?: string;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
// @public
|
|
302
|
+
export interface OptionalLoadTestConfig {
|
|
303
|
+
duration?: number;
|
|
304
|
+
endpointUrl?: string;
|
|
305
|
+
rampUpTime?: number;
|
|
306
|
+
virtualUsers?: number;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
// @public
|
|
310
|
+
export interface OptionalLoadTestConfigOutput {
|
|
311
|
+
duration?: number;
|
|
312
|
+
endpointUrl?: string;
|
|
313
|
+
rampUpTime?: number;
|
|
314
|
+
virtualUsers?: number;
|
|
439
315
|
}
|
|
440
316
|
|
|
441
317
|
// @public
|
|
@@ -453,59 +329,64 @@ export interface PagingOptions<TResponse> {
|
|
|
453
329
|
customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
|
|
454
330
|
}
|
|
455
331
|
|
|
456
|
-
// @public
|
|
332
|
+
// @public
|
|
457
333
|
export interface PassFailCriteria {
|
|
458
334
|
passFailMetrics?: Record<string, PassFailMetric>;
|
|
459
335
|
}
|
|
460
336
|
|
|
461
|
-
// @public
|
|
337
|
+
// @public
|
|
462
338
|
export interface PassFailCriteriaOutput {
|
|
463
339
|
passFailMetrics?: Record<string, PassFailMetricOutput>;
|
|
464
340
|
}
|
|
465
341
|
|
|
466
|
-
// @public
|
|
342
|
+
// @public
|
|
467
343
|
export interface PassFailMetric {
|
|
468
|
-
action?:
|
|
344
|
+
action?: "stop" | "continue";
|
|
469
345
|
actualValue?: number;
|
|
470
|
-
aggregate?:
|
|
471
|
-
|
|
346
|
+
aggregate?: "count" | "percentage" | "avg" | "p50" | "p90" | "p95" | "p99" | "min" | "max";
|
|
347
|
+
clientMetric?: "response_time_ms" | "latency" | "error" | "requests" | "requests_per_sec";
|
|
472
348
|
condition?: string;
|
|
473
349
|
requestName?: string;
|
|
474
|
-
result?:
|
|
350
|
+
result?: "passed" | "undetermined" | "failed";
|
|
475
351
|
value?: number;
|
|
476
352
|
}
|
|
477
353
|
|
|
478
|
-
// @public
|
|
354
|
+
// @public
|
|
479
355
|
export interface PassFailMetricOutput {
|
|
480
|
-
action?:
|
|
356
|
+
action?: "stop" | "continue";
|
|
481
357
|
actualValue?: number;
|
|
482
|
-
aggregate?:
|
|
483
|
-
|
|
358
|
+
aggregate?: "count" | "percentage" | "avg" | "p50" | "p90" | "p95" | "p99" | "min" | "max";
|
|
359
|
+
clientMetric?: "response_time_ms" | "latency" | "error" | "requests" | "requests_per_sec";
|
|
484
360
|
condition?: string;
|
|
485
361
|
requestName?: string;
|
|
486
|
-
result?:
|
|
362
|
+
result?: "passed" | "undetermined" | "failed";
|
|
487
363
|
value?: number;
|
|
488
364
|
}
|
|
489
365
|
|
|
490
366
|
// @public (undocumented)
|
|
491
|
-
export interface
|
|
367
|
+
export interface PolledOperationOptions {
|
|
368
|
+
updateIntervalInMs?: number;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// @public
|
|
372
|
+
export interface ResourceMetric {
|
|
492
373
|
aggregation: string;
|
|
493
374
|
displayDescription?: string;
|
|
494
375
|
id?: string;
|
|
495
|
-
|
|
496
|
-
name:
|
|
376
|
+
metricNamespace: string;
|
|
377
|
+
name: string;
|
|
497
378
|
resourceId: string;
|
|
498
379
|
resourceType: string;
|
|
499
380
|
unit?: string;
|
|
500
381
|
}
|
|
501
382
|
|
|
502
|
-
// @public
|
|
503
|
-
export interface
|
|
383
|
+
// @public
|
|
384
|
+
export interface ResourceMetricOutput {
|
|
504
385
|
aggregation: string;
|
|
505
386
|
displayDescription?: string;
|
|
506
387
|
id?: string;
|
|
507
|
-
|
|
508
|
-
name:
|
|
388
|
+
metricNamespace: string;
|
|
389
|
+
name: string;
|
|
509
390
|
resourceId: string;
|
|
510
391
|
resourceType: string;
|
|
511
392
|
unit?: string;
|
|
@@ -513,109 +394,252 @@ export interface ResourceMetricModelOutput {
|
|
|
513
394
|
|
|
514
395
|
// @public (undocumented)
|
|
515
396
|
export interface Routes {
|
|
516
|
-
(path: "/
|
|
517
|
-
(path: "/
|
|
518
|
-
(path: "/
|
|
519
|
-
(path: "/
|
|
520
|
-
(path: "/
|
|
521
|
-
(path: "/
|
|
522
|
-
(path: "/
|
|
523
|
-
(path: "/
|
|
524
|
-
(path: "/
|
|
525
|
-
(path: "/
|
|
526
|
-
(path: "/
|
|
527
|
-
(path: "/
|
|
528
|
-
(path: "/
|
|
529
|
-
(path: "/
|
|
530
|
-
(path: "/
|
|
531
|
-
(path: "/
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
// @public
|
|
535
|
-
export interface
|
|
536
|
-
type?:
|
|
397
|
+
(path: "/tests/{testId}", testId: string): TestCreateOrUpdate;
|
|
398
|
+
(path: "/tests"): TestList;
|
|
399
|
+
(path: "/tests/{testId}/files/{fileName}", testId: string, fileName: string): TestUploadFile;
|
|
400
|
+
(path: "/tests/{testId}/files", testId: string): TestListFiles;
|
|
401
|
+
(path: "/tests/{testId}/app-components", testId: string): TestCreateOrUpdateAppComponents;
|
|
402
|
+
(path: "/tests/{testId}/server-metrics-config", testId: string): TestCreateOrUpdateServerMetricsConfig;
|
|
403
|
+
(path: "/test-runs/{testRunId}", testRunId: string): TestRunDelete;
|
|
404
|
+
(path: "/test-runs/{testRunId}/files/{fileName}", testRunId: string, fileName: string): TestRunGetFile;
|
|
405
|
+
(path: "/test-runs"): TestRunList;
|
|
406
|
+
(path: "/test-runs/{testRunId}:stop", testRunId: string): TestRunStop;
|
|
407
|
+
(path: "/test-runs/{testRunId}/metric-namespaces", testRunId: string): TestRunListMetricNamespaces;
|
|
408
|
+
(path: "/test-runs/{testRunId}/metric-definitions", testRunId: string): TestRunListMetricDefinitions;
|
|
409
|
+
(path: "/test-runs/{testRunId}/metrics", testRunId: string): TestRunListMetrics;
|
|
410
|
+
(path: "/test-runs/{testRunId}/metric-dimensions/{name}/values", testRunId: string, name: string): TestRunListMetricDimensionValues;
|
|
411
|
+
(path: "/test-runs/{testRunId}/app-components", testRunId: string): TestRunCreateOrUpdateAppComponents;
|
|
412
|
+
(path: "/test-runs/{testRunId}/server-metrics-config", testRunId: string): TestRunCreateOrUpdateServerMetricsConfig;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
// @public
|
|
416
|
+
export interface Secret {
|
|
417
|
+
type?: "AKV_SECRET_URI" | "SECRET_VALUE";
|
|
537
418
|
value?: string;
|
|
538
419
|
}
|
|
539
420
|
|
|
540
|
-
// @public
|
|
541
|
-
export interface
|
|
542
|
-
type?:
|
|
421
|
+
// @public
|
|
422
|
+
export interface SecretOutput {
|
|
423
|
+
type?: "AKV_SECRET_URI" | "SECRET_VALUE";
|
|
543
424
|
value?: string;
|
|
544
425
|
}
|
|
545
426
|
|
|
427
|
+
// @public
|
|
428
|
+
export interface Test {
|
|
429
|
+
certificate?: CertificateMetadata;
|
|
430
|
+
createdBy?: string;
|
|
431
|
+
createdDateTime?: Date | string;
|
|
432
|
+
description?: string;
|
|
433
|
+
displayName?: string;
|
|
434
|
+
environmentVariables?: Record<string, string>;
|
|
435
|
+
inputArtifacts?: TestInputArtifacts;
|
|
436
|
+
keyvaultReferenceIdentityId?: string;
|
|
437
|
+
keyvaultReferenceIdentityType?: string;
|
|
438
|
+
lastModifiedBy?: string;
|
|
439
|
+
lastModifiedDateTime?: Date | string;
|
|
440
|
+
loadTestConfiguration?: LoadTestConfiguration;
|
|
441
|
+
passFailCriteria?: PassFailCriteria;
|
|
442
|
+
secrets?: Record<string, Secret>;
|
|
443
|
+
subnetId?: string;
|
|
444
|
+
testId?: string;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
// @public
|
|
448
|
+
export interface TestAppComponents {
|
|
449
|
+
components: Record<string, AppComponent>;
|
|
450
|
+
createdBy?: string;
|
|
451
|
+
createdDateTime?: Date | string;
|
|
452
|
+
lastModifiedBy?: string;
|
|
453
|
+
lastModifiedDateTime?: Date | string;
|
|
454
|
+
testId?: string;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
// @public
|
|
458
|
+
export interface TestAppComponentsOutput {
|
|
459
|
+
components: Record<string, AppComponentOutput>;
|
|
460
|
+
createdBy?: string;
|
|
461
|
+
createdDateTime?: string;
|
|
462
|
+
lastModifiedBy?: string;
|
|
463
|
+
lastModifiedDateTime?: string;
|
|
464
|
+
testId?: string;
|
|
465
|
+
}
|
|
466
|
+
|
|
546
467
|
// @public (undocumented)
|
|
547
|
-
export interface
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
468
|
+
export interface TestCreateOrUpdate {
|
|
469
|
+
delete(options?: TestDeleteParameters): StreamableMethod<TestDelete204Response | TestDeleteDefaultResponse>;
|
|
470
|
+
get(options?: TestGetParameters): StreamableMethod<TestGet200Response | TestGetDefaultResponse>;
|
|
471
|
+
patch(options: TestCreateOrUpdateParameters): StreamableMethod<TestCreateOrUpdate200Response | TestCreateOrUpdate201Response | TestCreateOrUpdateDefaultResponse>;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
// @public
|
|
475
|
+
export interface TestCreateOrUpdate200Response extends HttpResponse {
|
|
476
|
+
// (undocumented)
|
|
477
|
+
body: TestOutput;
|
|
478
|
+
// (undocumented)
|
|
479
|
+
status: "200";
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
// @public
|
|
483
|
+
export interface TestCreateOrUpdate201Response extends HttpResponse {
|
|
484
|
+
// (undocumented)
|
|
485
|
+
body: TestOutput;
|
|
486
|
+
// (undocumented)
|
|
487
|
+
status: "201";
|
|
552
488
|
}
|
|
553
489
|
|
|
554
490
|
// @public (undocumented)
|
|
555
|
-
export interface
|
|
556
|
-
|
|
557
|
-
|
|
491
|
+
export interface TestCreateOrUpdateAppComponents {
|
|
492
|
+
get(options?: TestListAppComponentsParameters): StreamableMethod<TestListAppComponents200Response | TestListAppComponentsDefaultResponse>;
|
|
493
|
+
patch(options: TestCreateOrUpdateAppComponentsParameters): StreamableMethod<TestCreateOrUpdateAppComponents200Response | TestCreateOrUpdateAppComponents201Response | TestCreateOrUpdateAppComponentsDefaultResponse>;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
// @public
|
|
497
|
+
export interface TestCreateOrUpdateAppComponents200Response extends HttpResponse {
|
|
498
|
+
// (undocumented)
|
|
499
|
+
body: TestAppComponentsOutput;
|
|
500
|
+
// (undocumented)
|
|
501
|
+
status: "200";
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
// @public
|
|
505
|
+
export interface TestCreateOrUpdateAppComponents201Response extends HttpResponse {
|
|
506
|
+
// (undocumented)
|
|
507
|
+
body: TestAppComponentsOutput;
|
|
508
|
+
// (undocumented)
|
|
509
|
+
status: "201";
|
|
558
510
|
}
|
|
559
511
|
|
|
560
512
|
// @public (undocumented)
|
|
561
|
-
export interface
|
|
562
|
-
|
|
563
|
-
value: string;
|
|
513
|
+
export interface TestCreateOrUpdateAppComponentsBodyParam {
|
|
514
|
+
body: TestAppComponents;
|
|
564
515
|
}
|
|
565
516
|
|
|
566
517
|
// @public (undocumented)
|
|
567
|
-
export interface
|
|
568
|
-
|
|
569
|
-
get(options?: ServerMetricsGetServerMetricsConfigByNameParameters): StreamableMethod<ServerMetricsGetServerMetricsConfigByName200Response | ServerMetricsGetServerMetricsConfigByNamedefaultResponse>;
|
|
570
|
-
patch(options: ServerMetricsCreateOrUpdateServerMetricsConfigParameters): StreamableMethod<ServerMetricsCreateOrUpdateServerMetricsConfig200Response | ServerMetricsCreateOrUpdateServerMetricsConfig201Response | ServerMetricsCreateOrUpdateServerMetricsConfigdefaultResponse>;
|
|
518
|
+
export interface TestCreateOrUpdateAppComponentsDefaultHeaders {
|
|
519
|
+
"x-ms-error-code"?: string;
|
|
571
520
|
}
|
|
572
521
|
|
|
573
522
|
// @public
|
|
574
|
-
export interface
|
|
523
|
+
export interface TestCreateOrUpdateAppComponentsDefaultResponse extends HttpResponse {
|
|
575
524
|
// (undocumented)
|
|
576
|
-
body:
|
|
525
|
+
body: ErrorResponseBodyOutput;
|
|
526
|
+
// (undocumented)
|
|
527
|
+
headers: RawHttpHeaders & TestCreateOrUpdateAppComponentsDefaultHeaders;
|
|
528
|
+
// (undocumented)
|
|
529
|
+
status: string;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
// @public (undocumented)
|
|
533
|
+
export interface TestCreateOrUpdateAppComponentsMediaTypesParam {
|
|
534
|
+
contentType?: "application/merge-patch+json";
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
// @public (undocumented)
|
|
538
|
+
export type TestCreateOrUpdateAppComponentsParameters = TestCreateOrUpdateAppComponentsMediaTypesParam & TestCreateOrUpdateAppComponentsBodyParam & RequestParameters;
|
|
539
|
+
|
|
540
|
+
// @public (undocumented)
|
|
541
|
+
export interface TestCreateOrUpdateBodyParam {
|
|
542
|
+
body: Test;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
// @public (undocumented)
|
|
546
|
+
export interface TestCreateOrUpdateDefaultHeaders {
|
|
547
|
+
"x-ms-error-code"?: string;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
// @public
|
|
551
|
+
export interface TestCreateOrUpdateDefaultResponse extends HttpResponse {
|
|
552
|
+
// (undocumented)
|
|
553
|
+
body: ErrorResponseBodyOutput;
|
|
554
|
+
// (undocumented)
|
|
555
|
+
headers: RawHttpHeaders & TestCreateOrUpdateDefaultHeaders;
|
|
556
|
+
// (undocumented)
|
|
557
|
+
status: string;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
// @public (undocumented)
|
|
561
|
+
export interface TestCreateOrUpdateMediaTypesParam {
|
|
562
|
+
contentType?: "application/merge-patch+json";
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
// @public (undocumented)
|
|
566
|
+
export type TestCreateOrUpdateParameters = TestCreateOrUpdateMediaTypesParam & TestCreateOrUpdateBodyParam & RequestParameters;
|
|
567
|
+
|
|
568
|
+
// @public (undocumented)
|
|
569
|
+
export interface TestCreateOrUpdateServerMetricsConfig {
|
|
570
|
+
get(options?: TestListServerMetricsConfigParameters): StreamableMethod<TestListServerMetricsConfig200Response | TestListServerMetricsConfigDefaultResponse>;
|
|
571
|
+
patch(options: TestCreateOrUpdateServerMetricsConfigParameters): StreamableMethod<TestCreateOrUpdateServerMetricsConfig200Response | TestCreateOrUpdateServerMetricsConfig201Response | TestCreateOrUpdateServerMetricsConfigDefaultResponse>;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
// @public
|
|
575
|
+
export interface TestCreateOrUpdateServerMetricsConfig200Response extends HttpResponse {
|
|
576
|
+
// (undocumented)
|
|
577
|
+
body: TestServerMetricConfigOutput;
|
|
577
578
|
// (undocumented)
|
|
578
579
|
status: "200";
|
|
579
580
|
}
|
|
580
581
|
|
|
581
582
|
// @public
|
|
582
|
-
export interface
|
|
583
|
+
export interface TestCreateOrUpdateServerMetricsConfig201Response extends HttpResponse {
|
|
583
584
|
// (undocumented)
|
|
584
|
-
body:
|
|
585
|
+
body: TestServerMetricConfigOutput;
|
|
585
586
|
// (undocumented)
|
|
586
587
|
status: "201";
|
|
587
588
|
}
|
|
588
589
|
|
|
589
590
|
// @public (undocumented)
|
|
590
|
-
export interface
|
|
591
|
-
body:
|
|
591
|
+
export interface TestCreateOrUpdateServerMetricsConfigBodyParam {
|
|
592
|
+
body: TestServerMetricConfig;
|
|
592
593
|
}
|
|
593
594
|
|
|
594
595
|
// @public (undocumented)
|
|
595
|
-
export interface
|
|
596
|
+
export interface TestCreateOrUpdateServerMetricsConfigDefaultHeaders {
|
|
596
597
|
"x-ms-error-code"?: string;
|
|
597
598
|
}
|
|
598
599
|
|
|
599
600
|
// @public
|
|
600
|
-
export interface
|
|
601
|
+
export interface TestCreateOrUpdateServerMetricsConfigDefaultResponse extends HttpResponse {
|
|
601
602
|
// (undocumented)
|
|
602
603
|
body: ErrorResponseBodyOutput;
|
|
603
604
|
// (undocumented)
|
|
604
|
-
headers: RawHttpHeaders &
|
|
605
|
+
headers: RawHttpHeaders & TestCreateOrUpdateServerMetricsConfigDefaultHeaders;
|
|
605
606
|
// (undocumented)
|
|
606
607
|
status: string;
|
|
607
608
|
}
|
|
608
609
|
|
|
609
610
|
// @public (undocumented)
|
|
610
|
-
export interface
|
|
611
|
+
export interface TestCreateOrUpdateServerMetricsConfigMediaTypesParam {
|
|
611
612
|
contentType?: "application/merge-patch+json";
|
|
612
613
|
}
|
|
613
614
|
|
|
614
615
|
// @public (undocumented)
|
|
615
|
-
export type
|
|
616
|
+
export type TestCreateOrUpdateServerMetricsConfigParameters = TestCreateOrUpdateServerMetricsConfigMediaTypesParam & TestCreateOrUpdateServerMetricsConfigBodyParam & RequestParameters;
|
|
617
|
+
|
|
618
|
+
// @public
|
|
619
|
+
export interface TestDelete204Response extends HttpResponse {
|
|
620
|
+
// (undocumented)
|
|
621
|
+
body: Record<string, unknown>;
|
|
622
|
+
// (undocumented)
|
|
623
|
+
status: "204";
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
// @public (undocumented)
|
|
627
|
+
export interface TestDeleteDefaultHeaders {
|
|
628
|
+
"x-ms-error-code"?: string;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
// @public
|
|
632
|
+
export interface TestDeleteDefaultResponse extends HttpResponse {
|
|
633
|
+
// (undocumented)
|
|
634
|
+
body: ErrorResponseBodyOutput;
|
|
635
|
+
// (undocumented)
|
|
636
|
+
headers: RawHttpHeaders & TestDeleteDefaultHeaders;
|
|
637
|
+
// (undocumented)
|
|
638
|
+
status: string;
|
|
639
|
+
}
|
|
616
640
|
|
|
617
641
|
// @public
|
|
618
|
-
export interface
|
|
642
|
+
export interface TestDeleteFile204Response extends HttpResponse {
|
|
619
643
|
// (undocumented)
|
|
620
644
|
body: Record<string, unknown>;
|
|
621
645
|
// (undocumented)
|
|
@@ -623,241 +647,488 @@ export interface ServerMetricsDeleteServerMetricsConfig204Response extends HttpR
|
|
|
623
647
|
}
|
|
624
648
|
|
|
625
649
|
// @public (undocumented)
|
|
626
|
-
export interface
|
|
650
|
+
export interface TestDeleteFileDefaultHeaders {
|
|
627
651
|
"x-ms-error-code"?: string;
|
|
628
652
|
}
|
|
629
653
|
|
|
630
654
|
// @public
|
|
631
|
-
export interface
|
|
655
|
+
export interface TestDeleteFileDefaultResponse extends HttpResponse {
|
|
632
656
|
// (undocumented)
|
|
633
657
|
body: ErrorResponseBodyOutput;
|
|
634
658
|
// (undocumented)
|
|
635
|
-
headers: RawHttpHeaders &
|
|
659
|
+
headers: RawHttpHeaders & TestDeleteFileDefaultHeaders;
|
|
636
660
|
// (undocumented)
|
|
637
661
|
status: string;
|
|
638
662
|
}
|
|
639
663
|
|
|
640
664
|
// @public (undocumented)
|
|
641
|
-
export type
|
|
665
|
+
export type TestDeleteFileParameters = RequestParameters;
|
|
642
666
|
|
|
643
667
|
// @public (undocumented)
|
|
644
|
-
export
|
|
645
|
-
|
|
668
|
+
export type TestDeleteParameters = RequestParameters;
|
|
669
|
+
|
|
670
|
+
// @public
|
|
671
|
+
export interface TestGet200Response extends HttpResponse {
|
|
672
|
+
// (undocumented)
|
|
673
|
+
body: TestOutput;
|
|
674
|
+
// (undocumented)
|
|
675
|
+
status: "200";
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
// @public (undocumented)
|
|
679
|
+
export interface TestGetDefaultHeaders {
|
|
680
|
+
"x-ms-error-code"?: string;
|
|
646
681
|
}
|
|
647
682
|
|
|
648
683
|
// @public
|
|
649
|
-
export interface
|
|
684
|
+
export interface TestGetDefaultResponse extends HttpResponse {
|
|
650
685
|
// (undocumented)
|
|
651
|
-
body:
|
|
686
|
+
body: ErrorResponseBodyOutput;
|
|
687
|
+
// (undocumented)
|
|
688
|
+
headers: RawHttpHeaders & TestGetDefaultHeaders;
|
|
689
|
+
// (undocumented)
|
|
690
|
+
status: string;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
// @public
|
|
694
|
+
export interface TestGetFile200Response extends HttpResponse {
|
|
695
|
+
// (undocumented)
|
|
696
|
+
body: FileInfoOutput;
|
|
652
697
|
// (undocumented)
|
|
653
698
|
status: "200";
|
|
654
699
|
}
|
|
655
700
|
|
|
656
701
|
// @public (undocumented)
|
|
657
|
-
export interface
|
|
702
|
+
export interface TestGetFileDefaultHeaders {
|
|
658
703
|
"x-ms-error-code"?: string;
|
|
659
704
|
}
|
|
660
705
|
|
|
661
706
|
// @public
|
|
662
|
-
export interface
|
|
707
|
+
export interface TestGetFileDefaultResponse extends HttpResponse {
|
|
663
708
|
// (undocumented)
|
|
664
709
|
body: ErrorResponseBodyOutput;
|
|
665
710
|
// (undocumented)
|
|
666
|
-
headers: RawHttpHeaders &
|
|
711
|
+
headers: RawHttpHeaders & TestGetFileDefaultHeaders;
|
|
667
712
|
// (undocumented)
|
|
668
713
|
status: string;
|
|
669
714
|
}
|
|
670
715
|
|
|
671
716
|
// @public (undocumented)
|
|
672
|
-
export type
|
|
717
|
+
export type TestGetFileParameters = RequestParameters;
|
|
718
|
+
|
|
719
|
+
// @public (undocumented)
|
|
720
|
+
export type TestGetParameters = RequestParameters;
|
|
721
|
+
|
|
722
|
+
// @public
|
|
723
|
+
export interface TestInputArtifacts {
|
|
724
|
+
additionalFileInfo?: Array<FileInfo>;
|
|
725
|
+
configFileInfo?: FileInfo;
|
|
726
|
+
inputArtifactsZipFileInfo?: FileInfo;
|
|
727
|
+
testScriptFileInfo?: FileInfo;
|
|
728
|
+
userPropFileInfo?: FileInfo;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
// @public
|
|
732
|
+
export interface TestInputArtifactsOutput {
|
|
733
|
+
additionalFileInfo?: Array<FileInfoOutput>;
|
|
734
|
+
configFileInfo?: FileInfoOutput;
|
|
735
|
+
inputArtifactsZipFileInfo?: FileInfoOutput;
|
|
736
|
+
testScriptFileInfo?: FileInfoOutput;
|
|
737
|
+
userPropFileInfo?: FileInfoOutput;
|
|
738
|
+
}
|
|
673
739
|
|
|
674
740
|
// @public (undocumented)
|
|
675
|
-
export interface
|
|
676
|
-
get(options?:
|
|
741
|
+
export interface TestList {
|
|
742
|
+
get(options?: TestListParameters): StreamableMethod<TestList200Response | TestListDefaultResponse>;
|
|
677
743
|
}
|
|
678
744
|
|
|
679
745
|
// @public
|
|
680
|
-
export interface
|
|
746
|
+
export interface TestList200Response extends HttpResponse {
|
|
681
747
|
// (undocumented)
|
|
682
|
-
body:
|
|
748
|
+
body: TestsListOutput;
|
|
683
749
|
// (undocumented)
|
|
684
750
|
status: "200";
|
|
685
751
|
}
|
|
686
752
|
|
|
687
753
|
// @public
|
|
688
|
-
export interface
|
|
754
|
+
export interface TestListAppComponents200Response extends HttpResponse {
|
|
689
755
|
// (undocumented)
|
|
690
|
-
body:
|
|
756
|
+
body: TestAppComponentsOutput;
|
|
691
757
|
// (undocumented)
|
|
692
758
|
status: "200";
|
|
693
759
|
}
|
|
694
760
|
|
|
695
761
|
// @public (undocumented)
|
|
696
|
-
export interface
|
|
762
|
+
export interface TestListAppComponentsDefaultHeaders {
|
|
697
763
|
"x-ms-error-code"?: string;
|
|
698
764
|
}
|
|
699
765
|
|
|
700
766
|
// @public
|
|
701
|
-
export interface
|
|
767
|
+
export interface TestListAppComponentsDefaultResponse extends HttpResponse {
|
|
702
768
|
// (undocumented)
|
|
703
769
|
body: ErrorResponseBodyOutput;
|
|
704
770
|
// (undocumented)
|
|
705
|
-
headers: RawHttpHeaders &
|
|
771
|
+
headers: RawHttpHeaders & TestListAppComponentsDefaultHeaders;
|
|
706
772
|
// (undocumented)
|
|
707
773
|
status: string;
|
|
708
774
|
}
|
|
709
775
|
|
|
710
776
|
// @public (undocumented)
|
|
711
|
-
export type
|
|
777
|
+
export type TestListAppComponentsParameters = RequestParameters;
|
|
712
778
|
|
|
713
779
|
// @public (undocumented)
|
|
714
|
-
export interface
|
|
780
|
+
export interface TestListDefaultHeaders {
|
|
715
781
|
"x-ms-error-code"?: string;
|
|
716
782
|
}
|
|
717
783
|
|
|
718
784
|
// @public
|
|
719
|
-
export interface
|
|
785
|
+
export interface TestListDefaultResponse extends HttpResponse {
|
|
720
786
|
// (undocumented)
|
|
721
787
|
body: ErrorResponseBodyOutput;
|
|
722
788
|
// (undocumented)
|
|
723
|
-
headers: RawHttpHeaders &
|
|
789
|
+
headers: RawHttpHeaders & TestListDefaultHeaders;
|
|
724
790
|
// (undocumented)
|
|
725
791
|
status: string;
|
|
726
792
|
}
|
|
727
793
|
|
|
728
794
|
// @public (undocumented)
|
|
729
|
-
export
|
|
795
|
+
export interface TestListFiles {
|
|
796
|
+
get(options?: TestListFilesParameters): StreamableMethod<TestListFiles200Response | TestListFilesDefaultResponse>;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
// @public
|
|
800
|
+
export interface TestListFiles200Response extends HttpResponse {
|
|
801
|
+
// (undocumented)
|
|
802
|
+
body: FileInfoListOutput;
|
|
803
|
+
// (undocumented)
|
|
804
|
+
status: "200";
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
// @public (undocumented)
|
|
808
|
+
export interface TestListFilesDefaultHeaders {
|
|
809
|
+
"x-ms-error-code"?: string;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
// @public
|
|
813
|
+
export interface TestListFilesDefaultResponse extends HttpResponse {
|
|
814
|
+
// (undocumented)
|
|
815
|
+
body: ErrorResponseBodyOutput;
|
|
816
|
+
// (undocumented)
|
|
817
|
+
headers: RawHttpHeaders & TestListFilesDefaultHeaders;
|
|
818
|
+
// (undocumented)
|
|
819
|
+
status: string;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
// @public (undocumented)
|
|
823
|
+
export type TestListFilesParameters = TestListFilesQueryParam & RequestParameters;
|
|
824
|
+
|
|
825
|
+
// @public (undocumented)
|
|
826
|
+
export interface TestListFilesQueryParam {
|
|
827
|
+
// (undocumented)
|
|
828
|
+
queryParameters?: TestListFilesQueryParamProperties;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
// @public (undocumented)
|
|
832
|
+
export interface TestListFilesQueryParamProperties {
|
|
833
|
+
continuationToken?: string;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
// @public (undocumented)
|
|
837
|
+
export type TestListParameters = TestListQueryParam & RequestParameters;
|
|
838
|
+
|
|
839
|
+
// @public (undocumented)
|
|
840
|
+
export interface TestListQueryParam {
|
|
841
|
+
// (undocumented)
|
|
842
|
+
queryParameters?: TestListQueryParamProperties;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
// @public (undocumented)
|
|
846
|
+
export interface TestListQueryParamProperties {
|
|
847
|
+
continuationToken?: string;
|
|
848
|
+
lastModifiedEndTime?: Date | string;
|
|
849
|
+
lastModifiedStartTime?: Date | string;
|
|
850
|
+
maxpagesize?: number;
|
|
851
|
+
orderby?: string;
|
|
852
|
+
search?: string;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
// @public
|
|
856
|
+
export interface TestListServerMetricsConfig200Response extends HttpResponse {
|
|
857
|
+
// (undocumented)
|
|
858
|
+
body: TestServerMetricConfigOutput;
|
|
859
|
+
// (undocumented)
|
|
860
|
+
status: "200";
|
|
861
|
+
}
|
|
730
862
|
|
|
731
863
|
// @public (undocumented)
|
|
732
|
-
export interface
|
|
864
|
+
export interface TestListServerMetricsConfigDefaultHeaders {
|
|
865
|
+
"x-ms-error-code"?: string;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
// @public
|
|
869
|
+
export interface TestListServerMetricsConfigDefaultResponse extends HttpResponse {
|
|
870
|
+
// (undocumented)
|
|
871
|
+
body: ErrorResponseBodyOutput;
|
|
872
|
+
// (undocumented)
|
|
873
|
+
headers: RawHttpHeaders & TestListServerMetricsConfigDefaultHeaders;
|
|
733
874
|
// (undocumented)
|
|
734
|
-
|
|
875
|
+
status: string;
|
|
735
876
|
}
|
|
736
877
|
|
|
737
878
|
// @public (undocumented)
|
|
738
|
-
export
|
|
879
|
+
export type TestListServerMetricsConfigParameters = RequestParameters;
|
|
880
|
+
|
|
881
|
+
// @public
|
|
882
|
+
export interface TestOutput {
|
|
883
|
+
certificate?: CertificateMetadataOutput;
|
|
884
|
+
createdBy?: string;
|
|
885
|
+
createdDateTime?: string;
|
|
886
|
+
description?: string;
|
|
887
|
+
displayName?: string;
|
|
888
|
+
environmentVariables?: Record<string, string>;
|
|
889
|
+
inputArtifacts?: TestInputArtifactsOutput;
|
|
890
|
+
keyvaultReferenceIdentityId?: string;
|
|
891
|
+
keyvaultReferenceIdentityType?: string;
|
|
892
|
+
lastModifiedBy?: string;
|
|
893
|
+
lastModifiedDateTime?: string;
|
|
894
|
+
loadTestConfiguration?: LoadTestConfigurationOutput;
|
|
895
|
+
passFailCriteria?: PassFailCriteriaOutput;
|
|
896
|
+
secrets?: Record<string, SecretOutput>;
|
|
897
|
+
subnetId?: string;
|
|
898
|
+
testId?: string;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
// @public
|
|
902
|
+
export interface TestRun {
|
|
903
|
+
certificate?: CertificateMetadata;
|
|
904
|
+
createdBy?: string;
|
|
905
|
+
createdDateTime?: Date | string;
|
|
906
|
+
description?: string;
|
|
907
|
+
displayName?: string;
|
|
908
|
+
duration?: number;
|
|
909
|
+
endDateTime?: Date | string;
|
|
910
|
+
environmentVariables?: Record<string, string>;
|
|
911
|
+
errorDetails?: Array<ErrorDetails>;
|
|
912
|
+
executedDateTime?: Date | string;
|
|
913
|
+
lastModifiedBy?: string;
|
|
914
|
+
lastModifiedDateTime?: Date | string;
|
|
915
|
+
loadTestConfiguration?: LoadTestConfiguration;
|
|
916
|
+
passFailCriteria?: PassFailCriteria;
|
|
917
|
+
portalUrl?: string;
|
|
918
|
+
secrets?: Record<string, Secret>;
|
|
919
|
+
startDateTime?: Date | string;
|
|
920
|
+
status?: "ACCEPTED" | "NOTSTARTED" | "PROVISIONING" | "PROVISIONED" | "CONFIGURING" | "CONFIGURED" | "EXECUTING" | "EXECUTED" | "DEPROVISIONING" | "DEPROVISIONED" | "DONE" | "CANCELLING" | "CANCELLED" | "FAILED" | "VALIDATION_SUCCESS" | "VALIDATION_FAILURE";
|
|
921
|
+
subnetId?: string;
|
|
922
|
+
testArtifacts?: TestRunArtifacts;
|
|
739
923
|
testId?: string;
|
|
924
|
+
testResult?: "PASSED" | "NOT_APPLICABLE" | "FAILED";
|
|
740
925
|
testRunId?: string;
|
|
926
|
+
testRunStatistics?: Record<string, TestRunStatistics>;
|
|
927
|
+
virtualUsers?: number;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
// @public
|
|
931
|
+
export interface TestRunAppComponents {
|
|
932
|
+
components: Record<string, AppComponent>;
|
|
933
|
+
createdBy?: string;
|
|
934
|
+
createdDateTime?: Date | string;
|
|
935
|
+
lastModifiedBy?: string;
|
|
936
|
+
lastModifiedDateTime?: Date | string;
|
|
937
|
+
testRunId?: string;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
// @public
|
|
941
|
+
export interface TestRunAppComponentsOutput {
|
|
942
|
+
components: Record<string, AppComponentOutput>;
|
|
943
|
+
createdBy?: string;
|
|
944
|
+
createdDateTime?: string;
|
|
945
|
+
lastModifiedBy?: string;
|
|
946
|
+
lastModifiedDateTime?: string;
|
|
947
|
+
testRunId?: string;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
// @public
|
|
951
|
+
export interface TestRunArtifacts {
|
|
952
|
+
inputArtifacts?: TestRunInputArtifacts;
|
|
953
|
+
outputArtifacts?: TestRunOutputArtifacts;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
// @public
|
|
957
|
+
export interface TestRunArtifactsOutput {
|
|
958
|
+
inputArtifacts?: TestRunInputArtifactsOutput;
|
|
959
|
+
outputArtifacts?: TestRunOutputArtifactsOutput;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
// @public (undocumented)
|
|
963
|
+
export type TestRunCompletionPoller = SimplePollerLike<OperationState<TestRunGet200Response>, TestRunGet200Response>;
|
|
964
|
+
|
|
965
|
+
// @public
|
|
966
|
+
export interface TestRunCreateOrUpdate200Response extends HttpResponse {
|
|
967
|
+
// (undocumented)
|
|
968
|
+
body: TestRunOutput;
|
|
969
|
+
// (undocumented)
|
|
970
|
+
status: "200";
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
// @public
|
|
974
|
+
export interface TestRunCreateOrUpdate201Response extends HttpResponse {
|
|
975
|
+
// (undocumented)
|
|
976
|
+
body: TestRunOutput;
|
|
977
|
+
// (undocumented)
|
|
978
|
+
status: "201";
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
// @public (undocumented)
|
|
982
|
+
export interface TestRunCreateOrUpdateAppComponents {
|
|
983
|
+
get(options?: TestRunListAppComponentsParameters): StreamableMethod<TestRunListAppComponents200Response | TestRunListAppComponentsDefaultResponse>;
|
|
984
|
+
patch(options: TestRunCreateOrUpdateAppComponentsParameters): StreamableMethod<TestRunCreateOrUpdateAppComponents200Response | TestRunCreateOrUpdateAppComponents201Response | TestRunCreateOrUpdateAppComponentsDefaultResponse>;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
// @public
|
|
988
|
+
export interface TestRunCreateOrUpdateAppComponents200Response extends HttpResponse {
|
|
989
|
+
// (undocumented)
|
|
990
|
+
body: TestRunAppComponentsOutput;
|
|
991
|
+
// (undocumented)
|
|
992
|
+
status: "200";
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
// @public
|
|
996
|
+
export interface TestRunCreateOrUpdateAppComponents201Response extends HttpResponse {
|
|
997
|
+
// (undocumented)
|
|
998
|
+
body: TestRunAppComponentsOutput;
|
|
999
|
+
// (undocumented)
|
|
1000
|
+
status: "201";
|
|
741
1001
|
}
|
|
742
1002
|
|
|
743
1003
|
// @public (undocumented)
|
|
744
|
-
export interface
|
|
745
|
-
|
|
1004
|
+
export interface TestRunCreateOrUpdateAppComponentsBodyParam {
|
|
1005
|
+
body: TestRunAppComponents;
|
|
746
1006
|
}
|
|
747
1007
|
|
|
748
|
-
// @public
|
|
749
|
-
export interface
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
1008
|
+
// @public (undocumented)
|
|
1009
|
+
export interface TestRunCreateOrUpdateAppComponentsDefaultHeaders {
|
|
1010
|
+
"x-ms-error-code"?: string;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
// @public
|
|
1014
|
+
export interface TestRunCreateOrUpdateAppComponentsDefaultResponse extends HttpResponse {
|
|
1015
|
+
// (undocumented)
|
|
1016
|
+
body: ErrorResponseBodyOutput;
|
|
1017
|
+
// (undocumented)
|
|
1018
|
+
headers: RawHttpHeaders & TestRunCreateOrUpdateAppComponentsDefaultHeaders;
|
|
1019
|
+
// (undocumented)
|
|
1020
|
+
status: string;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
// @public (undocumented)
|
|
1024
|
+
export interface TestRunCreateOrUpdateAppComponentsMediaTypesParam {
|
|
1025
|
+
contentType?: "application/merge-patch+json";
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
// @public (undocumented)
|
|
1029
|
+
export type TestRunCreateOrUpdateAppComponentsParameters = TestRunCreateOrUpdateAppComponentsMediaTypesParam & TestRunCreateOrUpdateAppComponentsBodyParam & RequestParameters;
|
|
1030
|
+
|
|
1031
|
+
// @public (undocumented)
|
|
1032
|
+
export interface TestRunCreateOrUpdateBodyParam {
|
|
1033
|
+
body: TestRun;
|
|
754
1034
|
}
|
|
755
1035
|
|
|
756
1036
|
// @public (undocumented)
|
|
757
|
-
export interface
|
|
1037
|
+
export interface TestRunCreateOrUpdateDefaultHeaders {
|
|
758
1038
|
"x-ms-error-code"?: string;
|
|
759
1039
|
}
|
|
760
1040
|
|
|
761
1041
|
// @public
|
|
762
|
-
export interface
|
|
1042
|
+
export interface TestRunCreateOrUpdateDefaultResponse extends HttpResponse {
|
|
763
1043
|
// (undocumented)
|
|
764
1044
|
body: ErrorResponseBodyOutput;
|
|
765
1045
|
// (undocumented)
|
|
766
|
-
headers: RawHttpHeaders &
|
|
1046
|
+
headers: RawHttpHeaders & TestRunCreateOrUpdateDefaultHeaders;
|
|
767
1047
|
// (undocumented)
|
|
768
1048
|
status: string;
|
|
769
1049
|
}
|
|
770
1050
|
|
|
771
1051
|
// @public (undocumented)
|
|
772
|
-
export
|
|
773
|
-
|
|
774
|
-
// @public (undocumented)
|
|
775
|
-
export interface ServerMetricsModel {
|
|
776
|
-
metrics?: Record<string, ResourceMetricModel>;
|
|
777
|
-
name?: string;
|
|
778
|
-
testId?: string;
|
|
779
|
-
testRunId?: string;
|
|
1052
|
+
export interface TestRunCreateOrUpdateMediaTypesParam {
|
|
1053
|
+
contentType?: "application/merge-patch+json";
|
|
780
1054
|
}
|
|
781
1055
|
|
|
782
1056
|
// @public (undocumented)
|
|
783
|
-
export
|
|
784
|
-
metrics?: Record<string, ResourceMetricModelOutput>;
|
|
785
|
-
name?: string;
|
|
786
|
-
testId?: string;
|
|
787
|
-
testRunId?: string;
|
|
788
|
-
}
|
|
1057
|
+
export type TestRunCreateOrUpdateParameters = TestRunCreateOrUpdateQueryParam & TestRunCreateOrUpdateMediaTypesParam & TestRunCreateOrUpdateBodyParam & RequestParameters;
|
|
789
1058
|
|
|
790
1059
|
// @public (undocumented)
|
|
791
|
-
export interface
|
|
1060
|
+
export interface TestRunCreateOrUpdateQueryParam {
|
|
792
1061
|
// (undocumented)
|
|
793
|
-
|
|
1062
|
+
queryParameters?: TestRunCreateOrUpdateQueryParamProperties;
|
|
794
1063
|
}
|
|
795
1064
|
|
|
796
1065
|
// @public (undocumented)
|
|
797
|
-
export interface
|
|
798
|
-
|
|
799
|
-
outputArtifacts?: OutputTestArtifacts;
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
// @public (undocumented)
|
|
803
|
-
export interface TestArtifactsOutput {
|
|
804
|
-
inputArtifacts: InputTestArtifactsOutput;
|
|
805
|
-
outputArtifacts?: OutputTestArtifactsOutput;
|
|
1066
|
+
export interface TestRunCreateOrUpdateQueryParamProperties {
|
|
1067
|
+
oldTestRunId?: string;
|
|
806
1068
|
}
|
|
807
1069
|
|
|
808
1070
|
// @public (undocumented)
|
|
809
|
-
export interface
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
patch(options: TestCreateOrUpdateTestParameters): StreamableMethod<TestCreateOrUpdateTest200Response | TestCreateOrUpdateTest201Response | TestCreateOrUpdateTestdefaultResponse>;
|
|
1071
|
+
export interface TestRunCreateOrUpdateServerMetricsConfig {
|
|
1072
|
+
get(options?: TestRunListServerMetricsConfigParameters): StreamableMethod<TestRunListServerMetricsConfig200Response | TestRunListServerMetricsConfigDefaultResponse>;
|
|
1073
|
+
patch(options: TestRunCreateOrUpdateServerMetricsConfigParameters): StreamableMethod<TestRunCreateOrUpdateServerMetricsConfig200Response | TestRunCreateOrUpdateServerMetricsConfig201Response | TestRunCreateOrUpdateServerMetricsConfigDefaultResponse>;
|
|
813
1074
|
}
|
|
814
1075
|
|
|
815
1076
|
// @public
|
|
816
|
-
export interface
|
|
1077
|
+
export interface TestRunCreateOrUpdateServerMetricsConfig200Response extends HttpResponse {
|
|
817
1078
|
// (undocumented)
|
|
818
|
-
body:
|
|
1079
|
+
body: TestRunServerMetricConfigOutput;
|
|
819
1080
|
// (undocumented)
|
|
820
1081
|
status: "200";
|
|
821
1082
|
}
|
|
822
1083
|
|
|
823
1084
|
// @public
|
|
824
|
-
export interface
|
|
1085
|
+
export interface TestRunCreateOrUpdateServerMetricsConfig201Response extends HttpResponse {
|
|
825
1086
|
// (undocumented)
|
|
826
|
-
body:
|
|
1087
|
+
body: TestRunServerMetricConfigOutput;
|
|
827
1088
|
// (undocumented)
|
|
828
1089
|
status: "201";
|
|
829
1090
|
}
|
|
830
1091
|
|
|
831
1092
|
// @public (undocumented)
|
|
832
|
-
export interface
|
|
833
|
-
body:
|
|
1093
|
+
export interface TestRunCreateOrUpdateServerMetricsConfigBodyParam {
|
|
1094
|
+
body: TestRunServerMetricConfig;
|
|
834
1095
|
}
|
|
835
1096
|
|
|
836
1097
|
// @public (undocumented)
|
|
837
|
-
export interface
|
|
1098
|
+
export interface TestRunCreateOrUpdateServerMetricsConfigDefaultHeaders {
|
|
838
1099
|
"x-ms-error-code"?: string;
|
|
839
1100
|
}
|
|
840
1101
|
|
|
841
1102
|
// @public
|
|
842
|
-
export interface
|
|
1103
|
+
export interface TestRunCreateOrUpdateServerMetricsConfigDefaultResponse extends HttpResponse {
|
|
843
1104
|
// (undocumented)
|
|
844
1105
|
body: ErrorResponseBodyOutput;
|
|
845
1106
|
// (undocumented)
|
|
846
|
-
headers: RawHttpHeaders &
|
|
1107
|
+
headers: RawHttpHeaders & TestRunCreateOrUpdateServerMetricsConfigDefaultHeaders;
|
|
847
1108
|
// (undocumented)
|
|
848
1109
|
status: string;
|
|
849
1110
|
}
|
|
850
1111
|
|
|
851
1112
|
// @public (undocumented)
|
|
852
|
-
export interface
|
|
1113
|
+
export interface TestRunCreateOrUpdateServerMetricsConfigMediaTypesParam {
|
|
853
1114
|
contentType?: "application/merge-patch+json";
|
|
854
1115
|
}
|
|
855
1116
|
|
|
856
1117
|
// @public (undocumented)
|
|
857
|
-
export type
|
|
1118
|
+
export type TestRunCreateOrUpdateServerMetricsConfigParameters = TestRunCreateOrUpdateServerMetricsConfigMediaTypesParam & TestRunCreateOrUpdateServerMetricsConfigBodyParam & RequestParameters;
|
|
1119
|
+
|
|
1120
|
+
// @public (undocumented)
|
|
1121
|
+
export type TestRunCreateOrUpdateSuccessResponse = TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response;
|
|
1122
|
+
|
|
1123
|
+
// @public (undocumented)
|
|
1124
|
+
export interface TestRunDelete {
|
|
1125
|
+
delete(options?: TestRunDeleteParameters): StreamableMethod<TestRunDelete204Response | TestRunDeleteDefaultResponse>;
|
|
1126
|
+
get(options?: TestRunGetParameters): StreamableMethod<TestRunGet200Response | TestRunGetDefaultResponse>;
|
|
1127
|
+
patch(options: TestRunCreateOrUpdateParameters): StreamableMethod<TestRunCreateOrUpdate200Response | TestRunCreateOrUpdate201Response | TestRunCreateOrUpdateDefaultResponse>;
|
|
1128
|
+
}
|
|
858
1129
|
|
|
859
1130
|
// @public
|
|
860
|
-
export interface
|
|
1131
|
+
export interface TestRunDelete204Response extends HttpResponse {
|
|
861
1132
|
// (undocumented)
|
|
862
1133
|
body: Record<string, unknown>;
|
|
863
1134
|
// (undocumented)
|
|
@@ -865,560 +1136,442 @@ export interface TestDeleteLoadTest204Response extends HttpResponse {
|
|
|
865
1136
|
}
|
|
866
1137
|
|
|
867
1138
|
// @public (undocumented)
|
|
868
|
-
export interface
|
|
1139
|
+
export interface TestRunDeleteDefaultHeaders {
|
|
869
1140
|
"x-ms-error-code"?: string;
|
|
870
1141
|
}
|
|
871
1142
|
|
|
872
1143
|
// @public
|
|
873
|
-
export interface
|
|
1144
|
+
export interface TestRunDeleteDefaultResponse extends HttpResponse {
|
|
874
1145
|
// (undocumented)
|
|
875
1146
|
body: ErrorResponseBodyOutput;
|
|
876
1147
|
// (undocumented)
|
|
877
|
-
headers: RawHttpHeaders &
|
|
1148
|
+
headers: RawHttpHeaders & TestRunDeleteDefaultHeaders;
|
|
878
1149
|
// (undocumented)
|
|
879
1150
|
status: string;
|
|
880
1151
|
}
|
|
881
1152
|
|
|
882
1153
|
// @public (undocumented)
|
|
883
|
-
export type
|
|
1154
|
+
export type TestRunDeleteParameters = RequestParameters;
|
|
884
1155
|
|
|
885
1156
|
// @public
|
|
886
|
-
export interface
|
|
1157
|
+
export interface TestRunGet200Response extends HttpResponse {
|
|
887
1158
|
// (undocumented)
|
|
888
|
-
body:
|
|
1159
|
+
body: TestRunOutput;
|
|
889
1160
|
// (undocumented)
|
|
890
|
-
status: "
|
|
1161
|
+
status: "200";
|
|
891
1162
|
}
|
|
892
1163
|
|
|
893
1164
|
// @public (undocumented)
|
|
894
|
-
export interface
|
|
1165
|
+
export interface TestRunGetDefaultHeaders {
|
|
895
1166
|
"x-ms-error-code"?: string;
|
|
896
1167
|
}
|
|
897
1168
|
|
|
898
1169
|
// @public
|
|
899
|
-
export interface
|
|
1170
|
+
export interface TestRunGetDefaultResponse extends HttpResponse {
|
|
900
1171
|
// (undocumented)
|
|
901
1172
|
body: ErrorResponseBodyOutput;
|
|
902
1173
|
// (undocumented)
|
|
903
|
-
headers: RawHttpHeaders &
|
|
1174
|
+
headers: RawHttpHeaders & TestRunGetDefaultHeaders;
|
|
904
1175
|
// (undocumented)
|
|
905
1176
|
status: string;
|
|
906
1177
|
}
|
|
907
1178
|
|
|
908
1179
|
// @public (undocumented)
|
|
909
|
-
export
|
|
1180
|
+
export interface TestRunGetFile {
|
|
1181
|
+
get(options?: TestRunGetFileParameters): StreamableMethod<TestRunGetFile200Response | TestRunGetFileDefaultResponse>;
|
|
1182
|
+
}
|
|
910
1183
|
|
|
911
1184
|
// @public
|
|
912
|
-
export interface
|
|
1185
|
+
export interface TestRunGetFile200Response extends HttpResponse {
|
|
913
1186
|
// (undocumented)
|
|
914
|
-
body:
|
|
1187
|
+
body: FileInfoOutput;
|
|
915
1188
|
// (undocumented)
|
|
916
1189
|
status: "200";
|
|
917
1190
|
}
|
|
918
1191
|
|
|
919
1192
|
// @public (undocumented)
|
|
920
|
-
export interface
|
|
1193
|
+
export interface TestRunGetFileDefaultHeaders {
|
|
921
1194
|
"x-ms-error-code"?: string;
|
|
922
1195
|
}
|
|
923
1196
|
|
|
924
1197
|
// @public
|
|
925
|
-
export interface
|
|
1198
|
+
export interface TestRunGetFileDefaultResponse extends HttpResponse {
|
|
926
1199
|
// (undocumented)
|
|
927
1200
|
body: ErrorResponseBodyOutput;
|
|
928
1201
|
// (undocumented)
|
|
929
|
-
headers: RawHttpHeaders &
|
|
1202
|
+
headers: RawHttpHeaders & TestRunGetFileDefaultHeaders;
|
|
930
1203
|
// (undocumented)
|
|
931
1204
|
status: string;
|
|
932
1205
|
}
|
|
933
1206
|
|
|
934
1207
|
// @public (undocumented)
|
|
935
|
-
export type
|
|
1208
|
+
export type TestRunGetFileParameters = RequestParameters;
|
|
1209
|
+
|
|
1210
|
+
// @public (undocumented)
|
|
1211
|
+
export type TestRunGetParameters = RequestParameters;
|
|
936
1212
|
|
|
937
1213
|
// @public
|
|
938
|
-
export interface
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
1214
|
+
export interface TestRunInputArtifacts {
|
|
1215
|
+
additionalFileInfo?: Array<FileInfo>;
|
|
1216
|
+
configFileInfo?: FileInfo;
|
|
1217
|
+
inputArtifactsZipFileInfo?: FileInfo;
|
|
1218
|
+
testScriptFileInfo?: FileInfo;
|
|
1219
|
+
userPropFileInfo?: FileInfo;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
// @public
|
|
1223
|
+
export interface TestRunInputArtifactsOutput {
|
|
1224
|
+
additionalFileInfo?: Array<FileInfoOutput>;
|
|
1225
|
+
configFileInfo?: FileInfoOutput;
|
|
1226
|
+
inputArtifactsZipFileInfo?: FileInfoOutput;
|
|
1227
|
+
testScriptFileInfo?: FileInfoOutput;
|
|
1228
|
+
userPropFileInfo?: FileInfoOutput;
|
|
943
1229
|
}
|
|
944
1230
|
|
|
945
1231
|
// @public (undocumented)
|
|
946
|
-
export interface
|
|
947
|
-
|
|
1232
|
+
export interface TestRunList {
|
|
1233
|
+
get(options?: TestRunListParameters): StreamableMethod<TestRunList200Response | TestRunListDefaultResponse>;
|
|
948
1234
|
}
|
|
949
1235
|
|
|
950
1236
|
// @public
|
|
951
|
-
export interface
|
|
952
|
-
// (undocumented)
|
|
953
|
-
body: ErrorResponseBodyOutput;
|
|
1237
|
+
export interface TestRunList200Response extends HttpResponse {
|
|
954
1238
|
// (undocumented)
|
|
955
|
-
|
|
1239
|
+
body: TestRunsListOutput;
|
|
956
1240
|
// (undocumented)
|
|
957
|
-
status:
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
// @public (undocumented)
|
|
961
|
-
export type TestGetTestFileParameters = RequestParameters;
|
|
962
|
-
|
|
963
|
-
// @public (undocumented)
|
|
964
|
-
export interface TestListLoadTestSearch {
|
|
965
|
-
get(options?: TestListLoadTestSearchParameters): StreamableMethod<TestListLoadTestSearch200Response | TestListLoadTestSearchdefaultResponse>;
|
|
1241
|
+
status: "200";
|
|
966
1242
|
}
|
|
967
1243
|
|
|
968
1244
|
// @public
|
|
969
|
-
export interface
|
|
1245
|
+
export interface TestRunListAppComponents200Response extends HttpResponse {
|
|
970
1246
|
// (undocumented)
|
|
971
|
-
body:
|
|
1247
|
+
body: TestRunAppComponentsOutput;
|
|
972
1248
|
// (undocumented)
|
|
973
1249
|
status: "200";
|
|
974
1250
|
}
|
|
975
1251
|
|
|
976
1252
|
// @public (undocumented)
|
|
977
|
-
export interface
|
|
1253
|
+
export interface TestRunListAppComponentsDefaultHeaders {
|
|
978
1254
|
"x-ms-error-code"?: string;
|
|
979
1255
|
}
|
|
980
1256
|
|
|
981
1257
|
// @public
|
|
982
|
-
export interface
|
|
1258
|
+
export interface TestRunListAppComponentsDefaultResponse extends HttpResponse {
|
|
983
1259
|
// (undocumented)
|
|
984
1260
|
body: ErrorResponseBodyOutput;
|
|
985
1261
|
// (undocumented)
|
|
986
|
-
headers: RawHttpHeaders &
|
|
1262
|
+
headers: RawHttpHeaders & TestRunListAppComponentsDefaultHeaders;
|
|
987
1263
|
// (undocumented)
|
|
988
1264
|
status: string;
|
|
989
1265
|
}
|
|
990
1266
|
|
|
991
1267
|
// @public (undocumented)
|
|
992
|
-
export type
|
|
1268
|
+
export type TestRunListAppComponentsParameters = RequestParameters;
|
|
993
1269
|
|
|
994
1270
|
// @public (undocumented)
|
|
995
|
-
export interface
|
|
996
|
-
|
|
997
|
-
queryParameters?: TestListLoadTestSearchQueryParamProperties;
|
|
1271
|
+
export interface TestRunListDefaultHeaders {
|
|
1272
|
+
"x-ms-error-code"?: string;
|
|
998
1273
|
}
|
|
999
1274
|
|
|
1000
|
-
// @public
|
|
1001
|
-
export interface
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1275
|
+
// @public
|
|
1276
|
+
export interface TestRunListDefaultResponse extends HttpResponse {
|
|
1277
|
+
// (undocumented)
|
|
1278
|
+
body: ErrorResponseBodyOutput;
|
|
1279
|
+
// (undocumented)
|
|
1280
|
+
headers: RawHttpHeaders & TestRunListDefaultHeaders;
|
|
1281
|
+
// (undocumented)
|
|
1282
|
+
status: string;
|
|
1008
1283
|
}
|
|
1009
1284
|
|
|
1010
1285
|
// @public (undocumented)
|
|
1011
|
-
export interface
|
|
1012
|
-
get(options
|
|
1286
|
+
export interface TestRunListMetricDefinitions {
|
|
1287
|
+
get(options: TestRunListMetricDefinitionsParameters): StreamableMethod<TestRunListMetricDefinitions200Response | TestRunListMetricDefinitionsDefaultResponse>;
|
|
1013
1288
|
}
|
|
1014
1289
|
|
|
1015
1290
|
// @public
|
|
1016
|
-
export interface
|
|
1291
|
+
export interface TestRunListMetricDefinitions200Response extends HttpResponse {
|
|
1017
1292
|
// (undocumented)
|
|
1018
|
-
body:
|
|
1293
|
+
body: MetricDefinitionCollectionOutput;
|
|
1019
1294
|
// (undocumented)
|
|
1020
1295
|
status: "200";
|
|
1021
1296
|
}
|
|
1022
1297
|
|
|
1023
1298
|
// @public (undocumented)
|
|
1024
|
-
export interface
|
|
1299
|
+
export interface TestRunListMetricDefinitionsDefaultHeaders {
|
|
1025
1300
|
"x-ms-error-code"?: string;
|
|
1026
1301
|
}
|
|
1027
1302
|
|
|
1028
1303
|
// @public
|
|
1029
|
-
export interface
|
|
1304
|
+
export interface TestRunListMetricDefinitionsDefaultResponse extends HttpResponse {
|
|
1030
1305
|
// (undocumented)
|
|
1031
1306
|
body: ErrorResponseBodyOutput;
|
|
1032
1307
|
// (undocumented)
|
|
1033
|
-
headers: RawHttpHeaders &
|
|
1308
|
+
headers: RawHttpHeaders & TestRunListMetricDefinitionsDefaultHeaders;
|
|
1034
1309
|
// (undocumented)
|
|
1035
1310
|
status: string;
|
|
1036
1311
|
}
|
|
1037
1312
|
|
|
1038
1313
|
// @public (undocumented)
|
|
1039
|
-
export type
|
|
1314
|
+
export type TestRunListMetricDefinitionsParameters = TestRunListMetricDefinitionsQueryParam & RequestParameters;
|
|
1040
1315
|
|
|
1041
1316
|
// @public (undocumented)
|
|
1042
|
-
export interface
|
|
1317
|
+
export interface TestRunListMetricDefinitionsQueryParam {
|
|
1043
1318
|
// (undocumented)
|
|
1044
|
-
queryParameters
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
// @public (undocumented)
|
|
1048
|
-
export interface TestListTestFilesQueryParamProperties {
|
|
1049
|
-
continuationToken?: string;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
// @public (undocumented)
|
|
1053
|
-
export interface TestModel {
|
|
1054
|
-
createdBy?: string;
|
|
1055
|
-
createdDateTime?: Date | string;
|
|
1056
|
-
description?: string;
|
|
1057
|
-
displayName?: string;
|
|
1058
|
-
environmentVariables?: Record<string, string>;
|
|
1059
|
-
inputArtifacts?: InputTestArtifacts;
|
|
1060
|
-
keyvaultReferenceIdentityId?: string;
|
|
1061
|
-
keyvaultReferenceIdentityType?: string;
|
|
1062
|
-
lastModifiedBy?: string;
|
|
1063
|
-
lastModifiedDateTime?: Date | string;
|
|
1064
|
-
loadTestConfig?: LoadTestConfig;
|
|
1065
|
-
passFailCriteria?: PassFailCriteria;
|
|
1066
|
-
resourceId?: string;
|
|
1067
|
-
secrets?: Record<string, SecretMetadata>;
|
|
1068
|
-
subnetId?: string;
|
|
1069
|
-
testId?: string;
|
|
1319
|
+
queryParameters: TestRunListMetricDefinitionsQueryParamProperties;
|
|
1070
1320
|
}
|
|
1071
1321
|
|
|
1072
1322
|
// @public (undocumented)
|
|
1073
|
-
export interface
|
|
1074
|
-
|
|
1075
|
-
createdDateTime?: string;
|
|
1076
|
-
description?: string;
|
|
1077
|
-
displayName?: string;
|
|
1078
|
-
environmentVariables?: Record<string, string>;
|
|
1079
|
-
inputArtifacts?: InputTestArtifactsOutput;
|
|
1080
|
-
keyvaultReferenceIdentityId?: string;
|
|
1081
|
-
keyvaultReferenceIdentityType?: string;
|
|
1082
|
-
lastModifiedBy?: string;
|
|
1083
|
-
lastModifiedDateTime?: string;
|
|
1084
|
-
loadTestConfig?: LoadTestConfigOutput;
|
|
1085
|
-
passFailCriteria?: PassFailCriteriaOutput;
|
|
1086
|
-
resourceId?: string;
|
|
1087
|
-
secrets?: Record<string, SecretMetadataOutput>;
|
|
1088
|
-
subnetId?: string;
|
|
1089
|
-
testId?: string;
|
|
1323
|
+
export interface TestRunListMetricDefinitionsQueryParamProperties {
|
|
1324
|
+
metricNamespace: string;
|
|
1090
1325
|
}
|
|
1091
1326
|
|
|
1092
1327
|
// @public (undocumented)
|
|
1093
|
-
export interface
|
|
1094
|
-
|
|
1095
|
-
value: Array<TestModelOutput>;
|
|
1328
|
+
export interface TestRunListMetricDimensionValues {
|
|
1329
|
+
get(options: TestRunListMetricDimensionValuesParameters): StreamableMethod<TestRunListMetricDimensionValues200Response | TestRunListMetricDimensionValuesDefaultResponse>;
|
|
1096
1330
|
}
|
|
1097
1331
|
|
|
1098
1332
|
// @public
|
|
1099
|
-
export interface
|
|
1333
|
+
export interface TestRunListMetricDimensionValues200Response extends HttpResponse {
|
|
1100
1334
|
// (undocumented)
|
|
1101
|
-
body:
|
|
1335
|
+
body: DimensionValueListOutput;
|
|
1102
1336
|
// (undocumented)
|
|
1103
1337
|
status: "200";
|
|
1104
1338
|
}
|
|
1105
1339
|
|
|
1106
1340
|
// @public (undocumented)
|
|
1107
|
-
export interface
|
|
1108
|
-
body: TestRunModel;
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
// @public (undocumented)
|
|
1112
|
-
export interface TestRunCreateOrUpdateTestRundefaultHeaders {
|
|
1341
|
+
export interface TestRunListMetricDimensionValuesDefaultHeaders {
|
|
1113
1342
|
"x-ms-error-code"?: string;
|
|
1114
1343
|
}
|
|
1115
1344
|
|
|
1116
1345
|
// @public
|
|
1117
|
-
export interface
|
|
1346
|
+
export interface TestRunListMetricDimensionValuesDefaultResponse extends HttpResponse {
|
|
1118
1347
|
// (undocumented)
|
|
1119
1348
|
body: ErrorResponseBodyOutput;
|
|
1120
1349
|
// (undocumented)
|
|
1121
|
-
headers: RawHttpHeaders &
|
|
1350
|
+
headers: RawHttpHeaders & TestRunListMetricDimensionValuesDefaultHeaders;
|
|
1122
1351
|
// (undocumented)
|
|
1123
1352
|
status: string;
|
|
1124
1353
|
}
|
|
1125
1354
|
|
|
1126
1355
|
// @public (undocumented)
|
|
1127
|
-
export
|
|
1128
|
-
contentType?: "application/merge-patch+json";
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
// @public (undocumented)
|
|
1132
|
-
export type TestRunCreateOrUpdateTestRunParameters = TestRunCreateOrUpdateTestRunQueryParam & TestRunCreateOrUpdateTestRunMediaTypesParam & TestRunCreateOrUpdateTestRunBodyParam & RequestParameters;
|
|
1356
|
+
export type TestRunListMetricDimensionValuesParameters = TestRunListMetricDimensionValuesQueryParam & RequestParameters;
|
|
1133
1357
|
|
|
1134
1358
|
// @public (undocumented)
|
|
1135
|
-
export interface
|
|
1359
|
+
export interface TestRunListMetricDimensionValuesQueryParam {
|
|
1136
1360
|
// (undocumented)
|
|
1137
|
-
queryParameters
|
|
1361
|
+
queryParameters: TestRunListMetricDimensionValuesQueryParamProperties;
|
|
1138
1362
|
}
|
|
1139
1363
|
|
|
1140
1364
|
// @public (undocumented)
|
|
1141
|
-
export interface
|
|
1142
|
-
|
|
1365
|
+
export interface TestRunListMetricDimensionValuesQueryParamProperties {
|
|
1366
|
+
interval?: "PT5S" | "PT10S" | "PT1M" | "PT5M" | "PT1H";
|
|
1367
|
+
metricname: string;
|
|
1368
|
+
metricNamespace: string;
|
|
1369
|
+
timespan: string;
|
|
1143
1370
|
}
|
|
1144
1371
|
|
|
1145
1372
|
// @public (undocumented)
|
|
1146
|
-
export interface
|
|
1147
|
-
|
|
1148
|
-
get(options?: TestRunGetTestRunParameters): StreamableMethod<TestRunGetTestRun200Response | TestRunGetTestRundefaultResponse>;
|
|
1149
|
-
patch(options: TestRunCreateOrUpdateTestRunParameters): StreamableMethod<TestRunCreateOrUpdateTestRun200Response | TestRunCreateOrUpdateTestRundefaultResponse>;
|
|
1373
|
+
export interface TestRunListMetricNamespaces {
|
|
1374
|
+
get(options?: TestRunListMetricNamespacesParameters): StreamableMethod<TestRunListMetricNamespaces200Response | TestRunListMetricNamespacesDefaultResponse>;
|
|
1150
1375
|
}
|
|
1151
1376
|
|
|
1152
1377
|
// @public
|
|
1153
|
-
export interface
|
|
1378
|
+
export interface TestRunListMetricNamespaces200Response extends HttpResponse {
|
|
1154
1379
|
// (undocumented)
|
|
1155
|
-
body:
|
|
1380
|
+
body: MetricNamespaceCollectionOutput;
|
|
1156
1381
|
// (undocumented)
|
|
1157
|
-
status: "
|
|
1382
|
+
status: "200";
|
|
1158
1383
|
}
|
|
1159
1384
|
|
|
1160
1385
|
// @public (undocumented)
|
|
1161
|
-
export interface
|
|
1386
|
+
export interface TestRunListMetricNamespacesDefaultHeaders {
|
|
1162
1387
|
"x-ms-error-code"?: string;
|
|
1163
1388
|
}
|
|
1164
1389
|
|
|
1165
1390
|
// @public
|
|
1166
|
-
export interface
|
|
1391
|
+
export interface TestRunListMetricNamespacesDefaultResponse extends HttpResponse {
|
|
1167
1392
|
// (undocumented)
|
|
1168
1393
|
body: ErrorResponseBodyOutput;
|
|
1169
1394
|
// (undocumented)
|
|
1170
|
-
headers: RawHttpHeaders &
|
|
1395
|
+
headers: RawHttpHeaders & TestRunListMetricNamespacesDefaultHeaders;
|
|
1171
1396
|
// (undocumented)
|
|
1172
1397
|
status: string;
|
|
1173
1398
|
}
|
|
1174
1399
|
|
|
1175
1400
|
// @public (undocumented)
|
|
1176
|
-
export type
|
|
1177
|
-
|
|
1178
|
-
// @public
|
|
1179
|
-
export interface TestRunGetTestRun200Response extends HttpResponse {
|
|
1180
|
-
// (undocumented)
|
|
1181
|
-
body: TestRunModelOutput;
|
|
1182
|
-
// (undocumented)
|
|
1183
|
-
status: "200";
|
|
1184
|
-
}
|
|
1401
|
+
export type TestRunListMetricNamespacesParameters = RequestParameters;
|
|
1185
1402
|
|
|
1186
1403
|
// @public (undocumented)
|
|
1187
|
-
export interface
|
|
1188
|
-
post(options:
|
|
1404
|
+
export interface TestRunListMetrics {
|
|
1405
|
+
post(options: TestRunListMetricsParameters): StreamableMethod<TestRunListMetrics200Response | TestRunListMetricsDefaultResponse>;
|
|
1189
1406
|
}
|
|
1190
1407
|
|
|
1191
1408
|
// @public
|
|
1192
|
-
export interface
|
|
1409
|
+
export interface TestRunListMetrics200Response extends HttpResponse {
|
|
1193
1410
|
// (undocumented)
|
|
1194
|
-
body:
|
|
1411
|
+
body: MetricsOutput;
|
|
1195
1412
|
// (undocumented)
|
|
1196
1413
|
status: "200";
|
|
1197
1414
|
}
|
|
1198
1415
|
|
|
1199
1416
|
// @public (undocumented)
|
|
1200
|
-
export interface
|
|
1201
|
-
body
|
|
1417
|
+
export interface TestRunListMetricsBodyParam {
|
|
1418
|
+
body?: MetricRequestPayload;
|
|
1202
1419
|
}
|
|
1203
1420
|
|
|
1204
1421
|
// @public (undocumented)
|
|
1205
|
-
export interface
|
|
1422
|
+
export interface TestRunListMetricsDefaultHeaders {
|
|
1206
1423
|
"x-ms-error-code"?: string;
|
|
1207
1424
|
}
|
|
1208
1425
|
|
|
1209
1426
|
// @public
|
|
1210
|
-
export interface
|
|
1427
|
+
export interface TestRunListMetricsDefaultResponse extends HttpResponse {
|
|
1211
1428
|
// (undocumented)
|
|
1212
1429
|
body: ErrorResponseBodyOutput;
|
|
1213
1430
|
// (undocumented)
|
|
1214
|
-
headers: RawHttpHeaders &
|
|
1431
|
+
headers: RawHttpHeaders & TestRunListMetricsDefaultHeaders;
|
|
1215
1432
|
// (undocumented)
|
|
1216
1433
|
status: string;
|
|
1217
1434
|
}
|
|
1218
1435
|
|
|
1219
1436
|
// @public (undocumented)
|
|
1220
|
-
export interface
|
|
1221
|
-
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
// @public
|
|
1225
|
-
export interface TestRunGetTestRunClientMetricsFilters200Response extends HttpResponse {
|
|
1226
|
-
// (undocumented)
|
|
1227
|
-
body: ClientMetricsFiltersOutput;
|
|
1228
|
-
// (undocumented)
|
|
1229
|
-
status: "200";
|
|
1437
|
+
export interface TestRunListMetricsMediaTypesParam {
|
|
1438
|
+
contentType?: "application/json";
|
|
1230
1439
|
}
|
|
1231
1440
|
|
|
1232
1441
|
// @public (undocumented)
|
|
1233
|
-
export
|
|
1234
|
-
"x-ms-error-code"?: string;
|
|
1235
|
-
}
|
|
1442
|
+
export type TestRunListMetricsParameters = TestRunListMetricsQueryParam & TestRunListMetricsMediaTypesParam & TestRunListMetricsBodyParam & RequestParameters;
|
|
1236
1443
|
|
|
1237
|
-
// @public
|
|
1238
|
-
export interface
|
|
1239
|
-
// (undocumented)
|
|
1240
|
-
body: ErrorResponseBodyOutput;
|
|
1241
|
-
// (undocumented)
|
|
1242
|
-
headers: RawHttpHeaders & TestRunGetTestRunClientMetricsFiltersdefaultHeaders;
|
|
1444
|
+
// @public (undocumented)
|
|
1445
|
+
export interface TestRunListMetricsQueryParam {
|
|
1243
1446
|
// (undocumented)
|
|
1244
|
-
|
|
1447
|
+
queryParameters: TestRunListMetricsQueryParamProperties;
|
|
1245
1448
|
}
|
|
1246
1449
|
|
|
1247
1450
|
// @public (undocumented)
|
|
1248
|
-
export
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1451
|
+
export interface TestRunListMetricsQueryParamProperties {
|
|
1452
|
+
aggregation?: string;
|
|
1453
|
+
interval?: "PT5S" | "PT10S" | "PT1M" | "PT5M" | "PT1H";
|
|
1454
|
+
metricname: string;
|
|
1455
|
+
metricNamespace: string;
|
|
1456
|
+
timespan: string;
|
|
1253
1457
|
}
|
|
1254
1458
|
|
|
1255
1459
|
// @public (undocumented)
|
|
1256
|
-
export type
|
|
1460
|
+
export type TestRunListParameters = TestRunListQueryParam & RequestParameters;
|
|
1257
1461
|
|
|
1258
1462
|
// @public (undocumented)
|
|
1259
|
-
export interface
|
|
1260
|
-
"x-ms-error-code"?: string;
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
// @public
|
|
1264
|
-
export interface TestRunGetTestRundefaultResponse extends HttpResponse {
|
|
1463
|
+
export interface TestRunListQueryParam {
|
|
1265
1464
|
// (undocumented)
|
|
1266
|
-
|
|
1267
|
-
// (undocumented)
|
|
1268
|
-
headers: RawHttpHeaders & TestRunGetTestRundefaultHeaders;
|
|
1269
|
-
// (undocumented)
|
|
1270
|
-
status: string;
|
|
1465
|
+
queryParameters?: TestRunListQueryParamProperties;
|
|
1271
1466
|
}
|
|
1272
1467
|
|
|
1273
1468
|
// @public (undocumented)
|
|
1274
|
-
export interface
|
|
1275
|
-
|
|
1469
|
+
export interface TestRunListQueryParamProperties {
|
|
1470
|
+
continuationToken?: string;
|
|
1471
|
+
executionFrom?: Date | string;
|
|
1472
|
+
executionTo?: Date | string;
|
|
1473
|
+
maxpagesize?: number;
|
|
1474
|
+
orderby?: string;
|
|
1475
|
+
search?: string;
|
|
1476
|
+
status?: string;
|
|
1477
|
+
testId?: string;
|
|
1276
1478
|
}
|
|
1277
1479
|
|
|
1278
1480
|
// @public
|
|
1279
|
-
export interface
|
|
1481
|
+
export interface TestRunListServerMetricsConfig200Response extends HttpResponse {
|
|
1280
1482
|
// (undocumented)
|
|
1281
|
-
body:
|
|
1483
|
+
body: TestRunServerMetricConfigOutput;
|
|
1282
1484
|
// (undocumented)
|
|
1283
1485
|
status: "200";
|
|
1284
1486
|
}
|
|
1285
1487
|
|
|
1286
1488
|
// @public (undocumented)
|
|
1287
|
-
export interface
|
|
1489
|
+
export interface TestRunListServerMetricsConfigDefaultHeaders {
|
|
1288
1490
|
"x-ms-error-code"?: string;
|
|
1289
1491
|
}
|
|
1290
1492
|
|
|
1291
1493
|
// @public
|
|
1292
|
-
export interface
|
|
1494
|
+
export interface TestRunListServerMetricsConfigDefaultResponse extends HttpResponse {
|
|
1293
1495
|
// (undocumented)
|
|
1294
1496
|
body: ErrorResponseBodyOutput;
|
|
1295
1497
|
// (undocumented)
|
|
1296
|
-
headers: RawHttpHeaders &
|
|
1498
|
+
headers: RawHttpHeaders & TestRunListServerMetricsConfigDefaultHeaders;
|
|
1297
1499
|
// (undocumented)
|
|
1298
1500
|
status: string;
|
|
1299
1501
|
}
|
|
1300
1502
|
|
|
1301
1503
|
// @public (undocumented)
|
|
1302
|
-
export type
|
|
1303
|
-
|
|
1304
|
-
// @public (undocumented)
|
|
1305
|
-
export type TestRunGetTestRunParameters = RequestParameters;
|
|
1306
|
-
|
|
1307
|
-
// @public (undocumented)
|
|
1308
|
-
export interface TestRunListTestRuns {
|
|
1309
|
-
get(options?: TestRunListTestRunsParameters): StreamableMethod<TestRunListTestRuns200Response | TestRunListTestRunsdefaultResponse>;
|
|
1310
|
-
}
|
|
1504
|
+
export type TestRunListServerMetricsConfigParameters = RequestParameters;
|
|
1311
1505
|
|
|
1312
1506
|
// @public
|
|
1313
|
-
export interface
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1507
|
+
export interface TestRunOutput {
|
|
1508
|
+
certificate?: CertificateMetadataOutput;
|
|
1509
|
+
createdBy?: string;
|
|
1510
|
+
createdDateTime?: string;
|
|
1511
|
+
description?: string;
|
|
1512
|
+
displayName?: string;
|
|
1513
|
+
duration?: number;
|
|
1514
|
+
endDateTime?: string;
|
|
1515
|
+
environmentVariables?: Record<string, string>;
|
|
1516
|
+
errorDetails?: Array<ErrorDetailsOutput>;
|
|
1517
|
+
executedDateTime?: string;
|
|
1518
|
+
lastModifiedBy?: string;
|
|
1519
|
+
lastModifiedDateTime?: string;
|
|
1520
|
+
loadTestConfiguration?: LoadTestConfigurationOutput;
|
|
1521
|
+
passFailCriteria?: PassFailCriteriaOutput;
|
|
1522
|
+
portalUrl?: string;
|
|
1523
|
+
secrets?: Record<string, SecretOutput>;
|
|
1524
|
+
startDateTime?: string;
|
|
1525
|
+
status?: "ACCEPTED" | "NOTSTARTED" | "PROVISIONING" | "PROVISIONED" | "CONFIGURING" | "CONFIGURED" | "EXECUTING" | "EXECUTED" | "DEPROVISIONING" | "DEPROVISIONED" | "DONE" | "CANCELLING" | "CANCELLED" | "FAILED" | "VALIDATION_SUCCESS" | "VALIDATION_FAILURE";
|
|
1526
|
+
subnetId?: string;
|
|
1527
|
+
testArtifacts?: TestRunArtifactsOutput;
|
|
1528
|
+
testId?: string;
|
|
1529
|
+
testResult?: "PASSED" | "NOT_APPLICABLE" | "FAILED";
|
|
1530
|
+
testRunId?: string;
|
|
1531
|
+
testRunStatistics?: Record<string, TestRunStatisticsOutput>;
|
|
1532
|
+
virtualUsers?: number;
|
|
1323
1533
|
}
|
|
1324
1534
|
|
|
1325
1535
|
// @public
|
|
1326
|
-
export interface
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
// (undocumented)
|
|
1330
|
-
headers: RawHttpHeaders & TestRunListTestRunsdefaultHeaders;
|
|
1331
|
-
// (undocumented)
|
|
1332
|
-
status: string;
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
// @public (undocumented)
|
|
1336
|
-
export type TestRunListTestRunsParameters = TestRunListTestRunsQueryParam & RequestParameters;
|
|
1337
|
-
|
|
1338
|
-
// @public (undocumented)
|
|
1339
|
-
export interface TestRunListTestRunsQueryParam {
|
|
1340
|
-
// (undocumented)
|
|
1341
|
-
queryParameters?: TestRunListTestRunsQueryParamProperties;
|
|
1536
|
+
export interface TestRunOutputArtifacts {
|
|
1537
|
+
logsFileInfo?: FileInfo;
|
|
1538
|
+
resultFileInfo?: FileInfo;
|
|
1342
1539
|
}
|
|
1343
1540
|
|
|
1344
|
-
// @public
|
|
1345
|
-
export interface
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
executionTo?: Date | string;
|
|
1349
|
-
maxPageSize?: number;
|
|
1350
|
-
orderBy?: string;
|
|
1351
|
-
search?: string;
|
|
1352
|
-
status?: string;
|
|
1353
|
-
testId?: string;
|
|
1541
|
+
// @public
|
|
1542
|
+
export interface TestRunOutputArtifactsOutput {
|
|
1543
|
+
logsFileInfo?: FileInfoOutput;
|
|
1544
|
+
resultFileInfo?: FileInfoOutput;
|
|
1354
1545
|
}
|
|
1355
1546
|
|
|
1356
|
-
// @public
|
|
1357
|
-
export interface
|
|
1547
|
+
// @public
|
|
1548
|
+
export interface TestRunServerMetricConfig {
|
|
1358
1549
|
createdBy?: string;
|
|
1359
1550
|
createdDateTime?: Date | string;
|
|
1360
|
-
description?: string;
|
|
1361
|
-
displayName?: string;
|
|
1362
|
-
duration?: number;
|
|
1363
|
-
endDateTime?: Date | string;
|
|
1364
|
-
environmentVariables?: Record<string, string>;
|
|
1365
|
-
executedDateTime?: Date | string;
|
|
1366
1551
|
lastModifiedBy?: string;
|
|
1367
1552
|
lastModifiedDateTime?: Date | string;
|
|
1368
|
-
|
|
1369
|
-
passFailCriteria?: PassFailCriteria;
|
|
1370
|
-
portalUrl?: string;
|
|
1371
|
-
resourceId?: string;
|
|
1372
|
-
secrets?: Record<string, SecretMetadata>;
|
|
1373
|
-
startDateTime?: Date | string;
|
|
1374
|
-
status?: string;
|
|
1375
|
-
subnetId?: string;
|
|
1376
|
-
// (undocumented)
|
|
1377
|
-
testArtifacts?: TestArtifacts;
|
|
1378
|
-
testId?: string;
|
|
1379
|
-
testResult?: string;
|
|
1553
|
+
metrics?: Record<string, ResourceMetric>;
|
|
1380
1554
|
testRunId?: string;
|
|
1381
|
-
testRunStatistics?: Record<string, TestRunStatisticsModel>;
|
|
1382
|
-
vusers?: number;
|
|
1383
1555
|
}
|
|
1384
1556
|
|
|
1385
|
-
// @public
|
|
1386
|
-
export interface
|
|
1557
|
+
// @public
|
|
1558
|
+
export interface TestRunServerMetricConfigOutput {
|
|
1387
1559
|
createdBy?: string;
|
|
1388
1560
|
createdDateTime?: string;
|
|
1389
|
-
description?: string;
|
|
1390
|
-
displayName?: string;
|
|
1391
|
-
duration?: number;
|
|
1392
|
-
endDateTime?: string;
|
|
1393
|
-
environmentVariables?: Record<string, string>;
|
|
1394
|
-
executedDateTime?: string;
|
|
1395
1561
|
lastModifiedBy?: string;
|
|
1396
1562
|
lastModifiedDateTime?: string;
|
|
1397
|
-
|
|
1398
|
-
passFailCriteria?: PassFailCriteriaOutput;
|
|
1399
|
-
portalUrl?: string;
|
|
1400
|
-
resourceId?: string;
|
|
1401
|
-
secrets?: Record<string, SecretMetadataOutput>;
|
|
1402
|
-
startDateTime?: string;
|
|
1403
|
-
status?: string;
|
|
1404
|
-
subnetId?: string;
|
|
1405
|
-
// (undocumented)
|
|
1406
|
-
testArtifacts?: TestArtifactsOutput;
|
|
1407
|
-
testId?: string;
|
|
1408
|
-
testResult?: string;
|
|
1563
|
+
metrics?: Record<string, ResourceMetricOutput>;
|
|
1409
1564
|
testRunId?: string;
|
|
1410
|
-
testRunStatistics?: Record<string, TestRunStatisticsModelOutput>;
|
|
1411
|
-
vusers?: number;
|
|
1412
1565
|
}
|
|
1413
1566
|
|
|
1414
|
-
// @public
|
|
1415
|
-
export interface
|
|
1567
|
+
// @public
|
|
1568
|
+
export interface TestRunsListOutput {
|
|
1416
1569
|
nextLink?: string;
|
|
1417
|
-
value: Array<
|
|
1570
|
+
value: Array<TestRunOutput>;
|
|
1418
1571
|
}
|
|
1419
1572
|
|
|
1420
|
-
// @public
|
|
1421
|
-
export interface
|
|
1573
|
+
// @public
|
|
1574
|
+
export interface TestRunStatistics {
|
|
1422
1575
|
errorCount?: number;
|
|
1423
1576
|
errorPct?: number;
|
|
1424
1577
|
maxResTime?: number;
|
|
@@ -1435,8 +1588,8 @@ export interface TestRunStatisticsModel {
|
|
|
1435
1588
|
transaction?: string;
|
|
1436
1589
|
}
|
|
1437
1590
|
|
|
1438
|
-
// @public
|
|
1439
|
-
export interface
|
|
1591
|
+
// @public
|
|
1592
|
+
export interface TestRunStatisticsOutput {
|
|
1440
1593
|
errorCount?: number;
|
|
1441
1594
|
errorPct?: number;
|
|
1442
1595
|
maxResTime?: number;
|
|
@@ -1454,106 +1607,123 @@ export interface TestRunStatisticsModelOutput {
|
|
|
1454
1607
|
}
|
|
1455
1608
|
|
|
1456
1609
|
// @public (undocumented)
|
|
1457
|
-
export interface
|
|
1458
|
-
post(options?:
|
|
1610
|
+
export interface TestRunStop {
|
|
1611
|
+
post(options?: TestRunStopParameters): StreamableMethod<TestRunStop200Response | TestRunStopDefaultResponse>;
|
|
1459
1612
|
}
|
|
1460
1613
|
|
|
1461
1614
|
// @public
|
|
1462
|
-
export interface
|
|
1615
|
+
export interface TestRunStop200Response extends HttpResponse {
|
|
1463
1616
|
// (undocumented)
|
|
1464
|
-
body:
|
|
1617
|
+
body: TestRunOutput;
|
|
1465
1618
|
// (undocumented)
|
|
1466
1619
|
status: "200";
|
|
1467
1620
|
}
|
|
1468
1621
|
|
|
1469
1622
|
// @public (undocumented)
|
|
1470
|
-
export interface
|
|
1623
|
+
export interface TestRunStopDefaultHeaders {
|
|
1471
1624
|
"x-ms-error-code"?: string;
|
|
1472
1625
|
}
|
|
1473
1626
|
|
|
1474
1627
|
// @public
|
|
1475
|
-
export interface
|
|
1628
|
+
export interface TestRunStopDefaultResponse extends HttpResponse {
|
|
1476
1629
|
// (undocumented)
|
|
1477
1630
|
body: ErrorResponseBodyOutput;
|
|
1478
1631
|
// (undocumented)
|
|
1479
|
-
headers: RawHttpHeaders &
|
|
1632
|
+
headers: RawHttpHeaders & TestRunStopDefaultHeaders;
|
|
1480
1633
|
// (undocumented)
|
|
1481
1634
|
status: string;
|
|
1482
1635
|
}
|
|
1483
1636
|
|
|
1484
1637
|
// @public (undocumented)
|
|
1485
|
-
export type
|
|
1638
|
+
export type TestRunStopParameters = RequestParameters;
|
|
1639
|
+
|
|
1640
|
+
// @public
|
|
1641
|
+
export interface TestServerMetricConfig {
|
|
1642
|
+
createdBy?: string;
|
|
1643
|
+
createdDateTime?: Date | string;
|
|
1644
|
+
lastModifiedBy?: string;
|
|
1645
|
+
lastModifiedDateTime?: Date | string;
|
|
1646
|
+
metrics?: Record<string, ResourceMetric>;
|
|
1647
|
+
testId?: string;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
// @public
|
|
1651
|
+
export interface TestServerMetricConfigOutput {
|
|
1652
|
+
createdBy?: string;
|
|
1653
|
+
createdDateTime?: string;
|
|
1654
|
+
lastModifiedBy?: string;
|
|
1655
|
+
lastModifiedDateTime?: string;
|
|
1656
|
+
metrics?: Record<string, ResourceMetricOutput>;
|
|
1657
|
+
testId?: string;
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
// @public
|
|
1661
|
+
export interface TestsListOutput {
|
|
1662
|
+
nextLink?: string;
|
|
1663
|
+
value: Array<TestOutput>;
|
|
1664
|
+
}
|
|
1486
1665
|
|
|
1487
1666
|
// @public (undocumented)
|
|
1488
|
-
export interface
|
|
1489
|
-
delete(options?:
|
|
1490
|
-
get(options?:
|
|
1491
|
-
put(options:
|
|
1667
|
+
export interface TestUploadFile {
|
|
1668
|
+
delete(options?: TestDeleteFileParameters): StreamableMethod<TestDeleteFile204Response | TestDeleteFileDefaultResponse>;
|
|
1669
|
+
get(options?: TestGetFileParameters): StreamableMethod<TestGetFile200Response | TestGetFileDefaultResponse>;
|
|
1670
|
+
put(options: TestUploadFileParameters): StreamableMethod<TestUploadFile201Response | TestUploadFileDefaultResponse>;
|
|
1492
1671
|
}
|
|
1493
1672
|
|
|
1494
1673
|
// @public
|
|
1495
|
-
export interface
|
|
1674
|
+
export interface TestUploadFile201Response extends HttpResponse {
|
|
1496
1675
|
// (undocumented)
|
|
1497
|
-
body:
|
|
1676
|
+
body: FileInfoOutput;
|
|
1498
1677
|
// (undocumented)
|
|
1499
1678
|
status: "201";
|
|
1500
1679
|
}
|
|
1501
1680
|
|
|
1502
1681
|
// @public (undocumented)
|
|
1503
|
-
export interface
|
|
1504
|
-
|
|
1505
|
-
body: TestUploadTestFileFormBody;
|
|
1682
|
+
export interface TestUploadFileBodyParam {
|
|
1683
|
+
body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
|
|
1506
1684
|
}
|
|
1507
1685
|
|
|
1508
1686
|
// @public (undocumented)
|
|
1509
|
-
export interface
|
|
1687
|
+
export interface TestUploadFileDefaultHeaders {
|
|
1510
1688
|
"x-ms-error-code"?: string;
|
|
1511
1689
|
}
|
|
1512
1690
|
|
|
1513
1691
|
// @public
|
|
1514
|
-
export interface
|
|
1692
|
+
export interface TestUploadFileDefaultResponse extends HttpResponse {
|
|
1515
1693
|
// (undocumented)
|
|
1516
1694
|
body: ErrorResponseBodyOutput;
|
|
1517
1695
|
// (undocumented)
|
|
1518
|
-
headers: RawHttpHeaders &
|
|
1696
|
+
headers: RawHttpHeaders & TestUploadFileDefaultHeaders;
|
|
1519
1697
|
// (undocumented)
|
|
1520
1698
|
status: string;
|
|
1521
1699
|
}
|
|
1522
1700
|
|
|
1523
1701
|
// @public (undocumented)
|
|
1524
|
-
export interface
|
|
1525
|
-
|
|
1702
|
+
export interface TestUploadFileMediaTypesParam {
|
|
1703
|
+
contentType?: "application/octet-stream";
|
|
1526
1704
|
}
|
|
1527
1705
|
|
|
1528
1706
|
// @public (undocumented)
|
|
1529
|
-
export
|
|
1530
|
-
contentType?: "multipart/form-data";
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
// @public (undocumented)
|
|
1534
|
-
export type TestUploadTestFileParameters = TestUploadTestFileQueryParam & TestUploadTestFileMediaTypesParam & TestUploadTestFileBodyParam & RequestParameters;
|
|
1707
|
+
export type TestUploadFileParameters = TestUploadFileQueryParam & TestUploadFileMediaTypesParam & TestUploadFileBodyParam & RequestParameters;
|
|
1535
1708
|
|
|
1536
1709
|
// @public (undocumented)
|
|
1537
|
-
export interface
|
|
1710
|
+
export interface TestUploadFileQueryParam {
|
|
1538
1711
|
// (undocumented)
|
|
1539
|
-
queryParameters?:
|
|
1712
|
+
queryParameters?: TestUploadFileQueryParamProperties;
|
|
1540
1713
|
}
|
|
1541
1714
|
|
|
1542
1715
|
// @public (undocumented)
|
|
1543
|
-
export interface
|
|
1544
|
-
fileType?:
|
|
1716
|
+
export interface TestUploadFileQueryParamProperties {
|
|
1717
|
+
fileType?: "JMX_FILE" | "USER_PROPERTIES" | "ADDITIONAL_ARTIFACTS";
|
|
1545
1718
|
}
|
|
1546
1719
|
|
|
1547
1720
|
// @public (undocumented)
|
|
1548
|
-
export
|
|
1549
|
-
endTime?: string;
|
|
1550
|
-
startTime?: string;
|
|
1551
|
-
}
|
|
1721
|
+
export type TestUploadFileSuccessResponse = TestUploadFile201Response;
|
|
1552
1722
|
|
|
1553
|
-
// @public
|
|
1554
|
-
export interface
|
|
1555
|
-
|
|
1556
|
-
|
|
1723
|
+
// @public
|
|
1724
|
+
export interface TimeSeriesElementOutput {
|
|
1725
|
+
data?: Array<MetricValueOutput>;
|
|
1726
|
+
dimensionValues?: Array<DimensionValueOutput>;
|
|
1557
1727
|
}
|
|
1558
1728
|
|
|
1559
1729
|
// (No @packageDocumentation comment for this package)
|