@azure-rest/developer-devcenter 1.0.2-alpha.20250717.1 → 1.0.2-alpha.20250729.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/browser/azureDeveloperDevCenter.js +13 -11
  2. package/dist/browser/azureDeveloperDevCenter.js.map +1 -1
  3. package/dist/browser/isUnexpected.js +4 -5
  4. package/dist/browser/isUnexpected.js.map +1 -1
  5. package/dist/browser/paginateHelper.js +43 -73
  6. package/dist/browser/paginateHelper.js.map +1 -1
  7. package/dist/browser/pollingHelper.js +11 -8
  8. package/dist/browser/pollingHelper.js.map +1 -1
  9. package/dist/commonjs/azureDeveloperDevCenter.js +13 -11
  10. package/dist/commonjs/azureDeveloperDevCenter.js.map +1 -1
  11. package/dist/commonjs/isUnexpected.js +4 -5
  12. package/dist/commonjs/isUnexpected.js.map +1 -1
  13. package/dist/commonjs/paginateHelper.js +43 -73
  14. package/dist/commonjs/paginateHelper.js.map +1 -1
  15. package/dist/commonjs/pollingHelper.js +11 -8
  16. package/dist/commonjs/pollingHelper.js.map +1 -1
  17. package/dist/commonjs/tsdoc-metadata.json +11 -11
  18. package/dist/esm/azureDeveloperDevCenter.js +13 -11
  19. package/dist/esm/azureDeveloperDevCenter.js.map +1 -1
  20. package/dist/esm/isUnexpected.js +4 -5
  21. package/dist/esm/isUnexpected.js.map +1 -1
  22. package/dist/esm/paginateHelper.js +43 -73
  23. package/dist/esm/paginateHelper.js.map +1 -1
  24. package/dist/esm/pollingHelper.js +11 -8
  25. package/dist/esm/pollingHelper.js.map +1 -1
  26. package/dist/react-native/azureDeveloperDevCenter.js +13 -11
  27. package/dist/react-native/azureDeveloperDevCenter.js.map +1 -1
  28. package/dist/react-native/isUnexpected.js +4 -5
  29. package/dist/react-native/isUnexpected.js.map +1 -1
  30. package/dist/react-native/paginateHelper.js +43 -73
  31. package/dist/react-native/paginateHelper.js.map +1 -1
  32. package/dist/react-native/pollingHelper.js +11 -8
  33. package/dist/react-native/pollingHelper.js.map +1 -1
  34. package/package.json +2 -2
  35. package/review/developer-devcenter-node.api.md +1764 -1764
@@ -1,1764 +1,1764 @@
1
- ## API Report File for "@azure-rest/developer-devcenter"
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 type { AbortSignalLike } from '@azure/abort-controller';
8
- import type { CancelOnProgress } from '@azure/core-lro';
9
- import type { Client } from '@azure-rest/core-client';
10
- import type { ClientOptions } from '@azure-rest/core-client';
11
- import type { CreateHttpPollerOptions } from '@azure/core-lro';
12
- import type { ErrorModel } from '@azure-rest/core-client';
13
- import type { ErrorResponse } from '@azure-rest/core-client';
14
- import type { HttpResponse } from '@azure-rest/core-client';
15
- import type { OperationState } from '@azure/core-lro';
16
- import type { PathUncheckedResponse } from '@azure-rest/core-client';
17
- import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
18
- import type { RequestParameters } from '@azure-rest/core-client';
19
- import type { StreamableMethod } from '@azure-rest/core-client';
20
- import type { TokenCredential } from '@azure/core-auth';
21
-
22
- // @public (undocumented)
23
- export type AzureDeveloperDevCenterClient = Client & {
24
- path: Routes;
25
- };
26
-
27
- // @public
28
- export interface AzureDeveloperDevCenterClientOptions extends ClientOptions {
29
- apiVersion?: string;
30
- }
31
-
32
- // @public
33
- export interface CatalogOutput {
34
- readonly name: string;
35
- }
36
-
37
- // @public
38
- function createClient(endpointParam: string, credentials: TokenCredential, { apiVersion, ...options }?: AzureDeveloperDevCenterClientOptions): AzureDeveloperDevCenterClient;
39
- export default createClient;
40
-
41
- // @public
42
- export interface CreateDevBox200Response extends HttpResponse {
43
- // (undocumented)
44
- body: DevBoxOutput;
45
- // (undocumented)
46
- status: "200";
47
- }
48
-
49
- // @public (undocumented)
50
- export interface CreateDevBox201Headers {
51
- // (undocumented)
52
- "operation-location": string;
53
- // (undocumented)
54
- location: string;
55
- }
56
-
57
- // @public
58
- export interface CreateDevBox201Response extends HttpResponse {
59
- // (undocumented)
60
- body: DevBoxOutput;
61
- // (undocumented)
62
- headers: RawHttpHeaders & CreateDevBox201Headers;
63
- // (undocumented)
64
- status: "201";
65
- }
66
-
67
- // @public (undocumented)
68
- export interface CreateDevBoxBodyParam {
69
- body: DevBox;
70
- }
71
-
72
- // @public (undocumented)
73
- export interface CreateDevBoxDefaultHeaders {
74
- "x-ms-error-code"?: string;
75
- }
76
-
77
- // @public (undocumented)
78
- export interface CreateDevBoxDefaultResponse extends HttpResponse {
79
- // (undocumented)
80
- body: ErrorResponse;
81
- // (undocumented)
82
- headers: RawHttpHeaders & CreateDevBoxDefaultHeaders;
83
- // (undocumented)
84
- status: string;
85
- }
86
-
87
- // @public
88
- export interface CreateDevBoxLogicalResponse extends HttpResponse {
89
- // (undocumented)
90
- body: DevBoxOutput;
91
- // (undocumented)
92
- status: "200";
93
- }
94
-
95
- // @public (undocumented)
96
- export type CreateDevBoxParameters = CreateDevBoxBodyParam & RequestParameters;
97
-
98
- // @public (undocumented)
99
- export interface CreateOrReplaceEnvironment201Headers {
100
- // (undocumented)
101
- "operation-location": string;
102
- }
103
-
104
- // @public
105
- export interface CreateOrReplaceEnvironment201Response extends HttpResponse {
106
- // (undocumented)
107
- body: EnvironmentOutput;
108
- // (undocumented)
109
- headers: RawHttpHeaders & CreateOrReplaceEnvironment201Headers;
110
- // (undocumented)
111
- status: "201";
112
- }
113
-
114
- // @public (undocumented)
115
- export interface CreateOrReplaceEnvironmentBodyParam {
116
- body: Environment;
117
- }
118
-
119
- // @public (undocumented)
120
- export interface CreateOrReplaceEnvironmentDefaultHeaders {
121
- "x-ms-error-code"?: string;
122
- }
123
-
124
- // @public (undocumented)
125
- export interface CreateOrReplaceEnvironmentDefaultResponse extends HttpResponse {
126
- // (undocumented)
127
- body: ErrorResponse;
128
- // (undocumented)
129
- headers: RawHttpHeaders & CreateOrReplaceEnvironmentDefaultHeaders;
130
- // (undocumented)
131
- status: string;
132
- }
133
-
134
- // @public
135
- export interface CreateOrReplaceEnvironmentLogicalResponse extends HttpResponse {
136
- // (undocumented)
137
- body: EnvironmentOutput;
138
- // (undocumented)
139
- status: "200";
140
- }
141
-
142
- // @public (undocumented)
143
- export type CreateOrReplaceEnvironmentParameters = CreateOrReplaceEnvironmentBodyParam & RequestParameters;
144
-
145
- // @public (undocumented)
146
- export interface DelayAction {
147
- post(options: DelayActionParameters): StreamableMethod<DelayAction200Response | DelayActionDefaultResponse>;
148
- }
149
-
150
- // @public
151
- export interface DelayAction200Response extends HttpResponse {
152
- // (undocumented)
153
- body: DevBoxActionOutput;
154
- // (undocumented)
155
- status: "200";
156
- }
157
-
158
- // @public (undocumented)
159
- export interface DelayActionDefaultHeaders {
160
- "x-ms-error-code"?: string;
161
- }
162
-
163
- // @public (undocumented)
164
- export interface DelayActionDefaultResponse extends HttpResponse {
165
- // (undocumented)
166
- body: ErrorResponse;
167
- // (undocumented)
168
- headers: RawHttpHeaders & DelayActionDefaultHeaders;
169
- // (undocumented)
170
- status: string;
171
- }
172
-
173
- // @public (undocumented)
174
- export type DelayActionParameters = DelayActionQueryParam & RequestParameters;
175
-
176
- // @public (undocumented)
177
- export interface DelayActionQueryParam {
178
- // (undocumented)
179
- queryParameters: DelayActionQueryParamProperties;
180
- }
181
-
182
- // @public (undocumented)
183
- export interface DelayActionQueryParamProperties {
184
- until: Date | string;
185
- }
186
-
187
- // @public (undocumented)
188
- export interface DelayActions {
189
- post(options: DelayActionsParameters): StreamableMethod<DelayActions200Response | DelayActionsDefaultResponse>;
190
- }
191
-
192
- // @public
193
- export interface DelayActions200Response extends HttpResponse {
194
- // (undocumented)
195
- body: PagedDevBoxActionDelayResultOutput;
196
- // (undocumented)
197
- status: "200";
198
- }
199
-
200
- // @public (undocumented)
201
- export interface DelayActionsDefaultHeaders {
202
- "x-ms-error-code"?: string;
203
- }
204
-
205
- // @public (undocumented)
206
- export interface DelayActionsDefaultResponse extends HttpResponse {
207
- // (undocumented)
208
- body: ErrorResponse;
209
- // (undocumented)
210
- headers: RawHttpHeaders & DelayActionsDefaultHeaders;
211
- // (undocumented)
212
- status: string;
213
- }
214
-
215
- // @public (undocumented)
216
- export type DelayActionsParameters = DelayActionsQueryParam & RequestParameters;
217
-
218
- // @public (undocumented)
219
- export interface DelayActionsQueryParam {
220
- // (undocumented)
221
- queryParameters: DelayActionsQueryParamProperties;
222
- }
223
-
224
- // @public (undocumented)
225
- export interface DelayActionsQueryParamProperties {
226
- until: Date | string;
227
- }
228
-
229
- // @public (undocumented)
230
- export interface DeleteDevBox202Headers {
231
- // (undocumented)
232
- "operation-location": string;
233
- // (undocumented)
234
- location: string;
235
- }
236
-
237
- // @public
238
- export interface DeleteDevBox202Response extends HttpResponse {
239
- // (undocumented)
240
- body: OperationStatusOutput;
241
- // (undocumented)
242
- headers: RawHttpHeaders & DeleteDevBox202Headers;
243
- // (undocumented)
244
- status: "202";
245
- }
246
-
247
- // @public
248
- export interface DeleteDevBox204Response extends HttpResponse {
249
- // (undocumented)
250
- status: "204";
251
- }
252
-
253
- // @public (undocumented)
254
- export interface DeleteDevBoxDefaultHeaders {
255
- "x-ms-error-code"?: string;
256
- }
257
-
258
- // @public (undocumented)
259
- export interface DeleteDevBoxDefaultResponse extends HttpResponse {
260
- // (undocumented)
261
- body: ErrorResponse;
262
- // (undocumented)
263
- headers: RawHttpHeaders & DeleteDevBoxDefaultHeaders;
264
- // (undocumented)
265
- status: string;
266
- }
267
-
268
- // @public
269
- export interface DeleteDevBoxLogicalResponse extends HttpResponse {
270
- // (undocumented)
271
- body: OperationStatusOutput;
272
- // (undocumented)
273
- status: "200";
274
- }
275
-
276
- // @public (undocumented)
277
- export type DeleteDevBoxParameters = RequestParameters;
278
-
279
- // @public (undocumented)
280
- export interface DeleteEnvironment202Headers {
281
- // (undocumented)
282
- "operation-location": string;
283
- // (undocumented)
284
- location: string;
285
- }
286
-
287
- // @public
288
- export interface DeleteEnvironment202Response extends HttpResponse {
289
- // (undocumented)
290
- body: OperationStatusOutput;
291
- // (undocumented)
292
- headers: RawHttpHeaders & DeleteEnvironment202Headers;
293
- // (undocumented)
294
- status: "202";
295
- }
296
-
297
- // @public
298
- export interface DeleteEnvironment204Response extends HttpResponse {
299
- // (undocumented)
300
- status: "204";
301
- }
302
-
303
- // @public (undocumented)
304
- export interface DeleteEnvironmentDefaultHeaders {
305
- "x-ms-error-code"?: string;
306
- }
307
-
308
- // @public (undocumented)
309
- export interface DeleteEnvironmentDefaultResponse extends HttpResponse {
310
- // (undocumented)
311
- body: ErrorResponse;
312
- // (undocumented)
313
- headers: RawHttpHeaders & DeleteEnvironmentDefaultHeaders;
314
- // (undocumented)
315
- status: string;
316
- }
317
-
318
- // @public
319
- export interface DeleteEnvironmentLogicalResponse extends HttpResponse {
320
- // (undocumented)
321
- body: OperationStatusOutput;
322
- // (undocumented)
323
- status: "200";
324
- }
325
-
326
- // @public (undocumented)
327
- export type DeleteEnvironmentParameters = RequestParameters;
328
-
329
- // @public
330
- export interface DevBox {
331
- localAdministrator?: LocalAdminStatus;
332
- poolName: string;
333
- }
334
-
335
- // @public
336
- export interface DevBoxActionDelayResultOutput {
337
- action?: DevBoxActionOutput;
338
- error?: ErrorModel;
339
- name: string;
340
- result: DevBoxActionDelayResultStatusOutput;
341
- }
342
-
343
- // @public
344
- export type DevBoxActionDelayResultStatusOutput = string;
345
-
346
- // @public
347
- export interface DevBoxActionOutput {
348
- actionType: DevBoxActionTypeOutput;
349
- readonly name: string;
350
- next?: DevBoxNextActionOutput;
351
- sourceId: string;
352
- suspendedUntil?: string;
353
- }
354
-
355
- // @public
356
- export type DevBoxActionTypeOutput = string;
357
-
358
- // @public
359
- export interface DevBoxNextActionOutput {
360
- scheduledTime: string;
361
- }
362
-
363
- // @public
364
- export interface DevBoxOutput {
365
- readonly actionState?: string;
366
- readonly createdTime?: string;
367
- readonly error?: ErrorModel;
368
- readonly hardwareProfile?: HardwareProfileOutput;
369
- readonly hibernateSupport?: HibernateSupportOutput;
370
- readonly imageReference?: ImageReferenceOutput;
371
- localAdministrator?: LocalAdminStatusOutput;
372
- readonly location?: string;
373
- readonly name: string;
374
- readonly osType?: OsTypeOutput;
375
- poolName: string;
376
- readonly powerState?: PowerStateOutput;
377
- readonly projectName?: string;
378
- readonly provisioningState?: DevBoxProvisioningStateOutput;
379
- readonly storageProfile?: StorageProfileOutput;
380
- readonly uniqueId?: string;
381
- readonly user?: string;
382
- }
383
-
384
- // @public
385
- export type DevBoxProvisioningState = string;
386
-
387
- // @public
388
- export type DevBoxProvisioningStateOutput = string;
389
-
390
- // @public
391
- export interface Environment {
392
- catalogName: string;
393
- environmentDefinitionName: string;
394
- environmentType: string;
395
- parameters?: Record<string, unknown>;
396
- }
397
-
398
- // @public
399
- export interface EnvironmentDefinitionOutput {
400
- catalogName: string;
401
- description?: string;
402
- id: string;
403
- readonly name: string;
404
- parameters?: Array<EnvironmentDefinitionParameterOutput>;
405
- parametersSchema?: string;
406
- templatePath?: string;
407
- }
408
-
409
- // @public
410
- export interface EnvironmentDefinitionParameterOutput {
411
- allowed?: string[];
412
- default?: string;
413
- description?: string;
414
- id: string;
415
- name?: string;
416
- readOnly?: boolean;
417
- required: boolean;
418
- type: ParameterTypeOutput;
419
- }
420
-
421
- // @public
422
- export interface EnvironmentOutput {
423
- catalogName: string;
424
- environmentDefinitionName: string;
425
- environmentType: string;
426
- readonly error?: ErrorModel;
427
- readonly name: string;
428
- parameters?: Record<string, any>;
429
- readonly provisioningState?: EnvironmentProvisioningStateOutput;
430
- readonly resourceGroupId?: string;
431
- readonly user?: string;
432
- }
433
-
434
- // @public
435
- export type EnvironmentProvisioningState = string;
436
-
437
- // @public
438
- export type EnvironmentProvisioningStateOutput = string;
439
-
440
- // @public
441
- export type EnvironmentTypeEnableStatusOutput = string;
442
-
443
- // @public
444
- export interface EnvironmentTypeOutput {
445
- deploymentTargetId: string;
446
- readonly name: string;
447
- status: EnvironmentTypeEnableStatusOutput;
448
- }
449
-
450
- // @public (undocumented)
451
- export interface Get {
452
- get(options?: GetParameters): StreamableMethod<Get200Response | GetDefaultResponse>;
453
- }
454
-
455
- // @public
456
- export interface Get200Response extends HttpResponse {
457
- // (undocumented)
458
- body: OperationStatusOutput;
459
- // (undocumented)
460
- status: "200";
461
- }
462
-
463
- // @public (undocumented)
464
- export interface GetAction {
465
- get(options?: GetActionParameters): StreamableMethod<GetAction200Response | GetActionDefaultResponse>;
466
- }
467
-
468
- // @public
469
- export interface GetAction200Response extends HttpResponse {
470
- // (undocumented)
471
- body: DevBoxActionOutput;
472
- // (undocumented)
473
- status: "200";
474
- }
475
-
476
- // @public (undocumented)
477
- export interface GetActionDefaultHeaders {
478
- "x-ms-error-code"?: string;
479
- }
480
-
481
- // @public (undocumented)
482
- export interface GetActionDefaultResponse extends HttpResponse {
483
- // (undocumented)
484
- body: ErrorResponse;
485
- // (undocumented)
486
- headers: RawHttpHeaders & GetActionDefaultHeaders;
487
- // (undocumented)
488
- status: string;
489
- }
490
-
491
- // @public (undocumented)
492
- export type GetActionParameters = RequestParameters;
493
-
494
- // @public
495
- export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
496
-
497
- // @public (undocumented)
498
- export interface GetCatalog {
499
- get(options?: GetCatalogParameters): StreamableMethod<GetCatalog200Response | GetCatalogDefaultResponse>;
500
- }
501
-
502
- // @public
503
- export interface GetCatalog200Response extends HttpResponse {
504
- // (undocumented)
505
- body: CatalogOutput;
506
- // (undocumented)
507
- status: "200";
508
- }
509
-
510
- // @public (undocumented)
511
- export interface GetCatalogDefaultHeaders {
512
- "x-ms-error-code"?: string;
513
- }
514
-
515
- // @public (undocumented)
516
- export interface GetCatalogDefaultResponse extends HttpResponse {
517
- // (undocumented)
518
- body: ErrorResponse;
519
- // (undocumented)
520
- headers: RawHttpHeaders & GetCatalogDefaultHeaders;
521
- // (undocumented)
522
- status: string;
523
- }
524
-
525
- // @public (undocumented)
526
- export type GetCatalogParameters = RequestParameters;
527
-
528
- // @public (undocumented)
529
- export interface GetDefaultHeaders {
530
- "x-ms-error-code"?: string;
531
- }
532
-
533
- // @public (undocumented)
534
- export interface GetDefaultResponse extends HttpResponse {
535
- // (undocumented)
536
- body: ErrorResponse;
537
- // (undocumented)
538
- headers: RawHttpHeaders & GetDefaultHeaders;
539
- // (undocumented)
540
- status: string;
541
- }
542
-
543
- // @public (undocumented)
544
- export interface GetDevBoxByUser {
545
- delete(options?: DeleteDevBoxParameters): StreamableMethod<DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse>;
546
- get(options?: GetDevBoxByUserParameters): StreamableMethod<GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse>;
547
- put(options: CreateDevBoxParameters): StreamableMethod<CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse>;
548
- }
549
-
550
- // @public
551
- export interface GetDevBoxByUser200Response extends HttpResponse {
552
- // (undocumented)
553
- body: DevBoxOutput;
554
- // (undocumented)
555
- status: "200";
556
- }
557
-
558
- // @public (undocumented)
559
- export interface GetDevBoxByUserDefaultHeaders {
560
- "x-ms-error-code"?: string;
561
- }
562
-
563
- // @public (undocumented)
564
- export interface GetDevBoxByUserDefaultResponse extends HttpResponse {
565
- // (undocumented)
566
- body: ErrorResponse;
567
- // (undocumented)
568
- headers: RawHttpHeaders & GetDevBoxByUserDefaultHeaders;
569
- // (undocumented)
570
- status: string;
571
- }
572
-
573
- // @public (undocumented)
574
- export type GetDevBoxByUserParameters = RequestParameters;
575
-
576
- // @public (undocumented)
577
- export interface GetEnvironmentByUser {
578
- delete(options?: DeleteEnvironmentParameters): StreamableMethod<DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse>;
579
- get(options?: GetEnvironmentByUserParameters): StreamableMethod<GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse>;
580
- put(options: CreateOrReplaceEnvironmentParameters): StreamableMethod<CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse>;
581
- }
582
-
583
- // @public
584
- export interface GetEnvironmentByUser200Response extends HttpResponse {
585
- // (undocumented)
586
- body: EnvironmentOutput;
587
- // (undocumented)
588
- status: "200";
589
- }
590
-
591
- // @public (undocumented)
592
- export interface GetEnvironmentByUserDefaultHeaders {
593
- "x-ms-error-code"?: string;
594
- }
595
-
596
- // @public (undocumented)
597
- export interface GetEnvironmentByUserDefaultResponse extends HttpResponse {
598
- // (undocumented)
599
- body: ErrorResponse;
600
- // (undocumented)
601
- headers: RawHttpHeaders & GetEnvironmentByUserDefaultHeaders;
602
- // (undocumented)
603
- status: string;
604
- }
605
-
606
- // @public (undocumented)
607
- export type GetEnvironmentByUserParameters = RequestParameters;
608
-
609
- // @public (undocumented)
610
- export interface GetEnvironmentDefinition {
611
- get(options?: GetEnvironmentDefinitionParameters): StreamableMethod<GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse>;
612
- }
613
-
614
- // @public
615
- export interface GetEnvironmentDefinition200Response extends HttpResponse {
616
- // (undocumented)
617
- body: EnvironmentDefinitionOutput;
618
- // (undocumented)
619
- status: "200";
620
- }
621
-
622
- // @public (undocumented)
623
- export interface GetEnvironmentDefinitionDefaultHeaders {
624
- "x-ms-error-code"?: string;
625
- }
626
-
627
- // @public (undocumented)
628
- export interface GetEnvironmentDefinitionDefaultResponse extends HttpResponse {
629
- // (undocumented)
630
- body: ErrorResponse;
631
- // (undocumented)
632
- headers: RawHttpHeaders & GetEnvironmentDefinitionDefaultHeaders;
633
- // (undocumented)
634
- status: string;
635
- }
636
-
637
- // @public (undocumented)
638
- export type GetEnvironmentDefinitionParameters = RequestParameters;
639
-
640
- // @public
641
- export function getLongRunningPoller<TResult extends CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse>(client: Client, initialResponse: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
642
-
643
- // @public (undocumented)
644
- export function getLongRunningPoller<TResult extends DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse>(client: Client, initialResponse: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
645
-
646
- // @public (undocumented)
647
- export function getLongRunningPoller<TResult extends StartDevBoxLogicalResponse | StartDevBoxDefaultResponse>(client: Client, initialResponse: StartDevBox202Response | StartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
648
-
649
- // @public (undocumented)
650
- export function getLongRunningPoller<TResult extends StopDevBoxLogicalResponse | StopDevBoxDefaultResponse>(client: Client, initialResponse: StopDevBox202Response | StopDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
651
-
652
- // @public (undocumented)
653
- export function getLongRunningPoller<TResult extends RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse>(client: Client, initialResponse: RestartDevBox202Response | RestartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
654
-
655
- // @public (undocumented)
656
- export function getLongRunningPoller<TResult extends CreateOrReplaceEnvironmentLogicalResponse | CreateOrReplaceEnvironmentDefaultResponse>(client: Client, initialResponse: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
657
-
658
- // @public (undocumented)
659
- export function getLongRunningPoller<TResult extends DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse>(client: Client, initialResponse: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
660
-
661
- // @public
662
- export type GetPage<TPage> = (pageLink: string) => Promise<{
663
- page: TPage;
664
- nextPageLink?: string;
665
- }>;
666
-
667
- // @public (undocumented)
668
- export type GetParameters = RequestParameters;
669
-
670
- // @public (undocumented)
671
- export interface GetPool {
672
- get(options?: GetPoolParameters): StreamableMethod<GetPool200Response | GetPoolDefaultResponse>;
673
- }
674
-
675
- // @public
676
- export interface GetPool200Response extends HttpResponse {
677
- // (undocumented)
678
- body: PoolOutput;
679
- // (undocumented)
680
- status: "200";
681
- }
682
-
683
- // @public (undocumented)
684
- export interface GetPoolDefaultHeaders {
685
- "x-ms-error-code"?: string;
686
- }
687
-
688
- // @public (undocumented)
689
- export interface GetPoolDefaultResponse extends HttpResponse {
690
- // (undocumented)
691
- body: ErrorResponse;
692
- // (undocumented)
693
- headers: RawHttpHeaders & GetPoolDefaultHeaders;
694
- // (undocumented)
695
- status: string;
696
- }
697
-
698
- // @public (undocumented)
699
- export type GetPoolParameters = RequestParameters;
700
-
701
- // @public (undocumented)
702
- export interface GetProject {
703
- get(options?: GetProjectParameters): StreamableMethod<GetProject200Response | GetProjectDefaultResponse>;
704
- }
705
-
706
- // @public
707
- export interface GetProject200Response extends HttpResponse {
708
- // (undocumented)
709
- body: ProjectOutput;
710
- // (undocumented)
711
- status: "200";
712
- }
713
-
714
- // @public (undocumented)
715
- export interface GetProjectDefaultHeaders {
716
- "x-ms-error-code"?: string;
717
- }
718
-
719
- // @public (undocumented)
720
- export interface GetProjectDefaultResponse extends HttpResponse {
721
- // (undocumented)
722
- body: ErrorResponse;
723
- // (undocumented)
724
- headers: RawHttpHeaders & GetProjectDefaultHeaders;
725
- // (undocumented)
726
- status: string;
727
- }
728
-
729
- // @public (undocumented)
730
- export type GetProjectParameters = RequestParameters;
731
-
732
- // @public (undocumented)
733
- export interface GetRemoteConnection {
734
- get(options?: GetRemoteConnectionParameters): StreamableMethod<GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse>;
735
- }
736
-
737
- // @public
738
- export interface GetRemoteConnection200Response extends HttpResponse {
739
- // (undocumented)
740
- body: RemoteConnectionOutput;
741
- // (undocumented)
742
- status: "200";
743
- }
744
-
745
- // @public (undocumented)
746
- export interface GetRemoteConnectionDefaultHeaders {
747
- "x-ms-error-code"?: string;
748
- }
749
-
750
- // @public (undocumented)
751
- export interface GetRemoteConnectionDefaultResponse extends HttpResponse {
752
- // (undocumented)
753
- body: ErrorResponse;
754
- // (undocumented)
755
- headers: RawHttpHeaders & GetRemoteConnectionDefaultHeaders;
756
- // (undocumented)
757
- status: string;
758
- }
759
-
760
- // @public (undocumented)
761
- export type GetRemoteConnectionParameters = RequestParameters;
762
-
763
- // @public (undocumented)
764
- export interface GetScheduleByPool {
765
- get(options?: GetScheduleByPoolParameters): StreamableMethod<GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse>;
766
- }
767
-
768
- // @public
769
- export interface GetScheduleByPool200Response extends HttpResponse {
770
- // (undocumented)
771
- body: ScheduleOutput;
772
- // (undocumented)
773
- status: "200";
774
- }
775
-
776
- // @public (undocumented)
777
- export interface GetScheduleByPoolDefaultHeaders {
778
- "x-ms-error-code"?: string;
779
- }
780
-
781
- // @public (undocumented)
782
- export interface GetScheduleByPoolDefaultResponse extends HttpResponse {
783
- // (undocumented)
784
- body: ErrorResponse;
785
- // (undocumented)
786
- headers: RawHttpHeaders & GetScheduleByPoolDefaultHeaders;
787
- // (undocumented)
788
- status: string;
789
- }
790
-
791
- // @public (undocumented)
792
- export type GetScheduleByPoolParameters = RequestParameters;
793
-
794
- // @public
795
- export interface HardwareProfile {
796
- }
797
-
798
- // @public
799
- export interface HardwareProfileOutput {
800
- readonly memoryGB?: number;
801
- readonly skuName?: SkuNameOutput;
802
- readonly vCPUs?: number;
803
- }
804
-
805
- // @public
806
- export type HibernateSupport = string;
807
-
808
- // @public
809
- export type HibernateSupportOutput = string;
810
-
811
- // @public
812
- export interface ImageReference {
813
- }
814
-
815
- // @public
816
- export interface ImageReferenceOutput {
817
- readonly name?: string;
818
- readonly operatingSystem?: string;
819
- readonly osBuildNumber?: string;
820
- readonly publishedDate?: string;
821
- readonly version?: string;
822
- }
823
-
824
- // @public (undocumented)
825
- export function isUnexpected(response: ListProjects200Response | ListProjectsDefaultResponse): response is ListProjectsDefaultResponse;
826
-
827
- // @public (undocumented)
828
- export function isUnexpected(response: GetProject200Response | GetProjectDefaultResponse): response is GetProjectDefaultResponse;
829
-
830
- // @public (undocumented)
831
- export function isUnexpected(response: Get200Response | GetDefaultResponse): response is GetDefaultResponse;
832
-
833
- // @public (undocumented)
834
- export function isUnexpected(response: ListPools200Response | ListPoolsDefaultResponse): response is ListPoolsDefaultResponse;
835
-
836
- // @public (undocumented)
837
- export function isUnexpected(response: GetPool200Response | GetPoolDefaultResponse): response is GetPoolDefaultResponse;
838
-
839
- // @public (undocumented)
840
- export function isUnexpected(response: ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse): response is ListAllDevBoxesDefaultResponse;
841
-
842
- // @public (undocumented)
843
- export function isUnexpected(response: ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse): response is ListAllDevBoxesByUserDefaultResponse;
844
-
845
- // @public (undocumented)
846
- export function isUnexpected(response: ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse): response is ListSchedulesByPoolDefaultResponse;
847
-
848
- // @public (undocumented)
849
- export function isUnexpected(response: GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse): response is GetScheduleByPoolDefaultResponse;
850
-
851
- // @public (undocumented)
852
- export function isUnexpected(response: ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse): response is ListDevBoxesByUserDefaultResponse;
853
-
854
- // @public (undocumented)
855
- export function isUnexpected(response: GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse): response is GetDevBoxByUserDefaultResponse;
856
-
857
- // @public (undocumented)
858
- export function isUnexpected(response: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse): response is CreateDevBoxDefaultResponse;
859
-
860
- // @public (undocumented)
861
- export function isUnexpected(response: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse): response is DeleteDevBoxDefaultResponse;
862
-
863
- // @public (undocumented)
864
- export function isUnexpected(response: StartDevBox202Response | StartDevBoxLogicalResponse | StartDevBoxDefaultResponse): response is StartDevBoxDefaultResponse;
865
-
866
- // @public (undocumented)
867
- export function isUnexpected(response: StopDevBox202Response | StopDevBoxLogicalResponse | StopDevBoxDefaultResponse): response is StopDevBoxDefaultResponse;
868
-
869
- // @public (undocumented)
870
- export function isUnexpected(response: RestartDevBox202Response | RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse): response is RestartDevBoxDefaultResponse;
871
-
872
- // @public (undocumented)
873
- export function isUnexpected(response: GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse): response is GetRemoteConnectionDefaultResponse;
874
-
875
- // @public (undocumented)
876
- export function isUnexpected(response: ListActions200Response | ListActionsDefaultResponse): response is ListActionsDefaultResponse;
877
-
878
- // @public (undocumented)
879
- export function isUnexpected(response: GetAction200Response | GetActionDefaultResponse): response is GetActionDefaultResponse;
880
-
881
- // @public (undocumented)
882
- export function isUnexpected(response: SkipAction204Response | SkipActionDefaultResponse): response is SkipActionDefaultResponse;
883
-
884
- // @public (undocumented)
885
- export function isUnexpected(response: DelayAction200Response | DelayActionDefaultResponse): response is DelayActionDefaultResponse;
886
-
887
- // @public (undocumented)
888
- export function isUnexpected(response: DelayActions200Response | DelayActionsDefaultResponse): response is DelayActionsDefaultResponse;
889
-
890
- // @public (undocumented)
891
- export function isUnexpected(response: ListEnvironments200Response | ListEnvironmentsDefaultResponse): response is ListEnvironmentsDefaultResponse;
892
-
893
- // @public (undocumented)
894
- export function isUnexpected(response: ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse): response is ListEnvironmentsByUserDefaultResponse;
895
-
896
- // @public (undocumented)
897
- export function isUnexpected(response: GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse): response is GetEnvironmentByUserDefaultResponse;
898
-
899
- // @public (undocumented)
900
- export function isUnexpected(response: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentLogicalResponse | CreateOrReplaceEnvironmentDefaultResponse): response is CreateOrReplaceEnvironmentDefaultResponse;
901
-
902
- // @public (undocumented)
903
- export function isUnexpected(response: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse): response is DeleteEnvironmentDefaultResponse;
904
-
905
- // @public (undocumented)
906
- export function isUnexpected(response: ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse): response is ListCatalogsByProjectDefaultResponse;
907
-
908
- // @public (undocumented)
909
- export function isUnexpected(response: GetCatalog200Response | GetCatalogDefaultResponse): response is GetCatalogDefaultResponse;
910
-
911
- // @public (undocumented)
912
- export function isUnexpected(response: ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse): response is ListEnvironmentDefinitionsByProjectDefaultResponse;
913
-
914
- // @public (undocumented)
915
- export function isUnexpected(response: ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse): response is ListEnvironmentDefinitionsByCatalogDefaultResponse;
916
-
917
- // @public (undocumented)
918
- export function isUnexpected(response: GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse): response is GetEnvironmentDefinitionDefaultResponse;
919
-
920
- // @public (undocumented)
921
- export function isUnexpected(response: ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse): response is ListEnvironmentTypesDefaultResponse;
922
-
923
- // @public (undocumented)
924
- export interface ListActions {
925
- get(options?: ListActionsParameters): StreamableMethod<ListActions200Response | ListActionsDefaultResponse>;
926
- }
927
-
928
- // @public
929
- export interface ListActions200Response extends HttpResponse {
930
- // (undocumented)
931
- body: PagedDevBoxActionOutput;
932
- // (undocumented)
933
- status: "200";
934
- }
935
-
936
- // @public (undocumented)
937
- export interface ListActionsDefaultHeaders {
938
- "x-ms-error-code"?: string;
939
- }
940
-
941
- // @public (undocumented)
942
- export interface ListActionsDefaultResponse extends HttpResponse {
943
- // (undocumented)
944
- body: ErrorResponse;
945
- // (undocumented)
946
- headers: RawHttpHeaders & ListActionsDefaultHeaders;
947
- // (undocumented)
948
- status: string;
949
- }
950
-
951
- // @public (undocumented)
952
- export type ListActionsParameters = RequestParameters;
953
-
954
- // @public (undocumented)
955
- export interface ListAllDevBoxes {
956
- get(options?: ListAllDevBoxesParameters): StreamableMethod<ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse>;
957
- }
958
-
959
- // @public
960
- export interface ListAllDevBoxes200Response extends HttpResponse {
961
- // (undocumented)
962
- body: PagedDevBoxOutput;
963
- // (undocumented)
964
- status: "200";
965
- }
966
-
967
- // @public (undocumented)
968
- export interface ListAllDevBoxesByUser {
969
- get(options?: ListAllDevBoxesByUserParameters): StreamableMethod<ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse>;
970
- }
971
-
972
- // @public
973
- export interface ListAllDevBoxesByUser200Response extends HttpResponse {
974
- // (undocumented)
975
- body: PagedDevBoxOutput;
976
- // (undocumented)
977
- status: "200";
978
- }
979
-
980
- // @public (undocumented)
981
- export interface ListAllDevBoxesByUserDefaultHeaders {
982
- "x-ms-error-code"?: string;
983
- }
984
-
985
- // @public (undocumented)
986
- export interface ListAllDevBoxesByUserDefaultResponse extends HttpResponse {
987
- // (undocumented)
988
- body: ErrorResponse;
989
- // (undocumented)
990
- headers: RawHttpHeaders & ListAllDevBoxesByUserDefaultHeaders;
991
- // (undocumented)
992
- status: string;
993
- }
994
-
995
- // @public (undocumented)
996
- export type ListAllDevBoxesByUserParameters = RequestParameters;
997
-
998
- // @public (undocumented)
999
- export interface ListAllDevBoxesDefaultHeaders {
1000
- "x-ms-error-code"?: string;
1001
- }
1002
-
1003
- // @public (undocumented)
1004
- export interface ListAllDevBoxesDefaultResponse extends HttpResponse {
1005
- // (undocumented)
1006
- body: ErrorResponse;
1007
- // (undocumented)
1008
- headers: RawHttpHeaders & ListAllDevBoxesDefaultHeaders;
1009
- // (undocumented)
1010
- status: string;
1011
- }
1012
-
1013
- // @public (undocumented)
1014
- export type ListAllDevBoxesParameters = RequestParameters;
1015
-
1016
- // @public (undocumented)
1017
- export interface ListCatalogsByProject {
1018
- get(options?: ListCatalogsByProjectParameters): StreamableMethod<ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse>;
1019
- }
1020
-
1021
- // @public
1022
- export interface ListCatalogsByProject200Response extends HttpResponse {
1023
- // (undocumented)
1024
- body: PagedCatalogOutput;
1025
- // (undocumented)
1026
- status: "200";
1027
- }
1028
-
1029
- // @public (undocumented)
1030
- export interface ListCatalogsByProjectDefaultHeaders {
1031
- "x-ms-error-code"?: string;
1032
- }
1033
-
1034
- // @public (undocumented)
1035
- export interface ListCatalogsByProjectDefaultResponse extends HttpResponse {
1036
- // (undocumented)
1037
- body: ErrorResponse;
1038
- // (undocumented)
1039
- headers: RawHttpHeaders & ListCatalogsByProjectDefaultHeaders;
1040
- // (undocumented)
1041
- status: string;
1042
- }
1043
-
1044
- // @public (undocumented)
1045
- export type ListCatalogsByProjectParameters = RequestParameters;
1046
-
1047
- // @public (undocumented)
1048
- export interface ListDevBoxesByUser {
1049
- get(options?: ListDevBoxesByUserParameters): StreamableMethod<ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse>;
1050
- }
1051
-
1052
- // @public
1053
- export interface ListDevBoxesByUser200Response extends HttpResponse {
1054
- // (undocumented)
1055
- body: PagedDevBoxOutput;
1056
- // (undocumented)
1057
- status: "200";
1058
- }
1059
-
1060
- // @public (undocumented)
1061
- export interface ListDevBoxesByUserDefaultHeaders {
1062
- "x-ms-error-code"?: string;
1063
- }
1064
-
1065
- // @public (undocumented)
1066
- export interface ListDevBoxesByUserDefaultResponse extends HttpResponse {
1067
- // (undocumented)
1068
- body: ErrorResponse;
1069
- // (undocumented)
1070
- headers: RawHttpHeaders & ListDevBoxesByUserDefaultHeaders;
1071
- // (undocumented)
1072
- status: string;
1073
- }
1074
-
1075
- // @public (undocumented)
1076
- export type ListDevBoxesByUserParameters = RequestParameters;
1077
-
1078
- // @public (undocumented)
1079
- export interface ListEnvironmentDefinitionsByCatalog {
1080
- get(options?: ListEnvironmentDefinitionsByCatalogParameters): StreamableMethod<ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse>;
1081
- }
1082
-
1083
- // @public
1084
- export interface ListEnvironmentDefinitionsByCatalog200Response extends HttpResponse {
1085
- // (undocumented)
1086
- body: PagedEnvironmentDefinitionOutput;
1087
- // (undocumented)
1088
- status: "200";
1089
- }
1090
-
1091
- // @public (undocumented)
1092
- export interface ListEnvironmentDefinitionsByCatalogDefaultHeaders {
1093
- "x-ms-error-code"?: string;
1094
- }
1095
-
1096
- // @public (undocumented)
1097
- export interface ListEnvironmentDefinitionsByCatalogDefaultResponse extends HttpResponse {
1098
- // (undocumented)
1099
- body: ErrorResponse;
1100
- // (undocumented)
1101
- headers: RawHttpHeaders & ListEnvironmentDefinitionsByCatalogDefaultHeaders;
1102
- // (undocumented)
1103
- status: string;
1104
- }
1105
-
1106
- // @public (undocumented)
1107
- export type ListEnvironmentDefinitionsByCatalogParameters = RequestParameters;
1108
-
1109
- // @public (undocumented)
1110
- export interface ListEnvironmentDefinitionsByProject {
1111
- get(options?: ListEnvironmentDefinitionsByProjectParameters): StreamableMethod<ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse>;
1112
- }
1113
-
1114
- // @public
1115
- export interface ListEnvironmentDefinitionsByProject200Response extends HttpResponse {
1116
- // (undocumented)
1117
- body: PagedEnvironmentDefinitionOutput;
1118
- // (undocumented)
1119
- status: "200";
1120
- }
1121
-
1122
- // @public (undocumented)
1123
- export interface ListEnvironmentDefinitionsByProjectDefaultHeaders {
1124
- "x-ms-error-code"?: string;
1125
- }
1126
-
1127
- // @public (undocumented)
1128
- export interface ListEnvironmentDefinitionsByProjectDefaultResponse extends HttpResponse {
1129
- // (undocumented)
1130
- body: ErrorResponse;
1131
- // (undocumented)
1132
- headers: RawHttpHeaders & ListEnvironmentDefinitionsByProjectDefaultHeaders;
1133
- // (undocumented)
1134
- status: string;
1135
- }
1136
-
1137
- // @public (undocumented)
1138
- export type ListEnvironmentDefinitionsByProjectParameters = RequestParameters;
1139
-
1140
- // @public (undocumented)
1141
- export interface ListEnvironments {
1142
- get(options?: ListEnvironmentsParameters): StreamableMethod<ListEnvironments200Response | ListEnvironmentsDefaultResponse>;
1143
- }
1144
-
1145
- // @public
1146
- export interface ListEnvironments200Response extends HttpResponse {
1147
- // (undocumented)
1148
- body: PagedEnvironmentOutput;
1149
- // (undocumented)
1150
- status: "200";
1151
- }
1152
-
1153
- // @public (undocumented)
1154
- export interface ListEnvironmentsByUser {
1155
- get(options?: ListEnvironmentsByUserParameters): StreamableMethod<ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse>;
1156
- }
1157
-
1158
- // @public
1159
- export interface ListEnvironmentsByUser200Response extends HttpResponse {
1160
- // (undocumented)
1161
- body: PagedEnvironmentOutput;
1162
- // (undocumented)
1163
- status: "200";
1164
- }
1165
-
1166
- // @public (undocumented)
1167
- export interface ListEnvironmentsByUserDefaultHeaders {
1168
- "x-ms-error-code"?: string;
1169
- }
1170
-
1171
- // @public (undocumented)
1172
- export interface ListEnvironmentsByUserDefaultResponse extends HttpResponse {
1173
- // (undocumented)
1174
- body: ErrorResponse;
1175
- // (undocumented)
1176
- headers: RawHttpHeaders & ListEnvironmentsByUserDefaultHeaders;
1177
- // (undocumented)
1178
- status: string;
1179
- }
1180
-
1181
- // @public (undocumented)
1182
- export type ListEnvironmentsByUserParameters = RequestParameters;
1183
-
1184
- // @public (undocumented)
1185
- export interface ListEnvironmentsDefaultHeaders {
1186
- "x-ms-error-code"?: string;
1187
- }
1188
-
1189
- // @public (undocumented)
1190
- export interface ListEnvironmentsDefaultResponse extends HttpResponse {
1191
- // (undocumented)
1192
- body: ErrorResponse;
1193
- // (undocumented)
1194
- headers: RawHttpHeaders & ListEnvironmentsDefaultHeaders;
1195
- // (undocumented)
1196
- status: string;
1197
- }
1198
-
1199
- // @public (undocumented)
1200
- export type ListEnvironmentsParameters = RequestParameters;
1201
-
1202
- // @public (undocumented)
1203
- export interface ListEnvironmentTypes {
1204
- get(options?: ListEnvironmentTypesParameters): StreamableMethod<ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse>;
1205
- }
1206
-
1207
- // @public
1208
- export interface ListEnvironmentTypes200Response extends HttpResponse {
1209
- // (undocumented)
1210
- body: PagedEnvironmentTypeOutput;
1211
- // (undocumented)
1212
- status: "200";
1213
- }
1214
-
1215
- // @public (undocumented)
1216
- export interface ListEnvironmentTypesDefaultHeaders {
1217
- "x-ms-error-code"?: string;
1218
- }
1219
-
1220
- // @public (undocumented)
1221
- export interface ListEnvironmentTypesDefaultResponse extends HttpResponse {
1222
- // (undocumented)
1223
- body: ErrorResponse;
1224
- // (undocumented)
1225
- headers: RawHttpHeaders & ListEnvironmentTypesDefaultHeaders;
1226
- // (undocumented)
1227
- status: string;
1228
- }
1229
-
1230
- // @public (undocumented)
1231
- export type ListEnvironmentTypesParameters = RequestParameters;
1232
-
1233
- // @public (undocumented)
1234
- export interface ListPools {
1235
- get(options?: ListPoolsParameters): StreamableMethod<ListPools200Response | ListPoolsDefaultResponse>;
1236
- }
1237
-
1238
- // @public
1239
- export interface ListPools200Response extends HttpResponse {
1240
- // (undocumented)
1241
- body: PagedPoolOutput;
1242
- // (undocumented)
1243
- status: "200";
1244
- }
1245
-
1246
- // @public (undocumented)
1247
- export interface ListPoolsDefaultHeaders {
1248
- "x-ms-error-code"?: string;
1249
- }
1250
-
1251
- // @public (undocumented)
1252
- export interface ListPoolsDefaultResponse extends HttpResponse {
1253
- // (undocumented)
1254
- body: ErrorResponse;
1255
- // (undocumented)
1256
- headers: RawHttpHeaders & ListPoolsDefaultHeaders;
1257
- // (undocumented)
1258
- status: string;
1259
- }
1260
-
1261
- // @public (undocumented)
1262
- export type ListPoolsParameters = RequestParameters;
1263
-
1264
- // @public (undocumented)
1265
- export interface ListProjects {
1266
- get(options?: ListProjectsParameters): StreamableMethod<ListProjects200Response | ListProjectsDefaultResponse>;
1267
- }
1268
-
1269
- // @public
1270
- export interface ListProjects200Response extends HttpResponse {
1271
- // (undocumented)
1272
- body: PagedProjectOutput;
1273
- // (undocumented)
1274
- status: "200";
1275
- }
1276
-
1277
- // @public (undocumented)
1278
- export interface ListProjectsDefaultHeaders {
1279
- "x-ms-error-code"?: string;
1280
- }
1281
-
1282
- // @public (undocumented)
1283
- export interface ListProjectsDefaultResponse extends HttpResponse {
1284
- // (undocumented)
1285
- body: ErrorResponse;
1286
- // (undocumented)
1287
- headers: RawHttpHeaders & ListProjectsDefaultHeaders;
1288
- // (undocumented)
1289
- status: string;
1290
- }
1291
-
1292
- // @public (undocumented)
1293
- export type ListProjectsParameters = RequestParameters;
1294
-
1295
- // @public (undocumented)
1296
- export interface ListSchedulesByPool {
1297
- get(options?: ListSchedulesByPoolParameters): StreamableMethod<ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse>;
1298
- }
1299
-
1300
- // @public
1301
- export interface ListSchedulesByPool200Response extends HttpResponse {
1302
- // (undocumented)
1303
- body: PagedScheduleOutput;
1304
- // (undocumented)
1305
- status: "200";
1306
- }
1307
-
1308
- // @public (undocumented)
1309
- export interface ListSchedulesByPoolDefaultHeaders {
1310
- "x-ms-error-code"?: string;
1311
- }
1312
-
1313
- // @public (undocumented)
1314
- export interface ListSchedulesByPoolDefaultResponse extends HttpResponse {
1315
- // (undocumented)
1316
- body: ErrorResponse;
1317
- // (undocumented)
1318
- headers: RawHttpHeaders & ListSchedulesByPoolDefaultHeaders;
1319
- // (undocumented)
1320
- status: string;
1321
- }
1322
-
1323
- // @public (undocumented)
1324
- export type ListSchedulesByPoolParameters = RequestParameters;
1325
-
1326
- // @public
1327
- export type LocalAdminStatus = string;
1328
-
1329
- // @public
1330
- export type LocalAdminStatusOutput = string;
1331
-
1332
- // @public
1333
- export type OperationStateOutput = string;
1334
-
1335
- // @public
1336
- export interface OperationStatusOutput {
1337
- endTime?: string;
1338
- error?: ErrorModel;
1339
- readonly id: string;
1340
- readonly name: string;
1341
- percentComplete?: number;
1342
- properties?: any;
1343
- resourceId?: string;
1344
- startTime?: string;
1345
- status: OperationStateOutput;
1346
- }
1347
-
1348
- // @public
1349
- export interface OsDisk {
1350
- }
1351
-
1352
- // @public
1353
- export interface OsDiskOutput {
1354
- readonly diskSizeGB?: number;
1355
- }
1356
-
1357
- // @public
1358
- export type OsType = string;
1359
-
1360
- // @public
1361
- export type OsTypeOutput = string;
1362
-
1363
- // @public
1364
- export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
1365
- [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
1366
- byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
1367
- next(): Promise<IteratorResult<TElement>>;
1368
- }
1369
-
1370
- // @public
1371
- export interface PagedCatalogOutput {
1372
- nextLink?: string;
1373
- value: Array<CatalogOutput>;
1374
- }
1375
-
1376
- // @public
1377
- export interface PagedDevBoxActionDelayResultOutput {
1378
- nextLink?: string;
1379
- value: Array<DevBoxActionDelayResultOutput>;
1380
- }
1381
-
1382
- // @public
1383
- export interface PagedDevBoxActionOutput {
1384
- nextLink?: string;
1385
- value: Array<DevBoxActionOutput>;
1386
- }
1387
-
1388
- // @public
1389
- export interface PagedDevBoxOutput {
1390
- nextLink?: string;
1391
- value: Array<DevBoxOutput>;
1392
- }
1393
-
1394
- // @public
1395
- export interface PagedEnvironmentDefinitionOutput {
1396
- nextLink?: string;
1397
- value: Array<EnvironmentDefinitionOutput>;
1398
- }
1399
-
1400
- // @public
1401
- export interface PagedEnvironmentOutput {
1402
- nextLink?: string;
1403
- value: Array<EnvironmentOutput>;
1404
- }
1405
-
1406
- // @public
1407
- export interface PagedEnvironmentTypeOutput {
1408
- nextLink?: string;
1409
- value: Array<EnvironmentTypeOutput>;
1410
- }
1411
-
1412
- // @public
1413
- export interface PagedPoolOutput {
1414
- nextLink?: string;
1415
- value: Array<PoolOutput>;
1416
- }
1417
-
1418
- // @public
1419
- export interface PagedProjectOutput {
1420
- nextLink?: string;
1421
- value: Array<ProjectOutput>;
1422
- }
1423
-
1424
- // @public
1425
- export interface PagedScheduleOutput {
1426
- nextLink?: string;
1427
- value: Array<ScheduleOutput>;
1428
- }
1429
-
1430
- // @public
1431
- export interface PageSettings {
1432
- continuationToken?: string;
1433
- }
1434
-
1435
- // @public
1436
- export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1437
-
1438
- // @public
1439
- export type PaginateReturn<TResult> = TResult extends {
1440
- body: {
1441
- value?: infer TPage;
1442
- };
1443
- } ? GetArrayType<TPage> : Array<unknown>;
1444
-
1445
- // @public
1446
- export interface PagingOptions<TResponse> {
1447
- customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1448
- }
1449
-
1450
- // @public
1451
- export type ParameterTypeOutput = string;
1452
-
1453
- // @public
1454
- export type PoolHealthStatusOutput = string;
1455
-
1456
- // @public
1457
- export interface PoolOutput {
1458
- hardwareProfile?: HardwareProfileOutput;
1459
- healthStatus: PoolHealthStatusOutput;
1460
- hibernateSupport?: HibernateSupportOutput;
1461
- imageReference?: ImageReferenceOutput;
1462
- localAdministrator?: LocalAdminStatusOutput;
1463
- location: string;
1464
- readonly name: string;
1465
- osType?: OsTypeOutput;
1466
- stopOnDisconnect?: StopOnDisconnectConfigurationOutput;
1467
- storageProfile?: StorageProfileOutput;
1468
- }
1469
-
1470
- // @public
1471
- export type PowerState = string;
1472
-
1473
- // @public
1474
- export type PowerStateOutput = string;
1475
-
1476
- // @public
1477
- export interface ProjectOutput {
1478
- description?: string;
1479
- maxDevBoxesPerUser?: number;
1480
- readonly name: string;
1481
- }
1482
-
1483
- // @public
1484
- export interface RemoteConnectionOutput {
1485
- rdpConnectionUrl?: string;
1486
- webUrl?: string;
1487
- }
1488
-
1489
- // @public (undocumented)
1490
- export interface RestartDevBox {
1491
- post(options?: RestartDevBoxParameters): StreamableMethod<RestartDevBox202Response | RestartDevBoxDefaultResponse>;
1492
- }
1493
-
1494
- // @public (undocumented)
1495
- export interface RestartDevBox202Headers {
1496
- "operation-location": string;
1497
- }
1498
-
1499
- // @public
1500
- export interface RestartDevBox202Response extends HttpResponse {
1501
- // (undocumented)
1502
- body: OperationStatusOutput;
1503
- // (undocumented)
1504
- headers: RawHttpHeaders & RestartDevBox202Headers;
1505
- // (undocumented)
1506
- status: "202";
1507
- }
1508
-
1509
- // @public (undocumented)
1510
- export interface RestartDevBoxDefaultHeaders {
1511
- "x-ms-error-code"?: string;
1512
- }
1513
-
1514
- // @public (undocumented)
1515
- export interface RestartDevBoxDefaultResponse extends HttpResponse {
1516
- // (undocumented)
1517
- body: ErrorResponse;
1518
- // (undocumented)
1519
- headers: RawHttpHeaders & RestartDevBoxDefaultHeaders;
1520
- // (undocumented)
1521
- status: string;
1522
- }
1523
-
1524
- // @public
1525
- export interface RestartDevBoxLogicalResponse extends HttpResponse {
1526
- // (undocumented)
1527
- body: OperationStatusOutput;
1528
- // (undocumented)
1529
- status: "200";
1530
- }
1531
-
1532
- // @public (undocumented)
1533
- export type RestartDevBoxParameters = RequestParameters;
1534
-
1535
- // @public (undocumented)
1536
- export interface Routes {
1537
- (path: "/projects"): ListProjects;
1538
- (path: "/projects/{projectName}", projectName: string): GetProject;
1539
- (path: "/projects/{projectName}/operationstatuses/{operationId}", projectName: string, operationId: string): Get;
1540
- (path: "/projects/{projectName}/pools", projectName: string): ListPools;
1541
- (path: "/projects/{projectName}/pools/{poolName}", projectName: string, poolName: string): GetPool;
1542
- (path: "/devboxes"): ListAllDevBoxes;
1543
- (path: "/users/{userId}/devboxes", userId: string): ListAllDevBoxesByUser;
1544
- (path: "/projects/{projectName}/pools/{poolName}/schedules", projectName: string, poolName: string): ListSchedulesByPool;
1545
- (path: "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}", projectName: string, poolName: string, scheduleName: string): GetScheduleByPool;
1546
- (path: "/projects/{projectName}/users/{userId}/devboxes", projectName: string, userId: string): ListDevBoxesByUser;
1547
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}", projectName: string, userId: string, devBoxName: string): GetDevBoxByUser;
1548
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start", projectName: string, userId: string, devBoxName: string): StartDevBox;
1549
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): StopDevBox;
1550
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restart", projectName: string, userId: string, devBoxName: string): RestartDevBox;
1551
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection", projectName: string, userId: string, devBoxName: string): GetRemoteConnection;
1552
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions", projectName: string, userId: string, devBoxName: string): ListActions;
1553
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}", projectName: string, userId: string, devBoxName: string, actionName: string): GetAction;
1554
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:skip", projectName: string, userId: string, devBoxName: string, actionName: string): SkipAction;
1555
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:delay", projectName: string, userId: string, devBoxName: string, actionName: string): DelayAction;
1556
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions:delay", projectName: string, userId: string, devBoxName: string): DelayActions;
1557
- (path: "/projects/{projectName}/environments", projectName: string): ListEnvironments;
1558
- (path: "/projects/{projectName}/users/{userId}/environments", projectName: string, userId: string): ListEnvironmentsByUser;
1559
- (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): GetEnvironmentByUser;
1560
- (path: "/projects/{projectName}/catalogs", projectName: string): ListCatalogsByProject;
1561
- (path: "/projects/{projectName}/catalogs/{catalogName}", projectName: string, catalogName: string): GetCatalog;
1562
- (path: "/projects/{projectName}/environmentDefinitions", projectName: string): ListEnvironmentDefinitionsByProject;
1563
- (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions", projectName: string, catalogName: string): ListEnvironmentDefinitionsByCatalog;
1564
- (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName}", projectName: string, catalogName: string, definitionName: string): GetEnvironmentDefinition;
1565
- (path: "/projects/{projectName}/environmentTypes", projectName: string): ListEnvironmentTypes;
1566
- }
1567
-
1568
- // @public
1569
- export type ScheduledFrequencyOutput = string;
1570
-
1571
- // @public
1572
- export type ScheduledTypeOutput = string;
1573
-
1574
- // @public
1575
- export interface ScheduleOutput {
1576
- frequency: ScheduledFrequencyOutput;
1577
- readonly name: string;
1578
- time: string;
1579
- timeZone: string;
1580
- type: ScheduledTypeOutput;
1581
- }
1582
-
1583
- // @public
1584
- export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
1585
- getOperationState(): TState;
1586
- getResult(): TResult | undefined;
1587
- isDone(): boolean;
1588
- // @deprecated
1589
- isStopped(): boolean;
1590
- onProgress(callback: (state: TState) => void): CancelOnProgress;
1591
- poll(options?: {
1592
- abortSignal?: AbortSignalLike;
1593
- }): Promise<TState>;
1594
- pollUntilDone(pollOptions?: {
1595
- abortSignal?: AbortSignalLike;
1596
- }): Promise<TResult>;
1597
- serialize(): Promise<string>;
1598
- // @deprecated
1599
- stopPolling(): void;
1600
- submitted(): Promise<void>;
1601
- // @deprecated
1602
- toString(): string;
1603
- }
1604
-
1605
- // @public (undocumented)
1606
- export interface SkipAction {
1607
- post(options?: SkipActionParameters): StreamableMethod<SkipAction204Response | SkipActionDefaultResponse>;
1608
- }
1609
-
1610
- // @public
1611
- export interface SkipAction204Response extends HttpResponse {
1612
- // (undocumented)
1613
- status: "204";
1614
- }
1615
-
1616
- // @public (undocumented)
1617
- export interface SkipActionDefaultHeaders {
1618
- "x-ms-error-code"?: string;
1619
- }
1620
-
1621
- // @public (undocumented)
1622
- export interface SkipActionDefaultResponse extends HttpResponse {
1623
- // (undocumented)
1624
- body: ErrorResponse;
1625
- // (undocumented)
1626
- headers: RawHttpHeaders & SkipActionDefaultHeaders;
1627
- // (undocumented)
1628
- status: string;
1629
- }
1630
-
1631
- // @public (undocumented)
1632
- export type SkipActionParameters = RequestParameters;
1633
-
1634
- // @public
1635
- export type SkuName = string;
1636
-
1637
- // @public
1638
- export type SkuNameOutput = string;
1639
-
1640
- // @public (undocumented)
1641
- export interface StartDevBox {
1642
- post(options?: StartDevBoxParameters): StreamableMethod<StartDevBox202Response | StartDevBoxDefaultResponse>;
1643
- }
1644
-
1645
- // @public (undocumented)
1646
- export interface StartDevBox202Headers {
1647
- "operation-location": string;
1648
- }
1649
-
1650
- // @public
1651
- export interface StartDevBox202Response extends HttpResponse {
1652
- // (undocumented)
1653
- body: OperationStatusOutput;
1654
- // (undocumented)
1655
- headers: RawHttpHeaders & StartDevBox202Headers;
1656
- // (undocumented)
1657
- status: "202";
1658
- }
1659
-
1660
- // @public (undocumented)
1661
- export interface StartDevBoxDefaultHeaders {
1662
- "x-ms-error-code"?: string;
1663
- }
1664
-
1665
- // @public (undocumented)
1666
- export interface StartDevBoxDefaultResponse extends HttpResponse {
1667
- // (undocumented)
1668
- body: ErrorResponse;
1669
- // (undocumented)
1670
- headers: RawHttpHeaders & StartDevBoxDefaultHeaders;
1671
- // (undocumented)
1672
- status: string;
1673
- }
1674
-
1675
- // @public
1676
- export interface StartDevBoxLogicalResponse extends HttpResponse {
1677
- // (undocumented)
1678
- body: OperationStatusOutput;
1679
- // (undocumented)
1680
- status: "200";
1681
- }
1682
-
1683
- // @public (undocumented)
1684
- export type StartDevBoxParameters = RequestParameters;
1685
-
1686
- // @public (undocumented)
1687
- export interface StopDevBox {
1688
- post(options?: StopDevBoxParameters): StreamableMethod<StopDevBox202Response | StopDevBoxDefaultResponse>;
1689
- }
1690
-
1691
- // @public (undocumented)
1692
- export interface StopDevBox202Headers {
1693
- "operation-location": string;
1694
- }
1695
-
1696
- // @public
1697
- export interface StopDevBox202Response extends HttpResponse {
1698
- // (undocumented)
1699
- body: OperationStatusOutput;
1700
- // (undocumented)
1701
- headers: RawHttpHeaders & StopDevBox202Headers;
1702
- // (undocumented)
1703
- status: "202";
1704
- }
1705
-
1706
- // @public (undocumented)
1707
- export interface StopDevBoxDefaultHeaders {
1708
- "x-ms-error-code"?: string;
1709
- }
1710
-
1711
- // @public (undocumented)
1712
- export interface StopDevBoxDefaultResponse extends HttpResponse {
1713
- // (undocumented)
1714
- body: ErrorResponse;
1715
- // (undocumented)
1716
- headers: RawHttpHeaders & StopDevBoxDefaultHeaders;
1717
- // (undocumented)
1718
- status: string;
1719
- }
1720
-
1721
- // @public
1722
- export interface StopDevBoxLogicalResponse extends HttpResponse {
1723
- // (undocumented)
1724
- body: OperationStatusOutput;
1725
- // (undocumented)
1726
- status: "200";
1727
- }
1728
-
1729
- // @public (undocumented)
1730
- export type StopDevBoxParameters = StopDevBoxQueryParam & RequestParameters;
1731
-
1732
- // @public (undocumented)
1733
- export interface StopDevBoxQueryParam {
1734
- // (undocumented)
1735
- queryParameters?: StopDevBoxQueryParamProperties;
1736
- }
1737
-
1738
- // @public (undocumented)
1739
- export interface StopDevBoxQueryParamProperties {
1740
- hibernate?: boolean;
1741
- }
1742
-
1743
- // @public
1744
- export interface StopOnDisconnectConfigurationOutput {
1745
- gracePeriodMinutes?: number;
1746
- status: StopOnDisconnectEnableStatusOutput;
1747
- }
1748
-
1749
- // @public
1750
- export type StopOnDisconnectEnableStatusOutput = string;
1751
-
1752
- // @public
1753
- export interface StorageProfile {
1754
- osDisk?: OsDisk;
1755
- }
1756
-
1757
- // @public
1758
- export interface StorageProfileOutput {
1759
- osDisk?: OsDiskOutput;
1760
- }
1761
-
1762
- // (No @packageDocumentation comment for this package)
1763
-
1764
- ```
1
+ ## API Report File for "@azure-rest/developer-devcenter"
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 type { AbortSignalLike } from '@azure/abort-controller';
8
+ import type { CancelOnProgress } from '@azure/core-lro';
9
+ import type { Client } from '@azure-rest/core-client';
10
+ import type { ClientOptions } from '@azure-rest/core-client';
11
+ import type { CreateHttpPollerOptions } from '@azure/core-lro';
12
+ import type { ErrorModel } from '@azure-rest/core-client';
13
+ import type { ErrorResponse } from '@azure-rest/core-client';
14
+ import type { HttpResponse } from '@azure-rest/core-client';
15
+ import type { OperationState } from '@azure/core-lro';
16
+ import type { PathUncheckedResponse } from '@azure-rest/core-client';
17
+ import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
18
+ import type { RequestParameters } from '@azure-rest/core-client';
19
+ import type { StreamableMethod } from '@azure-rest/core-client';
20
+ import type { TokenCredential } from '@azure/core-auth';
21
+
22
+ // @public (undocumented)
23
+ export type AzureDeveloperDevCenterClient = Client & {
24
+ path: Routes;
25
+ };
26
+
27
+ // @public
28
+ export interface AzureDeveloperDevCenterClientOptions extends ClientOptions {
29
+ apiVersion?: string;
30
+ }
31
+
32
+ // @public
33
+ export interface CatalogOutput {
34
+ readonly name: string;
35
+ }
36
+
37
+ // @public
38
+ function createClient(endpointParam: string, credentials: TokenCredential, { apiVersion, ...options }?: AzureDeveloperDevCenterClientOptions): AzureDeveloperDevCenterClient;
39
+ export default createClient;
40
+
41
+ // @public
42
+ export interface CreateDevBox200Response extends HttpResponse {
43
+ // (undocumented)
44
+ body: DevBoxOutput;
45
+ // (undocumented)
46
+ status: "200";
47
+ }
48
+
49
+ // @public (undocumented)
50
+ export interface CreateDevBox201Headers {
51
+ // (undocumented)
52
+ "operation-location": string;
53
+ // (undocumented)
54
+ location: string;
55
+ }
56
+
57
+ // @public
58
+ export interface CreateDevBox201Response extends HttpResponse {
59
+ // (undocumented)
60
+ body: DevBoxOutput;
61
+ // (undocumented)
62
+ headers: RawHttpHeaders & CreateDevBox201Headers;
63
+ // (undocumented)
64
+ status: "201";
65
+ }
66
+
67
+ // @public (undocumented)
68
+ export interface CreateDevBoxBodyParam {
69
+ body: DevBox;
70
+ }
71
+
72
+ // @public (undocumented)
73
+ export interface CreateDevBoxDefaultHeaders {
74
+ "x-ms-error-code"?: string;
75
+ }
76
+
77
+ // @public (undocumented)
78
+ export interface CreateDevBoxDefaultResponse extends HttpResponse {
79
+ // (undocumented)
80
+ body: ErrorResponse;
81
+ // (undocumented)
82
+ headers: RawHttpHeaders & CreateDevBoxDefaultHeaders;
83
+ // (undocumented)
84
+ status: string;
85
+ }
86
+
87
+ // @public
88
+ export interface CreateDevBoxLogicalResponse extends HttpResponse {
89
+ // (undocumented)
90
+ body: DevBoxOutput;
91
+ // (undocumented)
92
+ status: "200";
93
+ }
94
+
95
+ // @public (undocumented)
96
+ export type CreateDevBoxParameters = CreateDevBoxBodyParam & RequestParameters;
97
+
98
+ // @public (undocumented)
99
+ export interface CreateOrReplaceEnvironment201Headers {
100
+ // (undocumented)
101
+ "operation-location": string;
102
+ }
103
+
104
+ // @public
105
+ export interface CreateOrReplaceEnvironment201Response extends HttpResponse {
106
+ // (undocumented)
107
+ body: EnvironmentOutput;
108
+ // (undocumented)
109
+ headers: RawHttpHeaders & CreateOrReplaceEnvironment201Headers;
110
+ // (undocumented)
111
+ status: "201";
112
+ }
113
+
114
+ // @public (undocumented)
115
+ export interface CreateOrReplaceEnvironmentBodyParam {
116
+ body: Environment;
117
+ }
118
+
119
+ // @public (undocumented)
120
+ export interface CreateOrReplaceEnvironmentDefaultHeaders {
121
+ "x-ms-error-code"?: string;
122
+ }
123
+
124
+ // @public (undocumented)
125
+ export interface CreateOrReplaceEnvironmentDefaultResponse extends HttpResponse {
126
+ // (undocumented)
127
+ body: ErrorResponse;
128
+ // (undocumented)
129
+ headers: RawHttpHeaders & CreateOrReplaceEnvironmentDefaultHeaders;
130
+ // (undocumented)
131
+ status: string;
132
+ }
133
+
134
+ // @public
135
+ export interface CreateOrReplaceEnvironmentLogicalResponse extends HttpResponse {
136
+ // (undocumented)
137
+ body: EnvironmentOutput;
138
+ // (undocumented)
139
+ status: "200";
140
+ }
141
+
142
+ // @public (undocumented)
143
+ export type CreateOrReplaceEnvironmentParameters = CreateOrReplaceEnvironmentBodyParam & RequestParameters;
144
+
145
+ // @public (undocumented)
146
+ export interface DelayAction {
147
+ post(options: DelayActionParameters): StreamableMethod<DelayAction200Response | DelayActionDefaultResponse>;
148
+ }
149
+
150
+ // @public
151
+ export interface DelayAction200Response extends HttpResponse {
152
+ // (undocumented)
153
+ body: DevBoxActionOutput;
154
+ // (undocumented)
155
+ status: "200";
156
+ }
157
+
158
+ // @public (undocumented)
159
+ export interface DelayActionDefaultHeaders {
160
+ "x-ms-error-code"?: string;
161
+ }
162
+
163
+ // @public (undocumented)
164
+ export interface DelayActionDefaultResponse extends HttpResponse {
165
+ // (undocumented)
166
+ body: ErrorResponse;
167
+ // (undocumented)
168
+ headers: RawHttpHeaders & DelayActionDefaultHeaders;
169
+ // (undocumented)
170
+ status: string;
171
+ }
172
+
173
+ // @public (undocumented)
174
+ export type DelayActionParameters = DelayActionQueryParam & RequestParameters;
175
+
176
+ // @public (undocumented)
177
+ export interface DelayActionQueryParam {
178
+ // (undocumented)
179
+ queryParameters: DelayActionQueryParamProperties;
180
+ }
181
+
182
+ // @public (undocumented)
183
+ export interface DelayActionQueryParamProperties {
184
+ until: Date | string;
185
+ }
186
+
187
+ // @public (undocumented)
188
+ export interface DelayActions {
189
+ post(options: DelayActionsParameters): StreamableMethod<DelayActions200Response | DelayActionsDefaultResponse>;
190
+ }
191
+
192
+ // @public
193
+ export interface DelayActions200Response extends HttpResponse {
194
+ // (undocumented)
195
+ body: PagedDevBoxActionDelayResultOutput;
196
+ // (undocumented)
197
+ status: "200";
198
+ }
199
+
200
+ // @public (undocumented)
201
+ export interface DelayActionsDefaultHeaders {
202
+ "x-ms-error-code"?: string;
203
+ }
204
+
205
+ // @public (undocumented)
206
+ export interface DelayActionsDefaultResponse extends HttpResponse {
207
+ // (undocumented)
208
+ body: ErrorResponse;
209
+ // (undocumented)
210
+ headers: RawHttpHeaders & DelayActionsDefaultHeaders;
211
+ // (undocumented)
212
+ status: string;
213
+ }
214
+
215
+ // @public (undocumented)
216
+ export type DelayActionsParameters = DelayActionsQueryParam & RequestParameters;
217
+
218
+ // @public (undocumented)
219
+ export interface DelayActionsQueryParam {
220
+ // (undocumented)
221
+ queryParameters: DelayActionsQueryParamProperties;
222
+ }
223
+
224
+ // @public (undocumented)
225
+ export interface DelayActionsQueryParamProperties {
226
+ until: Date | string;
227
+ }
228
+
229
+ // @public (undocumented)
230
+ export interface DeleteDevBox202Headers {
231
+ // (undocumented)
232
+ "operation-location": string;
233
+ // (undocumented)
234
+ location: string;
235
+ }
236
+
237
+ // @public
238
+ export interface DeleteDevBox202Response extends HttpResponse {
239
+ // (undocumented)
240
+ body: OperationStatusOutput;
241
+ // (undocumented)
242
+ headers: RawHttpHeaders & DeleteDevBox202Headers;
243
+ // (undocumented)
244
+ status: "202";
245
+ }
246
+
247
+ // @public
248
+ export interface DeleteDevBox204Response extends HttpResponse {
249
+ // (undocumented)
250
+ status: "204";
251
+ }
252
+
253
+ // @public (undocumented)
254
+ export interface DeleteDevBoxDefaultHeaders {
255
+ "x-ms-error-code"?: string;
256
+ }
257
+
258
+ // @public (undocumented)
259
+ export interface DeleteDevBoxDefaultResponse extends HttpResponse {
260
+ // (undocumented)
261
+ body: ErrorResponse;
262
+ // (undocumented)
263
+ headers: RawHttpHeaders & DeleteDevBoxDefaultHeaders;
264
+ // (undocumented)
265
+ status: string;
266
+ }
267
+
268
+ // @public
269
+ export interface DeleteDevBoxLogicalResponse extends HttpResponse {
270
+ // (undocumented)
271
+ body: OperationStatusOutput;
272
+ // (undocumented)
273
+ status: "200";
274
+ }
275
+
276
+ // @public (undocumented)
277
+ export type DeleteDevBoxParameters = RequestParameters;
278
+
279
+ // @public (undocumented)
280
+ export interface DeleteEnvironment202Headers {
281
+ // (undocumented)
282
+ "operation-location": string;
283
+ // (undocumented)
284
+ location: string;
285
+ }
286
+
287
+ // @public
288
+ export interface DeleteEnvironment202Response extends HttpResponse {
289
+ // (undocumented)
290
+ body: OperationStatusOutput;
291
+ // (undocumented)
292
+ headers: RawHttpHeaders & DeleteEnvironment202Headers;
293
+ // (undocumented)
294
+ status: "202";
295
+ }
296
+
297
+ // @public
298
+ export interface DeleteEnvironment204Response extends HttpResponse {
299
+ // (undocumented)
300
+ status: "204";
301
+ }
302
+
303
+ // @public (undocumented)
304
+ export interface DeleteEnvironmentDefaultHeaders {
305
+ "x-ms-error-code"?: string;
306
+ }
307
+
308
+ // @public (undocumented)
309
+ export interface DeleteEnvironmentDefaultResponse extends HttpResponse {
310
+ // (undocumented)
311
+ body: ErrorResponse;
312
+ // (undocumented)
313
+ headers: RawHttpHeaders & DeleteEnvironmentDefaultHeaders;
314
+ // (undocumented)
315
+ status: string;
316
+ }
317
+
318
+ // @public
319
+ export interface DeleteEnvironmentLogicalResponse extends HttpResponse {
320
+ // (undocumented)
321
+ body: OperationStatusOutput;
322
+ // (undocumented)
323
+ status: "200";
324
+ }
325
+
326
+ // @public (undocumented)
327
+ export type DeleteEnvironmentParameters = RequestParameters;
328
+
329
+ // @public
330
+ export interface DevBox {
331
+ localAdministrator?: LocalAdminStatus;
332
+ poolName: string;
333
+ }
334
+
335
+ // @public
336
+ export interface DevBoxActionDelayResultOutput {
337
+ action?: DevBoxActionOutput;
338
+ error?: ErrorModel;
339
+ name: string;
340
+ result: DevBoxActionDelayResultStatusOutput;
341
+ }
342
+
343
+ // @public
344
+ export type DevBoxActionDelayResultStatusOutput = string;
345
+
346
+ // @public
347
+ export interface DevBoxActionOutput {
348
+ actionType: DevBoxActionTypeOutput;
349
+ readonly name: string;
350
+ next?: DevBoxNextActionOutput;
351
+ sourceId: string;
352
+ suspendedUntil?: string;
353
+ }
354
+
355
+ // @public
356
+ export type DevBoxActionTypeOutput = string;
357
+
358
+ // @public
359
+ export interface DevBoxNextActionOutput {
360
+ scheduledTime: string;
361
+ }
362
+
363
+ // @public
364
+ export interface DevBoxOutput {
365
+ readonly actionState?: string;
366
+ readonly createdTime?: string;
367
+ readonly error?: ErrorModel;
368
+ readonly hardwareProfile?: HardwareProfileOutput;
369
+ readonly hibernateSupport?: HibernateSupportOutput;
370
+ readonly imageReference?: ImageReferenceOutput;
371
+ localAdministrator?: LocalAdminStatusOutput;
372
+ readonly location?: string;
373
+ readonly name: string;
374
+ readonly osType?: OsTypeOutput;
375
+ poolName: string;
376
+ readonly powerState?: PowerStateOutput;
377
+ readonly projectName?: string;
378
+ readonly provisioningState?: DevBoxProvisioningStateOutput;
379
+ readonly storageProfile?: StorageProfileOutput;
380
+ readonly uniqueId?: string;
381
+ readonly user?: string;
382
+ }
383
+
384
+ // @public
385
+ export type DevBoxProvisioningState = string;
386
+
387
+ // @public
388
+ export type DevBoxProvisioningStateOutput = string;
389
+
390
+ // @public
391
+ export interface Environment {
392
+ catalogName: string;
393
+ environmentDefinitionName: string;
394
+ environmentType: string;
395
+ parameters?: Record<string, unknown>;
396
+ }
397
+
398
+ // @public
399
+ export interface EnvironmentDefinitionOutput {
400
+ catalogName: string;
401
+ description?: string;
402
+ id: string;
403
+ readonly name: string;
404
+ parameters?: Array<EnvironmentDefinitionParameterOutput>;
405
+ parametersSchema?: string;
406
+ templatePath?: string;
407
+ }
408
+
409
+ // @public
410
+ export interface EnvironmentDefinitionParameterOutput {
411
+ allowed?: string[];
412
+ default?: string;
413
+ description?: string;
414
+ id: string;
415
+ name?: string;
416
+ readOnly?: boolean;
417
+ required: boolean;
418
+ type: ParameterTypeOutput;
419
+ }
420
+
421
+ // @public
422
+ export interface EnvironmentOutput {
423
+ catalogName: string;
424
+ environmentDefinitionName: string;
425
+ environmentType: string;
426
+ readonly error?: ErrorModel;
427
+ readonly name: string;
428
+ parameters?: Record<string, any>;
429
+ readonly provisioningState?: EnvironmentProvisioningStateOutput;
430
+ readonly resourceGroupId?: string;
431
+ readonly user?: string;
432
+ }
433
+
434
+ // @public
435
+ export type EnvironmentProvisioningState = string;
436
+
437
+ // @public
438
+ export type EnvironmentProvisioningStateOutput = string;
439
+
440
+ // @public
441
+ export type EnvironmentTypeEnableStatusOutput = string;
442
+
443
+ // @public
444
+ export interface EnvironmentTypeOutput {
445
+ deploymentTargetId: string;
446
+ readonly name: string;
447
+ status: EnvironmentTypeEnableStatusOutput;
448
+ }
449
+
450
+ // @public (undocumented)
451
+ export interface Get {
452
+ get(options?: GetParameters): StreamableMethod<Get200Response | GetDefaultResponse>;
453
+ }
454
+
455
+ // @public
456
+ export interface Get200Response extends HttpResponse {
457
+ // (undocumented)
458
+ body: OperationStatusOutput;
459
+ // (undocumented)
460
+ status: "200";
461
+ }
462
+
463
+ // @public (undocumented)
464
+ export interface GetAction {
465
+ get(options?: GetActionParameters): StreamableMethod<GetAction200Response | GetActionDefaultResponse>;
466
+ }
467
+
468
+ // @public
469
+ export interface GetAction200Response extends HttpResponse {
470
+ // (undocumented)
471
+ body: DevBoxActionOutput;
472
+ // (undocumented)
473
+ status: "200";
474
+ }
475
+
476
+ // @public (undocumented)
477
+ export interface GetActionDefaultHeaders {
478
+ "x-ms-error-code"?: string;
479
+ }
480
+
481
+ // @public (undocumented)
482
+ export interface GetActionDefaultResponse extends HttpResponse {
483
+ // (undocumented)
484
+ body: ErrorResponse;
485
+ // (undocumented)
486
+ headers: RawHttpHeaders & GetActionDefaultHeaders;
487
+ // (undocumented)
488
+ status: string;
489
+ }
490
+
491
+ // @public (undocumented)
492
+ export type GetActionParameters = RequestParameters;
493
+
494
+ // @public
495
+ export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
496
+
497
+ // @public (undocumented)
498
+ export interface GetCatalog {
499
+ get(options?: GetCatalogParameters): StreamableMethod<GetCatalog200Response | GetCatalogDefaultResponse>;
500
+ }
501
+
502
+ // @public
503
+ export interface GetCatalog200Response extends HttpResponse {
504
+ // (undocumented)
505
+ body: CatalogOutput;
506
+ // (undocumented)
507
+ status: "200";
508
+ }
509
+
510
+ // @public (undocumented)
511
+ export interface GetCatalogDefaultHeaders {
512
+ "x-ms-error-code"?: string;
513
+ }
514
+
515
+ // @public (undocumented)
516
+ export interface GetCatalogDefaultResponse extends HttpResponse {
517
+ // (undocumented)
518
+ body: ErrorResponse;
519
+ // (undocumented)
520
+ headers: RawHttpHeaders & GetCatalogDefaultHeaders;
521
+ // (undocumented)
522
+ status: string;
523
+ }
524
+
525
+ // @public (undocumented)
526
+ export type GetCatalogParameters = RequestParameters;
527
+
528
+ // @public (undocumented)
529
+ export interface GetDefaultHeaders {
530
+ "x-ms-error-code"?: string;
531
+ }
532
+
533
+ // @public (undocumented)
534
+ export interface GetDefaultResponse extends HttpResponse {
535
+ // (undocumented)
536
+ body: ErrorResponse;
537
+ // (undocumented)
538
+ headers: RawHttpHeaders & GetDefaultHeaders;
539
+ // (undocumented)
540
+ status: string;
541
+ }
542
+
543
+ // @public (undocumented)
544
+ export interface GetDevBoxByUser {
545
+ delete(options?: DeleteDevBoxParameters): StreamableMethod<DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse>;
546
+ get(options?: GetDevBoxByUserParameters): StreamableMethod<GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse>;
547
+ put(options: CreateDevBoxParameters): StreamableMethod<CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse>;
548
+ }
549
+
550
+ // @public
551
+ export interface GetDevBoxByUser200Response extends HttpResponse {
552
+ // (undocumented)
553
+ body: DevBoxOutput;
554
+ // (undocumented)
555
+ status: "200";
556
+ }
557
+
558
+ // @public (undocumented)
559
+ export interface GetDevBoxByUserDefaultHeaders {
560
+ "x-ms-error-code"?: string;
561
+ }
562
+
563
+ // @public (undocumented)
564
+ export interface GetDevBoxByUserDefaultResponse extends HttpResponse {
565
+ // (undocumented)
566
+ body: ErrorResponse;
567
+ // (undocumented)
568
+ headers: RawHttpHeaders & GetDevBoxByUserDefaultHeaders;
569
+ // (undocumented)
570
+ status: string;
571
+ }
572
+
573
+ // @public (undocumented)
574
+ export type GetDevBoxByUserParameters = RequestParameters;
575
+
576
+ // @public (undocumented)
577
+ export interface GetEnvironmentByUser {
578
+ delete(options?: DeleteEnvironmentParameters): StreamableMethod<DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse>;
579
+ get(options?: GetEnvironmentByUserParameters): StreamableMethod<GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse>;
580
+ put(options: CreateOrReplaceEnvironmentParameters): StreamableMethod<CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse>;
581
+ }
582
+
583
+ // @public
584
+ export interface GetEnvironmentByUser200Response extends HttpResponse {
585
+ // (undocumented)
586
+ body: EnvironmentOutput;
587
+ // (undocumented)
588
+ status: "200";
589
+ }
590
+
591
+ // @public (undocumented)
592
+ export interface GetEnvironmentByUserDefaultHeaders {
593
+ "x-ms-error-code"?: string;
594
+ }
595
+
596
+ // @public (undocumented)
597
+ export interface GetEnvironmentByUserDefaultResponse extends HttpResponse {
598
+ // (undocumented)
599
+ body: ErrorResponse;
600
+ // (undocumented)
601
+ headers: RawHttpHeaders & GetEnvironmentByUserDefaultHeaders;
602
+ // (undocumented)
603
+ status: string;
604
+ }
605
+
606
+ // @public (undocumented)
607
+ export type GetEnvironmentByUserParameters = RequestParameters;
608
+
609
+ // @public (undocumented)
610
+ export interface GetEnvironmentDefinition {
611
+ get(options?: GetEnvironmentDefinitionParameters): StreamableMethod<GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse>;
612
+ }
613
+
614
+ // @public
615
+ export interface GetEnvironmentDefinition200Response extends HttpResponse {
616
+ // (undocumented)
617
+ body: EnvironmentDefinitionOutput;
618
+ // (undocumented)
619
+ status: "200";
620
+ }
621
+
622
+ // @public (undocumented)
623
+ export interface GetEnvironmentDefinitionDefaultHeaders {
624
+ "x-ms-error-code"?: string;
625
+ }
626
+
627
+ // @public (undocumented)
628
+ export interface GetEnvironmentDefinitionDefaultResponse extends HttpResponse {
629
+ // (undocumented)
630
+ body: ErrorResponse;
631
+ // (undocumented)
632
+ headers: RawHttpHeaders & GetEnvironmentDefinitionDefaultHeaders;
633
+ // (undocumented)
634
+ status: string;
635
+ }
636
+
637
+ // @public (undocumented)
638
+ export type GetEnvironmentDefinitionParameters = RequestParameters;
639
+
640
+ // @public
641
+ export function getLongRunningPoller<TResult extends CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse>(client: Client, initialResponse: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
642
+
643
+ // @public (undocumented)
644
+ export function getLongRunningPoller<TResult extends DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse>(client: Client, initialResponse: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
645
+
646
+ // @public (undocumented)
647
+ export function getLongRunningPoller<TResult extends StartDevBoxLogicalResponse | StartDevBoxDefaultResponse>(client: Client, initialResponse: StartDevBox202Response | StartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
648
+
649
+ // @public (undocumented)
650
+ export function getLongRunningPoller<TResult extends StopDevBoxLogicalResponse | StopDevBoxDefaultResponse>(client: Client, initialResponse: StopDevBox202Response | StopDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
651
+
652
+ // @public (undocumented)
653
+ export function getLongRunningPoller<TResult extends RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse>(client: Client, initialResponse: RestartDevBox202Response | RestartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
654
+
655
+ // @public (undocumented)
656
+ export function getLongRunningPoller<TResult extends CreateOrReplaceEnvironmentLogicalResponse | CreateOrReplaceEnvironmentDefaultResponse>(client: Client, initialResponse: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
657
+
658
+ // @public (undocumented)
659
+ export function getLongRunningPoller<TResult extends DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse>(client: Client, initialResponse: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
660
+
661
+ // @public
662
+ export type GetPage<TPage> = (pageLink: string) => Promise<{
663
+ page: TPage;
664
+ nextPageLink?: string;
665
+ }>;
666
+
667
+ // @public (undocumented)
668
+ export type GetParameters = RequestParameters;
669
+
670
+ // @public (undocumented)
671
+ export interface GetPool {
672
+ get(options?: GetPoolParameters): StreamableMethod<GetPool200Response | GetPoolDefaultResponse>;
673
+ }
674
+
675
+ // @public
676
+ export interface GetPool200Response extends HttpResponse {
677
+ // (undocumented)
678
+ body: PoolOutput;
679
+ // (undocumented)
680
+ status: "200";
681
+ }
682
+
683
+ // @public (undocumented)
684
+ export interface GetPoolDefaultHeaders {
685
+ "x-ms-error-code"?: string;
686
+ }
687
+
688
+ // @public (undocumented)
689
+ export interface GetPoolDefaultResponse extends HttpResponse {
690
+ // (undocumented)
691
+ body: ErrorResponse;
692
+ // (undocumented)
693
+ headers: RawHttpHeaders & GetPoolDefaultHeaders;
694
+ // (undocumented)
695
+ status: string;
696
+ }
697
+
698
+ // @public (undocumented)
699
+ export type GetPoolParameters = RequestParameters;
700
+
701
+ // @public (undocumented)
702
+ export interface GetProject {
703
+ get(options?: GetProjectParameters): StreamableMethod<GetProject200Response | GetProjectDefaultResponse>;
704
+ }
705
+
706
+ // @public
707
+ export interface GetProject200Response extends HttpResponse {
708
+ // (undocumented)
709
+ body: ProjectOutput;
710
+ // (undocumented)
711
+ status: "200";
712
+ }
713
+
714
+ // @public (undocumented)
715
+ export interface GetProjectDefaultHeaders {
716
+ "x-ms-error-code"?: string;
717
+ }
718
+
719
+ // @public (undocumented)
720
+ export interface GetProjectDefaultResponse extends HttpResponse {
721
+ // (undocumented)
722
+ body: ErrorResponse;
723
+ // (undocumented)
724
+ headers: RawHttpHeaders & GetProjectDefaultHeaders;
725
+ // (undocumented)
726
+ status: string;
727
+ }
728
+
729
+ // @public (undocumented)
730
+ export type GetProjectParameters = RequestParameters;
731
+
732
+ // @public (undocumented)
733
+ export interface GetRemoteConnection {
734
+ get(options?: GetRemoteConnectionParameters): StreamableMethod<GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse>;
735
+ }
736
+
737
+ // @public
738
+ export interface GetRemoteConnection200Response extends HttpResponse {
739
+ // (undocumented)
740
+ body: RemoteConnectionOutput;
741
+ // (undocumented)
742
+ status: "200";
743
+ }
744
+
745
+ // @public (undocumented)
746
+ export interface GetRemoteConnectionDefaultHeaders {
747
+ "x-ms-error-code"?: string;
748
+ }
749
+
750
+ // @public (undocumented)
751
+ export interface GetRemoteConnectionDefaultResponse extends HttpResponse {
752
+ // (undocumented)
753
+ body: ErrorResponse;
754
+ // (undocumented)
755
+ headers: RawHttpHeaders & GetRemoteConnectionDefaultHeaders;
756
+ // (undocumented)
757
+ status: string;
758
+ }
759
+
760
+ // @public (undocumented)
761
+ export type GetRemoteConnectionParameters = RequestParameters;
762
+
763
+ // @public (undocumented)
764
+ export interface GetScheduleByPool {
765
+ get(options?: GetScheduleByPoolParameters): StreamableMethod<GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse>;
766
+ }
767
+
768
+ // @public
769
+ export interface GetScheduleByPool200Response extends HttpResponse {
770
+ // (undocumented)
771
+ body: ScheduleOutput;
772
+ // (undocumented)
773
+ status: "200";
774
+ }
775
+
776
+ // @public (undocumented)
777
+ export interface GetScheduleByPoolDefaultHeaders {
778
+ "x-ms-error-code"?: string;
779
+ }
780
+
781
+ // @public (undocumented)
782
+ export interface GetScheduleByPoolDefaultResponse extends HttpResponse {
783
+ // (undocumented)
784
+ body: ErrorResponse;
785
+ // (undocumented)
786
+ headers: RawHttpHeaders & GetScheduleByPoolDefaultHeaders;
787
+ // (undocumented)
788
+ status: string;
789
+ }
790
+
791
+ // @public (undocumented)
792
+ export type GetScheduleByPoolParameters = RequestParameters;
793
+
794
+ // @public
795
+ export interface HardwareProfile {
796
+ }
797
+
798
+ // @public
799
+ export interface HardwareProfileOutput {
800
+ readonly memoryGB?: number;
801
+ readonly skuName?: SkuNameOutput;
802
+ readonly vCPUs?: number;
803
+ }
804
+
805
+ // @public
806
+ export type HibernateSupport = string;
807
+
808
+ // @public
809
+ export type HibernateSupportOutput = string;
810
+
811
+ // @public
812
+ export interface ImageReference {
813
+ }
814
+
815
+ // @public
816
+ export interface ImageReferenceOutput {
817
+ readonly name?: string;
818
+ readonly operatingSystem?: string;
819
+ readonly osBuildNumber?: string;
820
+ readonly publishedDate?: string;
821
+ readonly version?: string;
822
+ }
823
+
824
+ // @public (undocumented)
825
+ export function isUnexpected(response: ListProjects200Response | ListProjectsDefaultResponse): response is ListProjectsDefaultResponse;
826
+
827
+ // @public (undocumented)
828
+ export function isUnexpected(response: GetProject200Response | GetProjectDefaultResponse): response is GetProjectDefaultResponse;
829
+
830
+ // @public (undocumented)
831
+ export function isUnexpected(response: Get200Response | GetDefaultResponse): response is GetDefaultResponse;
832
+
833
+ // @public (undocumented)
834
+ export function isUnexpected(response: ListPools200Response | ListPoolsDefaultResponse): response is ListPoolsDefaultResponse;
835
+
836
+ // @public (undocumented)
837
+ export function isUnexpected(response: GetPool200Response | GetPoolDefaultResponse): response is GetPoolDefaultResponse;
838
+
839
+ // @public (undocumented)
840
+ export function isUnexpected(response: ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse): response is ListAllDevBoxesDefaultResponse;
841
+
842
+ // @public (undocumented)
843
+ export function isUnexpected(response: ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse): response is ListAllDevBoxesByUserDefaultResponse;
844
+
845
+ // @public (undocumented)
846
+ export function isUnexpected(response: ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse): response is ListSchedulesByPoolDefaultResponse;
847
+
848
+ // @public (undocumented)
849
+ export function isUnexpected(response: GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse): response is GetScheduleByPoolDefaultResponse;
850
+
851
+ // @public (undocumented)
852
+ export function isUnexpected(response: ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse): response is ListDevBoxesByUserDefaultResponse;
853
+
854
+ // @public (undocumented)
855
+ export function isUnexpected(response: GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse): response is GetDevBoxByUserDefaultResponse;
856
+
857
+ // @public (undocumented)
858
+ export function isUnexpected(response: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse): response is CreateDevBoxDefaultResponse;
859
+
860
+ // @public (undocumented)
861
+ export function isUnexpected(response: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse): response is DeleteDevBoxDefaultResponse;
862
+
863
+ // @public (undocumented)
864
+ export function isUnexpected(response: StartDevBox202Response | StartDevBoxLogicalResponse | StartDevBoxDefaultResponse): response is StartDevBoxDefaultResponse;
865
+
866
+ // @public (undocumented)
867
+ export function isUnexpected(response: StopDevBox202Response | StopDevBoxLogicalResponse | StopDevBoxDefaultResponse): response is StopDevBoxDefaultResponse;
868
+
869
+ // @public (undocumented)
870
+ export function isUnexpected(response: RestartDevBox202Response | RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse): response is RestartDevBoxDefaultResponse;
871
+
872
+ // @public (undocumented)
873
+ export function isUnexpected(response: GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse): response is GetRemoteConnectionDefaultResponse;
874
+
875
+ // @public (undocumented)
876
+ export function isUnexpected(response: ListActions200Response | ListActionsDefaultResponse): response is ListActionsDefaultResponse;
877
+
878
+ // @public (undocumented)
879
+ export function isUnexpected(response: GetAction200Response | GetActionDefaultResponse): response is GetActionDefaultResponse;
880
+
881
+ // @public (undocumented)
882
+ export function isUnexpected(response: SkipAction204Response | SkipActionDefaultResponse): response is SkipActionDefaultResponse;
883
+
884
+ // @public (undocumented)
885
+ export function isUnexpected(response: DelayAction200Response | DelayActionDefaultResponse): response is DelayActionDefaultResponse;
886
+
887
+ // @public (undocumented)
888
+ export function isUnexpected(response: DelayActions200Response | DelayActionsDefaultResponse): response is DelayActionsDefaultResponse;
889
+
890
+ // @public (undocumented)
891
+ export function isUnexpected(response: ListEnvironments200Response | ListEnvironmentsDefaultResponse): response is ListEnvironmentsDefaultResponse;
892
+
893
+ // @public (undocumented)
894
+ export function isUnexpected(response: ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse): response is ListEnvironmentsByUserDefaultResponse;
895
+
896
+ // @public (undocumented)
897
+ export function isUnexpected(response: GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse): response is GetEnvironmentByUserDefaultResponse;
898
+
899
+ // @public (undocumented)
900
+ export function isUnexpected(response: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentLogicalResponse | CreateOrReplaceEnvironmentDefaultResponse): response is CreateOrReplaceEnvironmentDefaultResponse;
901
+
902
+ // @public (undocumented)
903
+ export function isUnexpected(response: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse): response is DeleteEnvironmentDefaultResponse;
904
+
905
+ // @public (undocumented)
906
+ export function isUnexpected(response: ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse): response is ListCatalogsByProjectDefaultResponse;
907
+
908
+ // @public (undocumented)
909
+ export function isUnexpected(response: GetCatalog200Response | GetCatalogDefaultResponse): response is GetCatalogDefaultResponse;
910
+
911
+ // @public (undocumented)
912
+ export function isUnexpected(response: ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse): response is ListEnvironmentDefinitionsByProjectDefaultResponse;
913
+
914
+ // @public (undocumented)
915
+ export function isUnexpected(response: ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse): response is ListEnvironmentDefinitionsByCatalogDefaultResponse;
916
+
917
+ // @public (undocumented)
918
+ export function isUnexpected(response: GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse): response is GetEnvironmentDefinitionDefaultResponse;
919
+
920
+ // @public (undocumented)
921
+ export function isUnexpected(response: ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse): response is ListEnvironmentTypesDefaultResponse;
922
+
923
+ // @public (undocumented)
924
+ export interface ListActions {
925
+ get(options?: ListActionsParameters): StreamableMethod<ListActions200Response | ListActionsDefaultResponse>;
926
+ }
927
+
928
+ // @public
929
+ export interface ListActions200Response extends HttpResponse {
930
+ // (undocumented)
931
+ body: PagedDevBoxActionOutput;
932
+ // (undocumented)
933
+ status: "200";
934
+ }
935
+
936
+ // @public (undocumented)
937
+ export interface ListActionsDefaultHeaders {
938
+ "x-ms-error-code"?: string;
939
+ }
940
+
941
+ // @public (undocumented)
942
+ export interface ListActionsDefaultResponse extends HttpResponse {
943
+ // (undocumented)
944
+ body: ErrorResponse;
945
+ // (undocumented)
946
+ headers: RawHttpHeaders & ListActionsDefaultHeaders;
947
+ // (undocumented)
948
+ status: string;
949
+ }
950
+
951
+ // @public (undocumented)
952
+ export type ListActionsParameters = RequestParameters;
953
+
954
+ // @public (undocumented)
955
+ export interface ListAllDevBoxes {
956
+ get(options?: ListAllDevBoxesParameters): StreamableMethod<ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse>;
957
+ }
958
+
959
+ // @public
960
+ export interface ListAllDevBoxes200Response extends HttpResponse {
961
+ // (undocumented)
962
+ body: PagedDevBoxOutput;
963
+ // (undocumented)
964
+ status: "200";
965
+ }
966
+
967
+ // @public (undocumented)
968
+ export interface ListAllDevBoxesByUser {
969
+ get(options?: ListAllDevBoxesByUserParameters): StreamableMethod<ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse>;
970
+ }
971
+
972
+ // @public
973
+ export interface ListAllDevBoxesByUser200Response extends HttpResponse {
974
+ // (undocumented)
975
+ body: PagedDevBoxOutput;
976
+ // (undocumented)
977
+ status: "200";
978
+ }
979
+
980
+ // @public (undocumented)
981
+ export interface ListAllDevBoxesByUserDefaultHeaders {
982
+ "x-ms-error-code"?: string;
983
+ }
984
+
985
+ // @public (undocumented)
986
+ export interface ListAllDevBoxesByUserDefaultResponse extends HttpResponse {
987
+ // (undocumented)
988
+ body: ErrorResponse;
989
+ // (undocumented)
990
+ headers: RawHttpHeaders & ListAllDevBoxesByUserDefaultHeaders;
991
+ // (undocumented)
992
+ status: string;
993
+ }
994
+
995
+ // @public (undocumented)
996
+ export type ListAllDevBoxesByUserParameters = RequestParameters;
997
+
998
+ // @public (undocumented)
999
+ export interface ListAllDevBoxesDefaultHeaders {
1000
+ "x-ms-error-code"?: string;
1001
+ }
1002
+
1003
+ // @public (undocumented)
1004
+ export interface ListAllDevBoxesDefaultResponse extends HttpResponse {
1005
+ // (undocumented)
1006
+ body: ErrorResponse;
1007
+ // (undocumented)
1008
+ headers: RawHttpHeaders & ListAllDevBoxesDefaultHeaders;
1009
+ // (undocumented)
1010
+ status: string;
1011
+ }
1012
+
1013
+ // @public (undocumented)
1014
+ export type ListAllDevBoxesParameters = RequestParameters;
1015
+
1016
+ // @public (undocumented)
1017
+ export interface ListCatalogsByProject {
1018
+ get(options?: ListCatalogsByProjectParameters): StreamableMethod<ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse>;
1019
+ }
1020
+
1021
+ // @public
1022
+ export interface ListCatalogsByProject200Response extends HttpResponse {
1023
+ // (undocumented)
1024
+ body: PagedCatalogOutput;
1025
+ // (undocumented)
1026
+ status: "200";
1027
+ }
1028
+
1029
+ // @public (undocumented)
1030
+ export interface ListCatalogsByProjectDefaultHeaders {
1031
+ "x-ms-error-code"?: string;
1032
+ }
1033
+
1034
+ // @public (undocumented)
1035
+ export interface ListCatalogsByProjectDefaultResponse extends HttpResponse {
1036
+ // (undocumented)
1037
+ body: ErrorResponse;
1038
+ // (undocumented)
1039
+ headers: RawHttpHeaders & ListCatalogsByProjectDefaultHeaders;
1040
+ // (undocumented)
1041
+ status: string;
1042
+ }
1043
+
1044
+ // @public (undocumented)
1045
+ export type ListCatalogsByProjectParameters = RequestParameters;
1046
+
1047
+ // @public (undocumented)
1048
+ export interface ListDevBoxesByUser {
1049
+ get(options?: ListDevBoxesByUserParameters): StreamableMethod<ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse>;
1050
+ }
1051
+
1052
+ // @public
1053
+ export interface ListDevBoxesByUser200Response extends HttpResponse {
1054
+ // (undocumented)
1055
+ body: PagedDevBoxOutput;
1056
+ // (undocumented)
1057
+ status: "200";
1058
+ }
1059
+
1060
+ // @public (undocumented)
1061
+ export interface ListDevBoxesByUserDefaultHeaders {
1062
+ "x-ms-error-code"?: string;
1063
+ }
1064
+
1065
+ // @public (undocumented)
1066
+ export interface ListDevBoxesByUserDefaultResponse extends HttpResponse {
1067
+ // (undocumented)
1068
+ body: ErrorResponse;
1069
+ // (undocumented)
1070
+ headers: RawHttpHeaders & ListDevBoxesByUserDefaultHeaders;
1071
+ // (undocumented)
1072
+ status: string;
1073
+ }
1074
+
1075
+ // @public (undocumented)
1076
+ export type ListDevBoxesByUserParameters = RequestParameters;
1077
+
1078
+ // @public (undocumented)
1079
+ export interface ListEnvironmentDefinitionsByCatalog {
1080
+ get(options?: ListEnvironmentDefinitionsByCatalogParameters): StreamableMethod<ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse>;
1081
+ }
1082
+
1083
+ // @public
1084
+ export interface ListEnvironmentDefinitionsByCatalog200Response extends HttpResponse {
1085
+ // (undocumented)
1086
+ body: PagedEnvironmentDefinitionOutput;
1087
+ // (undocumented)
1088
+ status: "200";
1089
+ }
1090
+
1091
+ // @public (undocumented)
1092
+ export interface ListEnvironmentDefinitionsByCatalogDefaultHeaders {
1093
+ "x-ms-error-code"?: string;
1094
+ }
1095
+
1096
+ // @public (undocumented)
1097
+ export interface ListEnvironmentDefinitionsByCatalogDefaultResponse extends HttpResponse {
1098
+ // (undocumented)
1099
+ body: ErrorResponse;
1100
+ // (undocumented)
1101
+ headers: RawHttpHeaders & ListEnvironmentDefinitionsByCatalogDefaultHeaders;
1102
+ // (undocumented)
1103
+ status: string;
1104
+ }
1105
+
1106
+ // @public (undocumented)
1107
+ export type ListEnvironmentDefinitionsByCatalogParameters = RequestParameters;
1108
+
1109
+ // @public (undocumented)
1110
+ export interface ListEnvironmentDefinitionsByProject {
1111
+ get(options?: ListEnvironmentDefinitionsByProjectParameters): StreamableMethod<ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse>;
1112
+ }
1113
+
1114
+ // @public
1115
+ export interface ListEnvironmentDefinitionsByProject200Response extends HttpResponse {
1116
+ // (undocumented)
1117
+ body: PagedEnvironmentDefinitionOutput;
1118
+ // (undocumented)
1119
+ status: "200";
1120
+ }
1121
+
1122
+ // @public (undocumented)
1123
+ export interface ListEnvironmentDefinitionsByProjectDefaultHeaders {
1124
+ "x-ms-error-code"?: string;
1125
+ }
1126
+
1127
+ // @public (undocumented)
1128
+ export interface ListEnvironmentDefinitionsByProjectDefaultResponse extends HttpResponse {
1129
+ // (undocumented)
1130
+ body: ErrorResponse;
1131
+ // (undocumented)
1132
+ headers: RawHttpHeaders & ListEnvironmentDefinitionsByProjectDefaultHeaders;
1133
+ // (undocumented)
1134
+ status: string;
1135
+ }
1136
+
1137
+ // @public (undocumented)
1138
+ export type ListEnvironmentDefinitionsByProjectParameters = RequestParameters;
1139
+
1140
+ // @public (undocumented)
1141
+ export interface ListEnvironments {
1142
+ get(options?: ListEnvironmentsParameters): StreamableMethod<ListEnvironments200Response | ListEnvironmentsDefaultResponse>;
1143
+ }
1144
+
1145
+ // @public
1146
+ export interface ListEnvironments200Response extends HttpResponse {
1147
+ // (undocumented)
1148
+ body: PagedEnvironmentOutput;
1149
+ // (undocumented)
1150
+ status: "200";
1151
+ }
1152
+
1153
+ // @public (undocumented)
1154
+ export interface ListEnvironmentsByUser {
1155
+ get(options?: ListEnvironmentsByUserParameters): StreamableMethod<ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse>;
1156
+ }
1157
+
1158
+ // @public
1159
+ export interface ListEnvironmentsByUser200Response extends HttpResponse {
1160
+ // (undocumented)
1161
+ body: PagedEnvironmentOutput;
1162
+ // (undocumented)
1163
+ status: "200";
1164
+ }
1165
+
1166
+ // @public (undocumented)
1167
+ export interface ListEnvironmentsByUserDefaultHeaders {
1168
+ "x-ms-error-code"?: string;
1169
+ }
1170
+
1171
+ // @public (undocumented)
1172
+ export interface ListEnvironmentsByUserDefaultResponse extends HttpResponse {
1173
+ // (undocumented)
1174
+ body: ErrorResponse;
1175
+ // (undocumented)
1176
+ headers: RawHttpHeaders & ListEnvironmentsByUserDefaultHeaders;
1177
+ // (undocumented)
1178
+ status: string;
1179
+ }
1180
+
1181
+ // @public (undocumented)
1182
+ export type ListEnvironmentsByUserParameters = RequestParameters;
1183
+
1184
+ // @public (undocumented)
1185
+ export interface ListEnvironmentsDefaultHeaders {
1186
+ "x-ms-error-code"?: string;
1187
+ }
1188
+
1189
+ // @public (undocumented)
1190
+ export interface ListEnvironmentsDefaultResponse extends HttpResponse {
1191
+ // (undocumented)
1192
+ body: ErrorResponse;
1193
+ // (undocumented)
1194
+ headers: RawHttpHeaders & ListEnvironmentsDefaultHeaders;
1195
+ // (undocumented)
1196
+ status: string;
1197
+ }
1198
+
1199
+ // @public (undocumented)
1200
+ export type ListEnvironmentsParameters = RequestParameters;
1201
+
1202
+ // @public (undocumented)
1203
+ export interface ListEnvironmentTypes {
1204
+ get(options?: ListEnvironmentTypesParameters): StreamableMethod<ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse>;
1205
+ }
1206
+
1207
+ // @public
1208
+ export interface ListEnvironmentTypes200Response extends HttpResponse {
1209
+ // (undocumented)
1210
+ body: PagedEnvironmentTypeOutput;
1211
+ // (undocumented)
1212
+ status: "200";
1213
+ }
1214
+
1215
+ // @public (undocumented)
1216
+ export interface ListEnvironmentTypesDefaultHeaders {
1217
+ "x-ms-error-code"?: string;
1218
+ }
1219
+
1220
+ // @public (undocumented)
1221
+ export interface ListEnvironmentTypesDefaultResponse extends HttpResponse {
1222
+ // (undocumented)
1223
+ body: ErrorResponse;
1224
+ // (undocumented)
1225
+ headers: RawHttpHeaders & ListEnvironmentTypesDefaultHeaders;
1226
+ // (undocumented)
1227
+ status: string;
1228
+ }
1229
+
1230
+ // @public (undocumented)
1231
+ export type ListEnvironmentTypesParameters = RequestParameters;
1232
+
1233
+ // @public (undocumented)
1234
+ export interface ListPools {
1235
+ get(options?: ListPoolsParameters): StreamableMethod<ListPools200Response | ListPoolsDefaultResponse>;
1236
+ }
1237
+
1238
+ // @public
1239
+ export interface ListPools200Response extends HttpResponse {
1240
+ // (undocumented)
1241
+ body: PagedPoolOutput;
1242
+ // (undocumented)
1243
+ status: "200";
1244
+ }
1245
+
1246
+ // @public (undocumented)
1247
+ export interface ListPoolsDefaultHeaders {
1248
+ "x-ms-error-code"?: string;
1249
+ }
1250
+
1251
+ // @public (undocumented)
1252
+ export interface ListPoolsDefaultResponse extends HttpResponse {
1253
+ // (undocumented)
1254
+ body: ErrorResponse;
1255
+ // (undocumented)
1256
+ headers: RawHttpHeaders & ListPoolsDefaultHeaders;
1257
+ // (undocumented)
1258
+ status: string;
1259
+ }
1260
+
1261
+ // @public (undocumented)
1262
+ export type ListPoolsParameters = RequestParameters;
1263
+
1264
+ // @public (undocumented)
1265
+ export interface ListProjects {
1266
+ get(options?: ListProjectsParameters): StreamableMethod<ListProjects200Response | ListProjectsDefaultResponse>;
1267
+ }
1268
+
1269
+ // @public
1270
+ export interface ListProjects200Response extends HttpResponse {
1271
+ // (undocumented)
1272
+ body: PagedProjectOutput;
1273
+ // (undocumented)
1274
+ status: "200";
1275
+ }
1276
+
1277
+ // @public (undocumented)
1278
+ export interface ListProjectsDefaultHeaders {
1279
+ "x-ms-error-code"?: string;
1280
+ }
1281
+
1282
+ // @public (undocumented)
1283
+ export interface ListProjectsDefaultResponse extends HttpResponse {
1284
+ // (undocumented)
1285
+ body: ErrorResponse;
1286
+ // (undocumented)
1287
+ headers: RawHttpHeaders & ListProjectsDefaultHeaders;
1288
+ // (undocumented)
1289
+ status: string;
1290
+ }
1291
+
1292
+ // @public (undocumented)
1293
+ export type ListProjectsParameters = RequestParameters;
1294
+
1295
+ // @public (undocumented)
1296
+ export interface ListSchedulesByPool {
1297
+ get(options?: ListSchedulesByPoolParameters): StreamableMethod<ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse>;
1298
+ }
1299
+
1300
+ // @public
1301
+ export interface ListSchedulesByPool200Response extends HttpResponse {
1302
+ // (undocumented)
1303
+ body: PagedScheduleOutput;
1304
+ // (undocumented)
1305
+ status: "200";
1306
+ }
1307
+
1308
+ // @public (undocumented)
1309
+ export interface ListSchedulesByPoolDefaultHeaders {
1310
+ "x-ms-error-code"?: string;
1311
+ }
1312
+
1313
+ // @public (undocumented)
1314
+ export interface ListSchedulesByPoolDefaultResponse extends HttpResponse {
1315
+ // (undocumented)
1316
+ body: ErrorResponse;
1317
+ // (undocumented)
1318
+ headers: RawHttpHeaders & ListSchedulesByPoolDefaultHeaders;
1319
+ // (undocumented)
1320
+ status: string;
1321
+ }
1322
+
1323
+ // @public (undocumented)
1324
+ export type ListSchedulesByPoolParameters = RequestParameters;
1325
+
1326
+ // @public
1327
+ export type LocalAdminStatus = string;
1328
+
1329
+ // @public
1330
+ export type LocalAdminStatusOutput = string;
1331
+
1332
+ // @public
1333
+ export type OperationStateOutput = string;
1334
+
1335
+ // @public
1336
+ export interface OperationStatusOutput {
1337
+ endTime?: string;
1338
+ error?: ErrorModel;
1339
+ readonly id: string;
1340
+ readonly name: string;
1341
+ percentComplete?: number;
1342
+ properties?: any;
1343
+ resourceId?: string;
1344
+ startTime?: string;
1345
+ status: OperationStateOutput;
1346
+ }
1347
+
1348
+ // @public
1349
+ export interface OsDisk {
1350
+ }
1351
+
1352
+ // @public
1353
+ export interface OsDiskOutput {
1354
+ readonly diskSizeGB?: number;
1355
+ }
1356
+
1357
+ // @public
1358
+ export type OsType = string;
1359
+
1360
+ // @public
1361
+ export type OsTypeOutput = string;
1362
+
1363
+ // @public
1364
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
1365
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
1366
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
1367
+ next(): Promise<IteratorResult<TElement>>;
1368
+ }
1369
+
1370
+ // @public
1371
+ export interface PagedCatalogOutput {
1372
+ nextLink?: string;
1373
+ value: Array<CatalogOutput>;
1374
+ }
1375
+
1376
+ // @public
1377
+ export interface PagedDevBoxActionDelayResultOutput {
1378
+ nextLink?: string;
1379
+ value: Array<DevBoxActionDelayResultOutput>;
1380
+ }
1381
+
1382
+ // @public
1383
+ export interface PagedDevBoxActionOutput {
1384
+ nextLink?: string;
1385
+ value: Array<DevBoxActionOutput>;
1386
+ }
1387
+
1388
+ // @public
1389
+ export interface PagedDevBoxOutput {
1390
+ nextLink?: string;
1391
+ value: Array<DevBoxOutput>;
1392
+ }
1393
+
1394
+ // @public
1395
+ export interface PagedEnvironmentDefinitionOutput {
1396
+ nextLink?: string;
1397
+ value: Array<EnvironmentDefinitionOutput>;
1398
+ }
1399
+
1400
+ // @public
1401
+ export interface PagedEnvironmentOutput {
1402
+ nextLink?: string;
1403
+ value: Array<EnvironmentOutput>;
1404
+ }
1405
+
1406
+ // @public
1407
+ export interface PagedEnvironmentTypeOutput {
1408
+ nextLink?: string;
1409
+ value: Array<EnvironmentTypeOutput>;
1410
+ }
1411
+
1412
+ // @public
1413
+ export interface PagedPoolOutput {
1414
+ nextLink?: string;
1415
+ value: Array<PoolOutput>;
1416
+ }
1417
+
1418
+ // @public
1419
+ export interface PagedProjectOutput {
1420
+ nextLink?: string;
1421
+ value: Array<ProjectOutput>;
1422
+ }
1423
+
1424
+ // @public
1425
+ export interface PagedScheduleOutput {
1426
+ nextLink?: string;
1427
+ value: Array<ScheduleOutput>;
1428
+ }
1429
+
1430
+ // @public
1431
+ export interface PageSettings {
1432
+ continuationToken?: string;
1433
+ }
1434
+
1435
+ // @public
1436
+ export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1437
+
1438
+ // @public
1439
+ export type PaginateReturn<TResult> = TResult extends {
1440
+ body: {
1441
+ value?: infer TPage;
1442
+ };
1443
+ } ? GetArrayType<TPage> : Array<unknown>;
1444
+
1445
+ // @public
1446
+ export interface PagingOptions<TResponse> {
1447
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1448
+ }
1449
+
1450
+ // @public
1451
+ export type ParameterTypeOutput = string;
1452
+
1453
+ // @public
1454
+ export type PoolHealthStatusOutput = string;
1455
+
1456
+ // @public
1457
+ export interface PoolOutput {
1458
+ hardwareProfile?: HardwareProfileOutput;
1459
+ healthStatus: PoolHealthStatusOutput;
1460
+ hibernateSupport?: HibernateSupportOutput;
1461
+ imageReference?: ImageReferenceOutput;
1462
+ localAdministrator?: LocalAdminStatusOutput;
1463
+ location: string;
1464
+ readonly name: string;
1465
+ osType?: OsTypeOutput;
1466
+ stopOnDisconnect?: StopOnDisconnectConfigurationOutput;
1467
+ storageProfile?: StorageProfileOutput;
1468
+ }
1469
+
1470
+ // @public
1471
+ export type PowerState = string;
1472
+
1473
+ // @public
1474
+ export type PowerStateOutput = string;
1475
+
1476
+ // @public
1477
+ export interface ProjectOutput {
1478
+ description?: string;
1479
+ maxDevBoxesPerUser?: number;
1480
+ readonly name: string;
1481
+ }
1482
+
1483
+ // @public
1484
+ export interface RemoteConnectionOutput {
1485
+ rdpConnectionUrl?: string;
1486
+ webUrl?: string;
1487
+ }
1488
+
1489
+ // @public (undocumented)
1490
+ export interface RestartDevBox {
1491
+ post(options?: RestartDevBoxParameters): StreamableMethod<RestartDevBox202Response | RestartDevBoxDefaultResponse>;
1492
+ }
1493
+
1494
+ // @public (undocumented)
1495
+ export interface RestartDevBox202Headers {
1496
+ "operation-location": string;
1497
+ }
1498
+
1499
+ // @public
1500
+ export interface RestartDevBox202Response extends HttpResponse {
1501
+ // (undocumented)
1502
+ body: OperationStatusOutput;
1503
+ // (undocumented)
1504
+ headers: RawHttpHeaders & RestartDevBox202Headers;
1505
+ // (undocumented)
1506
+ status: "202";
1507
+ }
1508
+
1509
+ // @public (undocumented)
1510
+ export interface RestartDevBoxDefaultHeaders {
1511
+ "x-ms-error-code"?: string;
1512
+ }
1513
+
1514
+ // @public (undocumented)
1515
+ export interface RestartDevBoxDefaultResponse extends HttpResponse {
1516
+ // (undocumented)
1517
+ body: ErrorResponse;
1518
+ // (undocumented)
1519
+ headers: RawHttpHeaders & RestartDevBoxDefaultHeaders;
1520
+ // (undocumented)
1521
+ status: string;
1522
+ }
1523
+
1524
+ // @public
1525
+ export interface RestartDevBoxLogicalResponse extends HttpResponse {
1526
+ // (undocumented)
1527
+ body: OperationStatusOutput;
1528
+ // (undocumented)
1529
+ status: "200";
1530
+ }
1531
+
1532
+ // @public (undocumented)
1533
+ export type RestartDevBoxParameters = RequestParameters;
1534
+
1535
+ // @public (undocumented)
1536
+ export interface Routes {
1537
+ (path: "/projects"): ListProjects;
1538
+ (path: "/projects/{projectName}", projectName: string): GetProject;
1539
+ (path: "/projects/{projectName}/operationstatuses/{operationId}", projectName: string, operationId: string): Get;
1540
+ (path: "/projects/{projectName}/pools", projectName: string): ListPools;
1541
+ (path: "/projects/{projectName}/pools/{poolName}", projectName: string, poolName: string): GetPool;
1542
+ (path: "/devboxes"): ListAllDevBoxes;
1543
+ (path: "/users/{userId}/devboxes", userId: string): ListAllDevBoxesByUser;
1544
+ (path: "/projects/{projectName}/pools/{poolName}/schedules", projectName: string, poolName: string): ListSchedulesByPool;
1545
+ (path: "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}", projectName: string, poolName: string, scheduleName: string): GetScheduleByPool;
1546
+ (path: "/projects/{projectName}/users/{userId}/devboxes", projectName: string, userId: string): ListDevBoxesByUser;
1547
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}", projectName: string, userId: string, devBoxName: string): GetDevBoxByUser;
1548
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start", projectName: string, userId: string, devBoxName: string): StartDevBox;
1549
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): StopDevBox;
1550
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restart", projectName: string, userId: string, devBoxName: string): RestartDevBox;
1551
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection", projectName: string, userId: string, devBoxName: string): GetRemoteConnection;
1552
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions", projectName: string, userId: string, devBoxName: string): ListActions;
1553
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}", projectName: string, userId: string, devBoxName: string, actionName: string): GetAction;
1554
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:skip", projectName: string, userId: string, devBoxName: string, actionName: string): SkipAction;
1555
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:delay", projectName: string, userId: string, devBoxName: string, actionName: string): DelayAction;
1556
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions:delay", projectName: string, userId: string, devBoxName: string): DelayActions;
1557
+ (path: "/projects/{projectName}/environments", projectName: string): ListEnvironments;
1558
+ (path: "/projects/{projectName}/users/{userId}/environments", projectName: string, userId: string): ListEnvironmentsByUser;
1559
+ (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): GetEnvironmentByUser;
1560
+ (path: "/projects/{projectName}/catalogs", projectName: string): ListCatalogsByProject;
1561
+ (path: "/projects/{projectName}/catalogs/{catalogName}", projectName: string, catalogName: string): GetCatalog;
1562
+ (path: "/projects/{projectName}/environmentDefinitions", projectName: string): ListEnvironmentDefinitionsByProject;
1563
+ (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions", projectName: string, catalogName: string): ListEnvironmentDefinitionsByCatalog;
1564
+ (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName}", projectName: string, catalogName: string, definitionName: string): GetEnvironmentDefinition;
1565
+ (path: "/projects/{projectName}/environmentTypes", projectName: string): ListEnvironmentTypes;
1566
+ }
1567
+
1568
+ // @public
1569
+ export type ScheduledFrequencyOutput = string;
1570
+
1571
+ // @public
1572
+ export type ScheduledTypeOutput = string;
1573
+
1574
+ // @public
1575
+ export interface ScheduleOutput {
1576
+ frequency: ScheduledFrequencyOutput;
1577
+ readonly name: string;
1578
+ time: string;
1579
+ timeZone: string;
1580
+ type: ScheduledTypeOutput;
1581
+ }
1582
+
1583
+ // @public
1584
+ export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
1585
+ getOperationState(): TState;
1586
+ getResult(): TResult | undefined;
1587
+ isDone(): boolean;
1588
+ // @deprecated
1589
+ isStopped(): boolean;
1590
+ onProgress(callback: (state: TState) => void): CancelOnProgress;
1591
+ poll(options?: {
1592
+ abortSignal?: AbortSignalLike;
1593
+ }): Promise<TState>;
1594
+ pollUntilDone(pollOptions?: {
1595
+ abortSignal?: AbortSignalLike;
1596
+ }): Promise<TResult>;
1597
+ serialize(): Promise<string>;
1598
+ // @deprecated
1599
+ stopPolling(): void;
1600
+ submitted(): Promise<void>;
1601
+ // @deprecated
1602
+ toString(): string;
1603
+ }
1604
+
1605
+ // @public (undocumented)
1606
+ export interface SkipAction {
1607
+ post(options?: SkipActionParameters): StreamableMethod<SkipAction204Response | SkipActionDefaultResponse>;
1608
+ }
1609
+
1610
+ // @public
1611
+ export interface SkipAction204Response extends HttpResponse {
1612
+ // (undocumented)
1613
+ status: "204";
1614
+ }
1615
+
1616
+ // @public (undocumented)
1617
+ export interface SkipActionDefaultHeaders {
1618
+ "x-ms-error-code"?: string;
1619
+ }
1620
+
1621
+ // @public (undocumented)
1622
+ export interface SkipActionDefaultResponse extends HttpResponse {
1623
+ // (undocumented)
1624
+ body: ErrorResponse;
1625
+ // (undocumented)
1626
+ headers: RawHttpHeaders & SkipActionDefaultHeaders;
1627
+ // (undocumented)
1628
+ status: string;
1629
+ }
1630
+
1631
+ // @public (undocumented)
1632
+ export type SkipActionParameters = RequestParameters;
1633
+
1634
+ // @public
1635
+ export type SkuName = string;
1636
+
1637
+ // @public
1638
+ export type SkuNameOutput = string;
1639
+
1640
+ // @public (undocumented)
1641
+ export interface StartDevBox {
1642
+ post(options?: StartDevBoxParameters): StreamableMethod<StartDevBox202Response | StartDevBoxDefaultResponse>;
1643
+ }
1644
+
1645
+ // @public (undocumented)
1646
+ export interface StartDevBox202Headers {
1647
+ "operation-location": string;
1648
+ }
1649
+
1650
+ // @public
1651
+ export interface StartDevBox202Response extends HttpResponse {
1652
+ // (undocumented)
1653
+ body: OperationStatusOutput;
1654
+ // (undocumented)
1655
+ headers: RawHttpHeaders & StartDevBox202Headers;
1656
+ // (undocumented)
1657
+ status: "202";
1658
+ }
1659
+
1660
+ // @public (undocumented)
1661
+ export interface StartDevBoxDefaultHeaders {
1662
+ "x-ms-error-code"?: string;
1663
+ }
1664
+
1665
+ // @public (undocumented)
1666
+ export interface StartDevBoxDefaultResponse extends HttpResponse {
1667
+ // (undocumented)
1668
+ body: ErrorResponse;
1669
+ // (undocumented)
1670
+ headers: RawHttpHeaders & StartDevBoxDefaultHeaders;
1671
+ // (undocumented)
1672
+ status: string;
1673
+ }
1674
+
1675
+ // @public
1676
+ export interface StartDevBoxLogicalResponse extends HttpResponse {
1677
+ // (undocumented)
1678
+ body: OperationStatusOutput;
1679
+ // (undocumented)
1680
+ status: "200";
1681
+ }
1682
+
1683
+ // @public (undocumented)
1684
+ export type StartDevBoxParameters = RequestParameters;
1685
+
1686
+ // @public (undocumented)
1687
+ export interface StopDevBox {
1688
+ post(options?: StopDevBoxParameters): StreamableMethod<StopDevBox202Response | StopDevBoxDefaultResponse>;
1689
+ }
1690
+
1691
+ // @public (undocumented)
1692
+ export interface StopDevBox202Headers {
1693
+ "operation-location": string;
1694
+ }
1695
+
1696
+ // @public
1697
+ export interface StopDevBox202Response extends HttpResponse {
1698
+ // (undocumented)
1699
+ body: OperationStatusOutput;
1700
+ // (undocumented)
1701
+ headers: RawHttpHeaders & StopDevBox202Headers;
1702
+ // (undocumented)
1703
+ status: "202";
1704
+ }
1705
+
1706
+ // @public (undocumented)
1707
+ export interface StopDevBoxDefaultHeaders {
1708
+ "x-ms-error-code"?: string;
1709
+ }
1710
+
1711
+ // @public (undocumented)
1712
+ export interface StopDevBoxDefaultResponse extends HttpResponse {
1713
+ // (undocumented)
1714
+ body: ErrorResponse;
1715
+ // (undocumented)
1716
+ headers: RawHttpHeaders & StopDevBoxDefaultHeaders;
1717
+ // (undocumented)
1718
+ status: string;
1719
+ }
1720
+
1721
+ // @public
1722
+ export interface StopDevBoxLogicalResponse extends HttpResponse {
1723
+ // (undocumented)
1724
+ body: OperationStatusOutput;
1725
+ // (undocumented)
1726
+ status: "200";
1727
+ }
1728
+
1729
+ // @public (undocumented)
1730
+ export type StopDevBoxParameters = StopDevBoxQueryParam & RequestParameters;
1731
+
1732
+ // @public (undocumented)
1733
+ export interface StopDevBoxQueryParam {
1734
+ // (undocumented)
1735
+ queryParameters?: StopDevBoxQueryParamProperties;
1736
+ }
1737
+
1738
+ // @public (undocumented)
1739
+ export interface StopDevBoxQueryParamProperties {
1740
+ hibernate?: boolean;
1741
+ }
1742
+
1743
+ // @public
1744
+ export interface StopOnDisconnectConfigurationOutput {
1745
+ gracePeriodMinutes?: number;
1746
+ status: StopOnDisconnectEnableStatusOutput;
1747
+ }
1748
+
1749
+ // @public
1750
+ export type StopOnDisconnectEnableStatusOutput = string;
1751
+
1752
+ // @public
1753
+ export interface StorageProfile {
1754
+ osDisk?: OsDisk;
1755
+ }
1756
+
1757
+ // @public
1758
+ export interface StorageProfileOutput {
1759
+ osDisk?: OsDiskOutput;
1760
+ }
1761
+
1762
+ // (No @packageDocumentation comment for this package)
1763
+
1764
+ ```