@azure/arm-loadtesting 1.0.1-alpha.20250619.1 → 1.0.1-alpha.20250718.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,437 +1,437 @@
|
|
|
1
|
-
## API Report File for "@azure/arm-loadtesting"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import * as coreAuth from '@azure/core-auth';
|
|
8
|
-
import * as coreClient from '@azure/core-client';
|
|
9
|
-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
-
import { PollerLike } from '@azure/core-lro';
|
|
11
|
-
import { PollOperationState } from '@azure/core-lro';
|
|
12
|
-
|
|
13
|
-
// @public
|
|
14
|
-
export type ActionType = string;
|
|
15
|
-
|
|
16
|
-
// @public
|
|
17
|
-
export interface CheckQuotaAvailabilityResponse extends Resource {
|
|
18
|
-
availabilityStatus?: string;
|
|
19
|
-
isAvailable?: boolean;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// @public
|
|
23
|
-
export type CreatedByType = string;
|
|
24
|
-
|
|
25
|
-
// @public
|
|
26
|
-
export interface EncryptionProperties {
|
|
27
|
-
identity?: EncryptionPropertiesIdentity;
|
|
28
|
-
keyUrl?: string;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// @public
|
|
32
|
-
export interface EncryptionPropertiesIdentity {
|
|
33
|
-
resourceId?: string;
|
|
34
|
-
type?: Type;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// @public
|
|
38
|
-
export interface EndpointDependency {
|
|
39
|
-
readonly description?: string;
|
|
40
|
-
readonly domainName?: string;
|
|
41
|
-
readonly endpointDetails?: EndpointDetail[];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// @public
|
|
45
|
-
export interface EndpointDetail {
|
|
46
|
-
readonly port?: number;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// @public
|
|
50
|
-
export interface ErrorAdditionalInfo {
|
|
51
|
-
readonly info?: Record<string, unknown>;
|
|
52
|
-
readonly type?: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// @public
|
|
56
|
-
export interface ErrorDetail {
|
|
57
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
58
|
-
readonly code?: string;
|
|
59
|
-
readonly details?: ErrorDetail[];
|
|
60
|
-
readonly message?: string;
|
|
61
|
-
readonly target?: string;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// @public
|
|
65
|
-
export interface ErrorResponse {
|
|
66
|
-
error?: ErrorDetail;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// @public
|
|
70
|
-
export function getContinuationToken(page: unknown): string | undefined;
|
|
71
|
-
|
|
72
|
-
// @public
|
|
73
|
-
export enum KnownActionType {
|
|
74
|
-
Internal = "Internal"
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// @public
|
|
78
|
-
export enum KnownCreatedByType {
|
|
79
|
-
Application = "Application",
|
|
80
|
-
Key = "Key",
|
|
81
|
-
ManagedIdentity = "ManagedIdentity",
|
|
82
|
-
User = "User"
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// @public
|
|
86
|
-
export enum KnownManagedServiceIdentityType {
|
|
87
|
-
None = "None",
|
|
88
|
-
SystemAssigned = "SystemAssigned",
|
|
89
|
-
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
|
|
90
|
-
UserAssigned = "UserAssigned"
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// @public
|
|
94
|
-
export enum KnownOrigin {
|
|
95
|
-
System = "system",
|
|
96
|
-
User = "user",
|
|
97
|
-
UserSystem = "user,system"
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// @public
|
|
101
|
-
export enum KnownResourceState {
|
|
102
|
-
Canceled = "Canceled",
|
|
103
|
-
Deleted = "Deleted",
|
|
104
|
-
Failed = "Failed",
|
|
105
|
-
Succeeded = "Succeeded"
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// @public
|
|
109
|
-
export enum KnownType {
|
|
110
|
-
SystemAssigned = "SystemAssigned",
|
|
111
|
-
UserAssigned = "UserAssigned"
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// @public (undocumented)
|
|
115
|
-
export class LoadTestClient extends coreClient.ServiceClient {
|
|
116
|
-
// (undocumented)
|
|
117
|
-
$host: string;
|
|
118
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: LoadTestClientOptionalParams);
|
|
119
|
-
// (undocumented)
|
|
120
|
-
apiVersion: string;
|
|
121
|
-
// (undocumented)
|
|
122
|
-
loadTests: LoadTests;
|
|
123
|
-
// (undocumented)
|
|
124
|
-
operations: Operations;
|
|
125
|
-
// (undocumented)
|
|
126
|
-
quotas: Quotas;
|
|
127
|
-
// (undocumented)
|
|
128
|
-
subscriptionId: string;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// @public
|
|
132
|
-
export interface LoadTestClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
133
|
-
$host?: string;
|
|
134
|
-
apiVersion?: string;
|
|
135
|
-
endpoint?: string;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
// @public
|
|
139
|
-
export interface LoadTestResource extends TrackedResource {
|
|
140
|
-
readonly dataPlaneURI?: string;
|
|
141
|
-
description?: string;
|
|
142
|
-
encryption?: EncryptionProperties;
|
|
143
|
-
identity?: ManagedServiceIdentity;
|
|
144
|
-
readonly provisioningState?: ResourceState;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// @public
|
|
148
|
-
export interface LoadTestResourcePageList {
|
|
149
|
-
nextLink?: string;
|
|
150
|
-
value?: LoadTestResource[];
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// @public
|
|
154
|
-
export interface LoadTestResourcePatchRequestBody {
|
|
155
|
-
description?: string;
|
|
156
|
-
encryption?: EncryptionProperties;
|
|
157
|
-
identity?: ManagedServiceIdentity;
|
|
158
|
-
tags?: {
|
|
159
|
-
[propertyName: string]: string;
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
// @public
|
|
164
|
-
export interface LoadTests {
|
|
165
|
-
beginCreateOrUpdate(resourceGroupName: string, loadTestName: string, loadTestResource: LoadTestResource, options?: LoadTestsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LoadTestsCreateOrUpdateResponse>, LoadTestsCreateOrUpdateResponse>>;
|
|
166
|
-
beginCreateOrUpdateAndWait(resourceGroupName: string, loadTestName: string, loadTestResource: LoadTestResource, options?: LoadTestsCreateOrUpdateOptionalParams): Promise<LoadTestsCreateOrUpdateResponse>;
|
|
167
|
-
beginDelete(resourceGroupName: string, loadTestName: string, options?: LoadTestsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
168
|
-
beginDeleteAndWait(resourceGroupName: string, loadTestName: string, options?: LoadTestsDeleteOptionalParams): Promise<void>;
|
|
169
|
-
beginUpdate(resourceGroupName: string, loadTestName: string, loadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody, options?: LoadTestsUpdateOptionalParams): Promise<PollerLike<PollOperationState<LoadTestsUpdateResponse>, LoadTestsUpdateResponse>>;
|
|
170
|
-
beginUpdateAndWait(resourceGroupName: string, loadTestName: string, loadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody, options?: LoadTestsUpdateOptionalParams): Promise<LoadTestsUpdateResponse>;
|
|
171
|
-
get(resourceGroupName: string, loadTestName: string, options?: LoadTestsGetOptionalParams): Promise<LoadTestsGetResponse>;
|
|
172
|
-
listByResourceGroup(resourceGroupName: string, options?: LoadTestsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LoadTestResource>;
|
|
173
|
-
listBySubscription(options?: LoadTestsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LoadTestResource>;
|
|
174
|
-
listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, loadTestName: string, options?: LoadTestsListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint>;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
// @public
|
|
178
|
-
export interface LoadTestsCreateOrUpdateHeaders {
|
|
179
|
-
azureAsyncOperation?: string;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// @public
|
|
183
|
-
export interface LoadTestsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
184
|
-
resumeFrom?: string;
|
|
185
|
-
updateIntervalInMs?: number;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
// @public
|
|
189
|
-
export type LoadTestsCreateOrUpdateResponse = LoadTestResource;
|
|
190
|
-
|
|
191
|
-
// @public
|
|
192
|
-
export interface LoadTestsDeleteHeaders {
|
|
193
|
-
location?: string;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// @public
|
|
197
|
-
export interface LoadTestsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
198
|
-
resumeFrom?: string;
|
|
199
|
-
updateIntervalInMs?: number;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// @public
|
|
203
|
-
export interface LoadTestsGetOptionalParams extends coreClient.OperationOptions {
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
// @public
|
|
207
|
-
export type LoadTestsGetResponse = LoadTestResource;
|
|
208
|
-
|
|
209
|
-
// @public
|
|
210
|
-
export interface LoadTestsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// @public
|
|
214
|
-
export type LoadTestsListByResourceGroupNextResponse = LoadTestResourcePageList;
|
|
215
|
-
|
|
216
|
-
// @public
|
|
217
|
-
export interface LoadTestsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
// @public
|
|
221
|
-
export type LoadTestsListByResourceGroupResponse = LoadTestResourcePageList;
|
|
222
|
-
|
|
223
|
-
// @public
|
|
224
|
-
export interface LoadTestsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
// @public
|
|
228
|
-
export type LoadTestsListBySubscriptionNextResponse = LoadTestResourcePageList;
|
|
229
|
-
|
|
230
|
-
// @public
|
|
231
|
-
export interface LoadTestsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
// @public
|
|
235
|
-
export type LoadTestsListBySubscriptionResponse = LoadTestResourcePageList;
|
|
236
|
-
|
|
237
|
-
// @public
|
|
238
|
-
export interface LoadTestsListOutboundNetworkDependenciesEndpointsNextOptionalParams extends coreClient.OperationOptions {
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// @public
|
|
242
|
-
export type LoadTestsListOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection;
|
|
243
|
-
|
|
244
|
-
// @public
|
|
245
|
-
export interface LoadTestsListOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
// @public
|
|
249
|
-
export type LoadTestsListOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection;
|
|
250
|
-
|
|
251
|
-
// @public
|
|
252
|
-
export interface LoadTestsUpdateHeaders {
|
|
253
|
-
azureAsyncOperation?: string;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
// @public
|
|
257
|
-
export interface LoadTestsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
258
|
-
resumeFrom?: string;
|
|
259
|
-
updateIntervalInMs?: number;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
// @public
|
|
263
|
-
export type LoadTestsUpdateResponse = LoadTestResource;
|
|
264
|
-
|
|
265
|
-
// @public
|
|
266
|
-
export interface ManagedServiceIdentity {
|
|
267
|
-
readonly principalId?: string;
|
|
268
|
-
readonly tenantId?: string;
|
|
269
|
-
type: ManagedServiceIdentityType;
|
|
270
|
-
userAssignedIdentities?: {
|
|
271
|
-
[propertyName: string]: UserAssignedIdentity | null;
|
|
272
|
-
};
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
// @public
|
|
276
|
-
export type ManagedServiceIdentityType = string;
|
|
277
|
-
|
|
278
|
-
// @public
|
|
279
|
-
export interface Operation {
|
|
280
|
-
readonly actionType?: ActionType;
|
|
281
|
-
display?: OperationDisplay;
|
|
282
|
-
readonly isDataAction?: boolean;
|
|
283
|
-
readonly name?: string;
|
|
284
|
-
readonly origin?: Origin;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
// @public
|
|
288
|
-
export interface OperationDisplay {
|
|
289
|
-
readonly description?: string;
|
|
290
|
-
readonly operation?: string;
|
|
291
|
-
readonly provider?: string;
|
|
292
|
-
readonly resource?: string;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
// @public
|
|
296
|
-
export interface OperationListResult {
|
|
297
|
-
readonly nextLink?: string;
|
|
298
|
-
readonly value?: Operation[];
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
// @public
|
|
302
|
-
export interface Operations {
|
|
303
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
// @public
|
|
307
|
-
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
// @public
|
|
311
|
-
export type OperationsListNextResponse = OperationListResult;
|
|
312
|
-
|
|
313
|
-
// @public
|
|
314
|
-
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
// @public
|
|
318
|
-
export type OperationsListResponse = OperationListResult;
|
|
319
|
-
|
|
320
|
-
// @public
|
|
321
|
-
export type Origin = string;
|
|
322
|
-
|
|
323
|
-
// @public
|
|
324
|
-
export interface OutboundEnvironmentEndpoint {
|
|
325
|
-
readonly category?: string;
|
|
326
|
-
readonly endpoints?: EndpointDependency[];
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
// @public
|
|
330
|
-
export interface OutboundEnvironmentEndpointCollection {
|
|
331
|
-
nextLink?: string;
|
|
332
|
-
readonly value?: OutboundEnvironmentEndpoint[];
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
// @public
|
|
336
|
-
export interface QuotaBucketRequest extends Resource {
|
|
337
|
-
currentQuota?: number;
|
|
338
|
-
currentUsage?: number;
|
|
339
|
-
dimensions?: QuotaBucketRequestPropertiesDimensions;
|
|
340
|
-
newQuota?: number;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
// @public
|
|
344
|
-
export interface QuotaBucketRequestPropertiesDimensions {
|
|
345
|
-
location?: string;
|
|
346
|
-
subscriptionId?: string;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
// @public
|
|
350
|
-
export interface QuotaResource extends Resource {
|
|
351
|
-
limit?: number;
|
|
352
|
-
readonly provisioningState?: ResourceState;
|
|
353
|
-
usage?: number;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
// @public
|
|
357
|
-
export interface QuotaResourceList {
|
|
358
|
-
readonly nextLink?: string;
|
|
359
|
-
readonly value?: QuotaResource[];
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
// @public
|
|
363
|
-
export interface Quotas {
|
|
364
|
-
checkAvailability(location: string, quotaBucketName: string, quotaBucketRequest: QuotaBucketRequest, options?: QuotasCheckAvailabilityOptionalParams): Promise<QuotasCheckAvailabilityResponse>;
|
|
365
|
-
get(location: string, quotaBucketName: string, options?: QuotasGetOptionalParams): Promise<QuotasGetResponse>;
|
|
366
|
-
list(location: string, options?: QuotasListOptionalParams): PagedAsyncIterableIterator<QuotaResource>;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
// @public
|
|
370
|
-
export interface QuotasCheckAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
// @public
|
|
374
|
-
export type QuotasCheckAvailabilityResponse = CheckQuotaAvailabilityResponse;
|
|
375
|
-
|
|
376
|
-
// @public
|
|
377
|
-
export interface QuotasGetOptionalParams extends coreClient.OperationOptions {
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
// @public
|
|
381
|
-
export type QuotasGetResponse = QuotaResource;
|
|
382
|
-
|
|
383
|
-
// @public
|
|
384
|
-
export interface QuotasListNextOptionalParams extends coreClient.OperationOptions {
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
// @public
|
|
388
|
-
export type QuotasListNextResponse = QuotaResourceList;
|
|
389
|
-
|
|
390
|
-
// @public
|
|
391
|
-
export interface QuotasListOptionalParams extends coreClient.OperationOptions {
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
// @public
|
|
395
|
-
export type QuotasListResponse = QuotaResourceList;
|
|
396
|
-
|
|
397
|
-
// @public
|
|
398
|
-
export interface Resource {
|
|
399
|
-
readonly id?: string;
|
|
400
|
-
readonly name?: string;
|
|
401
|
-
readonly systemData?: SystemData;
|
|
402
|
-
readonly type?: string;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
// @public
|
|
406
|
-
export type ResourceState = string;
|
|
407
|
-
|
|
408
|
-
// @public
|
|
409
|
-
export interface SystemData {
|
|
410
|
-
createdAt?: Date;
|
|
411
|
-
createdBy?: string;
|
|
412
|
-
createdByType?: CreatedByType;
|
|
413
|
-
lastModifiedAt?: Date;
|
|
414
|
-
lastModifiedBy?: string;
|
|
415
|
-
lastModifiedByType?: CreatedByType;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
// @public
|
|
419
|
-
export interface TrackedResource extends Resource {
|
|
420
|
-
location: string;
|
|
421
|
-
tags?: {
|
|
422
|
-
[propertyName: string]: string;
|
|
423
|
-
};
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
// @public
|
|
427
|
-
export type Type = string;
|
|
428
|
-
|
|
429
|
-
// @public
|
|
430
|
-
export interface UserAssignedIdentity {
|
|
431
|
-
readonly clientId?: string;
|
|
432
|
-
readonly principalId?: string;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
// (No @packageDocumentation comment for this package)
|
|
436
|
-
|
|
437
|
-
```
|
|
1
|
+
## API Report File for "@azure/arm-loadtesting"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
+
import { PollerLike } from '@azure/core-lro';
|
|
11
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
12
|
+
|
|
13
|
+
// @public
|
|
14
|
+
export type ActionType = string;
|
|
15
|
+
|
|
16
|
+
// @public
|
|
17
|
+
export interface CheckQuotaAvailabilityResponse extends Resource {
|
|
18
|
+
availabilityStatus?: string;
|
|
19
|
+
isAvailable?: boolean;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// @public
|
|
23
|
+
export type CreatedByType = string;
|
|
24
|
+
|
|
25
|
+
// @public
|
|
26
|
+
export interface EncryptionProperties {
|
|
27
|
+
identity?: EncryptionPropertiesIdentity;
|
|
28
|
+
keyUrl?: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// @public
|
|
32
|
+
export interface EncryptionPropertiesIdentity {
|
|
33
|
+
resourceId?: string;
|
|
34
|
+
type?: Type;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// @public
|
|
38
|
+
export interface EndpointDependency {
|
|
39
|
+
readonly description?: string;
|
|
40
|
+
readonly domainName?: string;
|
|
41
|
+
readonly endpointDetails?: EndpointDetail[];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// @public
|
|
45
|
+
export interface EndpointDetail {
|
|
46
|
+
readonly port?: number;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// @public
|
|
50
|
+
export interface ErrorAdditionalInfo {
|
|
51
|
+
readonly info?: Record<string, unknown>;
|
|
52
|
+
readonly type?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// @public
|
|
56
|
+
export interface ErrorDetail {
|
|
57
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
58
|
+
readonly code?: string;
|
|
59
|
+
readonly details?: ErrorDetail[];
|
|
60
|
+
readonly message?: string;
|
|
61
|
+
readonly target?: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// @public
|
|
65
|
+
export interface ErrorResponse {
|
|
66
|
+
error?: ErrorDetail;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// @public
|
|
70
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
71
|
+
|
|
72
|
+
// @public
|
|
73
|
+
export enum KnownActionType {
|
|
74
|
+
Internal = "Internal"
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// @public
|
|
78
|
+
export enum KnownCreatedByType {
|
|
79
|
+
Application = "Application",
|
|
80
|
+
Key = "Key",
|
|
81
|
+
ManagedIdentity = "ManagedIdentity",
|
|
82
|
+
User = "User"
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// @public
|
|
86
|
+
export enum KnownManagedServiceIdentityType {
|
|
87
|
+
None = "None",
|
|
88
|
+
SystemAssigned = "SystemAssigned",
|
|
89
|
+
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
|
|
90
|
+
UserAssigned = "UserAssigned"
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// @public
|
|
94
|
+
export enum KnownOrigin {
|
|
95
|
+
System = "system",
|
|
96
|
+
User = "user",
|
|
97
|
+
UserSystem = "user,system"
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// @public
|
|
101
|
+
export enum KnownResourceState {
|
|
102
|
+
Canceled = "Canceled",
|
|
103
|
+
Deleted = "Deleted",
|
|
104
|
+
Failed = "Failed",
|
|
105
|
+
Succeeded = "Succeeded"
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// @public
|
|
109
|
+
export enum KnownType {
|
|
110
|
+
SystemAssigned = "SystemAssigned",
|
|
111
|
+
UserAssigned = "UserAssigned"
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// @public (undocumented)
|
|
115
|
+
export class LoadTestClient extends coreClient.ServiceClient {
|
|
116
|
+
// (undocumented)
|
|
117
|
+
$host: string;
|
|
118
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: LoadTestClientOptionalParams);
|
|
119
|
+
// (undocumented)
|
|
120
|
+
apiVersion: string;
|
|
121
|
+
// (undocumented)
|
|
122
|
+
loadTests: LoadTests;
|
|
123
|
+
// (undocumented)
|
|
124
|
+
operations: Operations;
|
|
125
|
+
// (undocumented)
|
|
126
|
+
quotas: Quotas;
|
|
127
|
+
// (undocumented)
|
|
128
|
+
subscriptionId: string;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// @public
|
|
132
|
+
export interface LoadTestClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
133
|
+
$host?: string;
|
|
134
|
+
apiVersion?: string;
|
|
135
|
+
endpoint?: string;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// @public
|
|
139
|
+
export interface LoadTestResource extends TrackedResource {
|
|
140
|
+
readonly dataPlaneURI?: string;
|
|
141
|
+
description?: string;
|
|
142
|
+
encryption?: EncryptionProperties;
|
|
143
|
+
identity?: ManagedServiceIdentity;
|
|
144
|
+
readonly provisioningState?: ResourceState;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// @public
|
|
148
|
+
export interface LoadTestResourcePageList {
|
|
149
|
+
nextLink?: string;
|
|
150
|
+
value?: LoadTestResource[];
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// @public
|
|
154
|
+
export interface LoadTestResourcePatchRequestBody {
|
|
155
|
+
description?: string;
|
|
156
|
+
encryption?: EncryptionProperties;
|
|
157
|
+
identity?: ManagedServiceIdentity;
|
|
158
|
+
tags?: {
|
|
159
|
+
[propertyName: string]: string;
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// @public
|
|
164
|
+
export interface LoadTests {
|
|
165
|
+
beginCreateOrUpdate(resourceGroupName: string, loadTestName: string, loadTestResource: LoadTestResource, options?: LoadTestsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LoadTestsCreateOrUpdateResponse>, LoadTestsCreateOrUpdateResponse>>;
|
|
166
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, loadTestName: string, loadTestResource: LoadTestResource, options?: LoadTestsCreateOrUpdateOptionalParams): Promise<LoadTestsCreateOrUpdateResponse>;
|
|
167
|
+
beginDelete(resourceGroupName: string, loadTestName: string, options?: LoadTestsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
168
|
+
beginDeleteAndWait(resourceGroupName: string, loadTestName: string, options?: LoadTestsDeleteOptionalParams): Promise<void>;
|
|
169
|
+
beginUpdate(resourceGroupName: string, loadTestName: string, loadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody, options?: LoadTestsUpdateOptionalParams): Promise<PollerLike<PollOperationState<LoadTestsUpdateResponse>, LoadTestsUpdateResponse>>;
|
|
170
|
+
beginUpdateAndWait(resourceGroupName: string, loadTestName: string, loadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody, options?: LoadTestsUpdateOptionalParams): Promise<LoadTestsUpdateResponse>;
|
|
171
|
+
get(resourceGroupName: string, loadTestName: string, options?: LoadTestsGetOptionalParams): Promise<LoadTestsGetResponse>;
|
|
172
|
+
listByResourceGroup(resourceGroupName: string, options?: LoadTestsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LoadTestResource>;
|
|
173
|
+
listBySubscription(options?: LoadTestsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LoadTestResource>;
|
|
174
|
+
listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, loadTestName: string, options?: LoadTestsListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint>;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// @public
|
|
178
|
+
export interface LoadTestsCreateOrUpdateHeaders {
|
|
179
|
+
azureAsyncOperation?: string;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// @public
|
|
183
|
+
export interface LoadTestsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
184
|
+
resumeFrom?: string;
|
|
185
|
+
updateIntervalInMs?: number;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// @public
|
|
189
|
+
export type LoadTestsCreateOrUpdateResponse = LoadTestResource;
|
|
190
|
+
|
|
191
|
+
// @public
|
|
192
|
+
export interface LoadTestsDeleteHeaders {
|
|
193
|
+
location?: string;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// @public
|
|
197
|
+
export interface LoadTestsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
198
|
+
resumeFrom?: string;
|
|
199
|
+
updateIntervalInMs?: number;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
// @public
|
|
203
|
+
export interface LoadTestsGetOptionalParams extends coreClient.OperationOptions {
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// @public
|
|
207
|
+
export type LoadTestsGetResponse = LoadTestResource;
|
|
208
|
+
|
|
209
|
+
// @public
|
|
210
|
+
export interface LoadTestsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// @public
|
|
214
|
+
export type LoadTestsListByResourceGroupNextResponse = LoadTestResourcePageList;
|
|
215
|
+
|
|
216
|
+
// @public
|
|
217
|
+
export interface LoadTestsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// @public
|
|
221
|
+
export type LoadTestsListByResourceGroupResponse = LoadTestResourcePageList;
|
|
222
|
+
|
|
223
|
+
// @public
|
|
224
|
+
export interface LoadTestsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// @public
|
|
228
|
+
export type LoadTestsListBySubscriptionNextResponse = LoadTestResourcePageList;
|
|
229
|
+
|
|
230
|
+
// @public
|
|
231
|
+
export interface LoadTestsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// @public
|
|
235
|
+
export type LoadTestsListBySubscriptionResponse = LoadTestResourcePageList;
|
|
236
|
+
|
|
237
|
+
// @public
|
|
238
|
+
export interface LoadTestsListOutboundNetworkDependenciesEndpointsNextOptionalParams extends coreClient.OperationOptions {
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// @public
|
|
242
|
+
export type LoadTestsListOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection;
|
|
243
|
+
|
|
244
|
+
// @public
|
|
245
|
+
export interface LoadTestsListOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// @public
|
|
249
|
+
export type LoadTestsListOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection;
|
|
250
|
+
|
|
251
|
+
// @public
|
|
252
|
+
export interface LoadTestsUpdateHeaders {
|
|
253
|
+
azureAsyncOperation?: string;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// @public
|
|
257
|
+
export interface LoadTestsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
258
|
+
resumeFrom?: string;
|
|
259
|
+
updateIntervalInMs?: number;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
// @public
|
|
263
|
+
export type LoadTestsUpdateResponse = LoadTestResource;
|
|
264
|
+
|
|
265
|
+
// @public
|
|
266
|
+
export interface ManagedServiceIdentity {
|
|
267
|
+
readonly principalId?: string;
|
|
268
|
+
readonly tenantId?: string;
|
|
269
|
+
type: ManagedServiceIdentityType;
|
|
270
|
+
userAssignedIdentities?: {
|
|
271
|
+
[propertyName: string]: UserAssignedIdentity | null;
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// @public
|
|
276
|
+
export type ManagedServiceIdentityType = string;
|
|
277
|
+
|
|
278
|
+
// @public
|
|
279
|
+
export interface Operation {
|
|
280
|
+
readonly actionType?: ActionType;
|
|
281
|
+
display?: OperationDisplay;
|
|
282
|
+
readonly isDataAction?: boolean;
|
|
283
|
+
readonly name?: string;
|
|
284
|
+
readonly origin?: Origin;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// @public
|
|
288
|
+
export interface OperationDisplay {
|
|
289
|
+
readonly description?: string;
|
|
290
|
+
readonly operation?: string;
|
|
291
|
+
readonly provider?: string;
|
|
292
|
+
readonly resource?: string;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// @public
|
|
296
|
+
export interface OperationListResult {
|
|
297
|
+
readonly nextLink?: string;
|
|
298
|
+
readonly value?: Operation[];
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
// @public
|
|
302
|
+
export interface Operations {
|
|
303
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// @public
|
|
307
|
+
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
// @public
|
|
311
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
312
|
+
|
|
313
|
+
// @public
|
|
314
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
// @public
|
|
318
|
+
export type OperationsListResponse = OperationListResult;
|
|
319
|
+
|
|
320
|
+
// @public
|
|
321
|
+
export type Origin = string;
|
|
322
|
+
|
|
323
|
+
// @public
|
|
324
|
+
export interface OutboundEnvironmentEndpoint {
|
|
325
|
+
readonly category?: string;
|
|
326
|
+
readonly endpoints?: EndpointDependency[];
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// @public
|
|
330
|
+
export interface OutboundEnvironmentEndpointCollection {
|
|
331
|
+
nextLink?: string;
|
|
332
|
+
readonly value?: OutboundEnvironmentEndpoint[];
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
// @public
|
|
336
|
+
export interface QuotaBucketRequest extends Resource {
|
|
337
|
+
currentQuota?: number;
|
|
338
|
+
currentUsage?: number;
|
|
339
|
+
dimensions?: QuotaBucketRequestPropertiesDimensions;
|
|
340
|
+
newQuota?: number;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// @public
|
|
344
|
+
export interface QuotaBucketRequestPropertiesDimensions {
|
|
345
|
+
location?: string;
|
|
346
|
+
subscriptionId?: string;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
// @public
|
|
350
|
+
export interface QuotaResource extends Resource {
|
|
351
|
+
limit?: number;
|
|
352
|
+
readonly provisioningState?: ResourceState;
|
|
353
|
+
usage?: number;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// @public
|
|
357
|
+
export interface QuotaResourceList {
|
|
358
|
+
readonly nextLink?: string;
|
|
359
|
+
readonly value?: QuotaResource[];
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
// @public
|
|
363
|
+
export interface Quotas {
|
|
364
|
+
checkAvailability(location: string, quotaBucketName: string, quotaBucketRequest: QuotaBucketRequest, options?: QuotasCheckAvailabilityOptionalParams): Promise<QuotasCheckAvailabilityResponse>;
|
|
365
|
+
get(location: string, quotaBucketName: string, options?: QuotasGetOptionalParams): Promise<QuotasGetResponse>;
|
|
366
|
+
list(location: string, options?: QuotasListOptionalParams): PagedAsyncIterableIterator<QuotaResource>;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
// @public
|
|
370
|
+
export interface QuotasCheckAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
// @public
|
|
374
|
+
export type QuotasCheckAvailabilityResponse = CheckQuotaAvailabilityResponse;
|
|
375
|
+
|
|
376
|
+
// @public
|
|
377
|
+
export interface QuotasGetOptionalParams extends coreClient.OperationOptions {
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
// @public
|
|
381
|
+
export type QuotasGetResponse = QuotaResource;
|
|
382
|
+
|
|
383
|
+
// @public
|
|
384
|
+
export interface QuotasListNextOptionalParams extends coreClient.OperationOptions {
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
// @public
|
|
388
|
+
export type QuotasListNextResponse = QuotaResourceList;
|
|
389
|
+
|
|
390
|
+
// @public
|
|
391
|
+
export interface QuotasListOptionalParams extends coreClient.OperationOptions {
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
// @public
|
|
395
|
+
export type QuotasListResponse = QuotaResourceList;
|
|
396
|
+
|
|
397
|
+
// @public
|
|
398
|
+
export interface Resource {
|
|
399
|
+
readonly id?: string;
|
|
400
|
+
readonly name?: string;
|
|
401
|
+
readonly systemData?: SystemData;
|
|
402
|
+
readonly type?: string;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// @public
|
|
406
|
+
export type ResourceState = string;
|
|
407
|
+
|
|
408
|
+
// @public
|
|
409
|
+
export interface SystemData {
|
|
410
|
+
createdAt?: Date;
|
|
411
|
+
createdBy?: string;
|
|
412
|
+
createdByType?: CreatedByType;
|
|
413
|
+
lastModifiedAt?: Date;
|
|
414
|
+
lastModifiedBy?: string;
|
|
415
|
+
lastModifiedByType?: CreatedByType;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
// @public
|
|
419
|
+
export interface TrackedResource extends Resource {
|
|
420
|
+
location: string;
|
|
421
|
+
tags?: {
|
|
422
|
+
[propertyName: string]: string;
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
// @public
|
|
427
|
+
export type Type = string;
|
|
428
|
+
|
|
429
|
+
// @public
|
|
430
|
+
export interface UserAssignedIdentity {
|
|
431
|
+
readonly clientId?: string;
|
|
432
|
+
readonly principalId?: string;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
// (No @packageDocumentation comment for this package)
|
|
436
|
+
|
|
437
|
+
```
|