@azure-rest/developer-devcenter 1.0.0-alpha.20230508.2 → 1.0.0-alpha.20231120.3

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 (40) hide show
  1. package/README.md +11 -10
  2. package/dist/index.js +96 -150
  3. package/dist/index.js.map +1 -1
  4. package/dist-esm/src/{generated/azureDevCenter.js → azureDeveloperDevCenter.js} +13 -10
  5. package/dist-esm/src/azureDeveloperDevCenter.js.map +1 -0
  6. package/dist-esm/src/clientDefinitions.js.map +1 -0
  7. package/dist-esm/src/index.js +11 -11
  8. package/dist-esm/src/index.js.map +1 -1
  9. package/dist-esm/src/isUnexpected.js +111 -0
  10. package/dist-esm/src/isUnexpected.js.map +1 -0
  11. package/dist-esm/src/logger.js +5 -0
  12. package/dist-esm/src/logger.js.map +1 -0
  13. package/dist-esm/src/models.js.map +1 -0
  14. package/dist-esm/src/outputModels.js.map +1 -0
  15. package/dist-esm/src/{generated/paginateHelper.js → paginateHelper.js} +4 -17
  16. package/dist-esm/src/paginateHelper.js.map +1 -0
  17. package/dist-esm/src/parameters.js.map +1 -0
  18. package/dist-esm/src/{generated/pollingHelper.js → pollingHelper.js} +11 -19
  19. package/dist-esm/src/pollingHelper.js.map +1 -0
  20. package/dist-esm/src/responses.js.map +1 -0
  21. package/package.json +33 -29
  22. package/review/developer-devcenter.api.md +930 -935
  23. package/types/developer-devcenter.d.ts +1138 -1177
  24. package/dist-esm/src/generated/azureDevCenter.js.map +0 -1
  25. package/dist-esm/src/generated/clientDefinitions.js.map +0 -1
  26. package/dist-esm/src/generated/index.js +0 -14
  27. package/dist-esm/src/generated/index.js.map +0 -1
  28. package/dist-esm/src/generated/isUnexpected.js +0 -155
  29. package/dist-esm/src/generated/isUnexpected.js.map +0 -1
  30. package/dist-esm/src/generated/models.js.map +0 -1
  31. package/dist-esm/src/generated/outputModels.js.map +0 -1
  32. package/dist-esm/src/generated/paginateHelper.js.map +0 -1
  33. package/dist-esm/src/generated/parameters.js.map +0 -1
  34. package/dist-esm/src/generated/pollingHelper.js.map +0 -1
  35. package/dist-esm/src/generated/responses.js.map +0 -1
  36. /package/dist-esm/src/{generated/clientDefinitions.js → clientDefinitions.js} +0 -0
  37. /package/dist-esm/src/{generated/models.js → models.js} +0 -0
  38. /package/dist-esm/src/{generated/outputModels.js → outputModels.js} +0 -0
  39. /package/dist-esm/src/{generated/parameters.js → parameters.js} +0 -0
  40. /package/dist-esm/src/{generated/responses.js → responses.js} +0 -0
@@ -6,1743 +6,1754 @@
6
6
 
7
7
  import { Client } from '@azure-rest/core-client';
8
8
  import { ClientOptions } from '@azure-rest/core-client';
9
+ import { CreateHttpPollerOptions } from '@azure/core-lro';
10
+ import { ErrorModel } from '@azure-rest/core-client';
11
+ import { ErrorResponse } from '@azure-rest/core-client';
9
12
  import { HttpResponse } from '@azure-rest/core-client';
10
- import { LroEngineOptions } from '@azure/core-lro';
13
+ import { OperationState } from '@azure/core-lro';
14
+ import { Paged } from '@azure/core-paging';
11
15
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
12
16
  import { PathUncheckedResponse } from '@azure-rest/core-client';
13
- import { PollerLike } from '@azure/core-lro';
14
- import { PollOperationState } from '@azure/core-lro';
15
17
  import { RawHttpHeaders } from '@azure/core-rest-pipeline';
16
18
  import { RequestParameters } from '@azure-rest/core-client';
19
+ import { SimplePollerLike } from '@azure/core-lro';
17
20
  import { StreamableMethod } from '@azure-rest/core-client';
18
21
  import { TokenCredential } from '@azure/core-auth';
19
22
 
20
- // @public
21
- export interface ActionRequest {
22
- actionId: string;
23
- parameters?: Record<string, unknown>;
24
- }
25
-
26
23
  // @public (undocumented)
27
- export type AzureDevCenterClient = Client & {
24
+ export type AzureDeveloperDevCenterClient = Client & {
28
25
  path: Routes;
29
26
  };
30
27
 
31
28
  // @public
32
- export interface CatalogItemActionOutput {
33
- description?: string;
34
- id?: string;
35
- name?: string;
36
- parameters?: Array<CatalogItemParameterOutput>;
37
- parametersSchema?: string;
38
- runner?: string;
39
- type?: "Custom" | "Deploy" | "Delete";
40
- typeName?: string;
41
- }
42
-
43
- // @public
44
- export interface CatalogItemListResultOutput {
45
- nextLink?: string;
46
- value: Array<CatalogItemOutput>;
29
+ export interface CatalogOutput {
30
+ name: string;
47
31
  }
48
32
 
49
33
  // @public
50
- export interface CatalogItemOutput {
51
- catalogName?: string;
52
- id?: string;
53
- name?: string;
54
- }
34
+ function createClient(endpoint: string, credentials: TokenCredential, options?: ClientOptions): AzureDeveloperDevCenterClient;
35
+ export default createClient;
55
36
 
56
37
  // @public
57
- export interface CatalogItemParameterOutput {
58
- allowed?: Array<Record<string, unknown>>;
59
- default?: Record<string, unknown>;
60
- description?: string;
61
- id?: string;
62
- name?: string;
63
- readOnly?: boolean;
64
- required?: boolean;
65
- type?: "array" | "boolean" | "integer" | "null" | "number" | "object" | "string";
38
+ export interface CreateDevBox200Response extends HttpResponse {
39
+ // (undocumented)
40
+ body: DevBoxOutput;
41
+ // (undocumented)
42
+ status: "200";
66
43
  }
67
44
 
68
- // @public
69
- export interface CatalogItemVersionListResultOutput {
70
- nextLink?: string;
71
- value: Array<CatalogItemVersionOutput>;
45
+ // @public (undocumented)
46
+ export interface CreateDevBox201Headers {
47
+ // (undocumented)
48
+ "operation-location": string;
49
+ // (undocumented)
50
+ location: string;
72
51
  }
73
52
 
74
53
  // @public
75
- export interface CatalogItemVersionOutput {
76
- actions?: Array<CatalogItemActionOutput>;
77
- catalogItemId?: string;
78
- catalogItemName?: string;
79
- catalogName?: string;
80
- description?: string;
81
- eligibleForLatestVersion?: boolean;
82
- parameters?: Array<CatalogItemParameterOutput>;
83
- parametersSchema?: string;
84
- runner?: string;
85
- status?: "Enabled" | "Disabled";
86
- summary?: string;
87
- templatePath?: string;
88
- version?: string;
54
+ export interface CreateDevBox201Response extends HttpResponse {
55
+ // (undocumented)
56
+ body: DevBoxOutput;
57
+ // (undocumented)
58
+ headers: RawHttpHeaders & CreateDevBox201Headers;
59
+ // (undocumented)
60
+ status: "201";
89
61
  }
90
62
 
91
- // @public
92
- export interface CloudErrorBodyOutput {
93
- code: string;
94
- details?: Array<CloudErrorBodyOutput>;
95
- message: string;
96
- target?: string;
63
+ // @public (undocumented)
64
+ export interface CreateDevBoxBodyParam {
65
+ body: DevBox;
97
66
  }
98
67
 
99
- // @public
100
- export interface CloudErrorOutput {
101
- error: CloudErrorBodyOutput;
68
+ // @public (undocumented)
69
+ export interface CreateDevBoxDefaultHeaders {
70
+ "x-ms-error-code"?: string;
102
71
  }
103
72
 
104
- // @public
105
- function createClient(endpoint: string, credentials: TokenCredential, options?: ClientOptions): AzureDevCenterClient;
106
- export default createClient;
107
-
108
- // @public
109
- export interface DevBox {
110
- actionState?: string;
111
- createdTime?: Date | string;
112
- errorDetails?: ProvisioningError;
113
- hardwareProfile?: HardwareProfile;
114
- hibernateSupport?: "Disabled" | "Enabled";
115
- imageReference?: ImageReference;
116
- localAdministrator?: "Enabled" | "Disabled";
117
- location?: string;
118
- name?: string;
119
- osType?: "Windows";
120
- poolName: string;
121
- powerState?: "Unknown" | "Deallocated" | "PoweredOff" | "Running" | "Hibernated";
122
- projectName?: string;
123
- provisioningState?: string;
124
- storageProfile?: StorageProfile;
125
- uniqueId?: string;
126
- user?: string;
73
+ // @public (undocumented)
74
+ export interface CreateDevBoxDefaultResponse extends HttpResponse {
75
+ // (undocumented)
76
+ body: ErrorResponse;
77
+ // (undocumented)
78
+ headers: RawHttpHeaders & CreateDevBoxDefaultHeaders;
79
+ // (undocumented)
80
+ status: string;
127
81
  }
128
82
 
129
83
  // @public
130
- export interface DevBoxesCreateDevBox200Response extends HttpResponse {
84
+ export interface CreateDevBoxLogicalResponse extends HttpResponse {
131
85
  // (undocumented)
132
86
  body: DevBoxOutput;
133
87
  // (undocumented)
134
88
  status: "200";
135
89
  }
136
90
 
91
+ // @public (undocumented)
92
+ export type CreateDevBoxParameters = CreateDevBoxBodyParam & RequestParameters;
93
+
94
+ // @public (undocumented)
95
+ export interface CreateOrUpdateEnvironment201Headers {
96
+ // (undocumented)
97
+ "operation-location": string;
98
+ }
99
+
137
100
  // @public
138
- export interface DevBoxesCreateDevBox201Response extends HttpResponse {
101
+ export interface CreateOrUpdateEnvironment201Response extends HttpResponse {
139
102
  // (undocumented)
140
- body: DevBoxOutput;
103
+ body: EnvironmentOutput;
104
+ // (undocumented)
105
+ headers: RawHttpHeaders & CreateOrUpdateEnvironment201Headers;
141
106
  // (undocumented)
142
107
  status: "201";
143
108
  }
144
109
 
145
110
  // @public (undocumented)
146
- export interface DevBoxesCreateDevBoxBodyParam {
147
- body: DevBox;
111
+ export interface CreateOrUpdateEnvironmentBodyParam {
112
+ body: Environment;
148
113
  }
149
114
 
150
115
  // @public (undocumented)
151
- export interface DevBoxesCreateDevBoxDefaultHeaders {
116
+ export interface CreateOrUpdateEnvironmentDefaultHeaders {
152
117
  "x-ms-error-code"?: string;
153
118
  }
154
119
 
155
- // @public
156
- export interface DevBoxesCreateDevBoxDefaultResponse extends HttpResponse {
120
+ // @public (undocumented)
121
+ export interface CreateOrUpdateEnvironmentDefaultResponse extends HttpResponse {
157
122
  // (undocumented)
158
- body: CloudErrorOutput;
123
+ body: ErrorResponse;
159
124
  // (undocumented)
160
- headers: RawHttpHeaders & DevBoxesCreateDevBoxDefaultHeaders;
125
+ headers: RawHttpHeaders & CreateOrUpdateEnvironmentDefaultHeaders;
161
126
  // (undocumented)
162
127
  status: string;
163
128
  }
164
129
 
165
- // @public (undocumented)
166
- export interface DevBoxesCreateDevBoxMediaTypesParam {
167
- contentType?: "application/json";
130
+ // @public
131
+ export interface CreateOrUpdateEnvironmentLogicalResponse extends HttpResponse {
132
+ // (undocumented)
133
+ body: EnvironmentOutput;
134
+ // (undocumented)
135
+ status: "200";
168
136
  }
169
137
 
170
138
  // @public (undocumented)
171
- export type DevBoxesCreateDevBoxParameters = DevBoxesCreateDevBoxMediaTypesParam & DevBoxesCreateDevBoxBodyParam & RequestParameters;
139
+ export type CreateOrUpdateEnvironmentParameters = CreateOrUpdateEnvironmentBodyParam & RequestParameters;
172
140
 
173
141
  // @public (undocumented)
174
- export interface DevBoxesDelayUpcomingAction {
175
- post(options: DevBoxesDelayUpcomingActionParameters): StreamableMethod<DevBoxesDelayUpcomingAction200Response | DevBoxesDelayUpcomingActionDefaultResponse>;
142
+ export interface DelayAction {
143
+ post(options: DelayActionParameters): StreamableMethod<DelayAction200Response | DelayActionDefaultResponse>;
176
144
  }
177
145
 
178
146
  // @public
179
- export interface DevBoxesDelayUpcomingAction200Response extends HttpResponse {
147
+ export interface DelayAction200Response extends HttpResponse {
180
148
  // (undocumented)
181
- body: UpcomingActionOutput;
149
+ body: DevBoxActionOutput;
182
150
  // (undocumented)
183
151
  status: "200";
184
152
  }
185
153
 
186
154
  // @public (undocumented)
187
- export interface DevBoxesDelayUpcomingActionDefaultHeaders {
155
+ export interface DelayActionDefaultHeaders {
188
156
  "x-ms-error-code"?: string;
189
157
  }
190
158
 
191
- // @public
192
- export interface DevBoxesDelayUpcomingActionDefaultResponse extends HttpResponse {
159
+ // @public (undocumented)
160
+ export interface DelayActionDefaultResponse extends HttpResponse {
193
161
  // (undocumented)
194
- body: CloudErrorOutput;
162
+ body: ErrorResponse;
195
163
  // (undocumented)
196
- headers: RawHttpHeaders & DevBoxesDelayUpcomingActionDefaultHeaders;
164
+ headers: RawHttpHeaders & DelayActionDefaultHeaders;
197
165
  // (undocumented)
198
166
  status: string;
199
167
  }
200
168
 
201
169
  // @public (undocumented)
202
- export type DevBoxesDelayUpcomingActionParameters = DevBoxesDelayUpcomingActionQueryParam & RequestParameters;
170
+ export type DelayActionParameters = DelayActionQueryParam & RequestParameters;
203
171
 
204
172
  // @public (undocumented)
205
- export interface DevBoxesDelayUpcomingActionQueryParam {
173
+ export interface DelayActionQueryParam {
206
174
  // (undocumented)
207
- queryParameters: DevBoxesDelayUpcomingActionQueryParamProperties;
175
+ queryParameters: DelayActionQueryParamProperties;
208
176
  }
209
177
 
210
178
  // @public (undocumented)
211
- export interface DevBoxesDelayUpcomingActionQueryParamProperties {
212
- delayUntil: Date | string;
179
+ export interface DelayActionQueryParamProperties {
180
+ until: Date | string;
213
181
  }
214
182
 
215
183
  // @public (undocumented)
216
- export interface DevBoxesDeleteDevBox202Headers {
217
- "operation-location"?: string;
218
- }
219
-
220
- // @public
221
- export interface DevBoxesDeleteDevBox202Response extends HttpResponse {
222
- // (undocumented)
223
- body: Record<string, unknown>;
224
- // (undocumented)
225
- headers: RawHttpHeaders & DevBoxesDeleteDevBox202Headers;
226
- // (undocumented)
227
- status: "202";
184
+ export interface DelayAllActions {
185
+ post(options: DelayAllActionsParameters): StreamableMethod<DelayAllActions200Response | DelayAllActionsDefaultResponse>;
228
186
  }
229
187
 
230
188
  // @public
231
- export interface DevBoxesDeleteDevBox204Response extends HttpResponse {
189
+ export interface DelayAllActions200Response extends HttpResponse {
232
190
  // (undocumented)
233
- body: Record<string, unknown>;
191
+ body: PagedDevBoxActionDelayResultOutput;
234
192
  // (undocumented)
235
- status: "204";
193
+ status: "200";
236
194
  }
237
195
 
238
196
  // @public (undocumented)
239
- export interface DevBoxesDeleteDevBoxDefaultHeaders {
197
+ export interface DelayAllActionsDefaultHeaders {
240
198
  "x-ms-error-code"?: string;
241
199
  }
242
200
 
243
- // @public
244
- export interface DevBoxesDeleteDevBoxDefaultResponse extends HttpResponse {
201
+ // @public (undocumented)
202
+ export interface DelayAllActionsDefaultResponse extends HttpResponse {
245
203
  // (undocumented)
246
- body: CloudErrorOutput;
204
+ body: ErrorResponse;
247
205
  // (undocumented)
248
- headers: RawHttpHeaders & DevBoxesDeleteDevBoxDefaultHeaders;
206
+ headers: RawHttpHeaders & DelayAllActionsDefaultHeaders;
249
207
  // (undocumented)
250
208
  status: string;
251
209
  }
252
210
 
253
211
  // @public (undocumented)
254
- export type DevBoxesDeleteDevBoxParameters = RequestParameters;
212
+ export type DelayAllActionsParameters = DelayAllActionsQueryParam & RequestParameters;
255
213
 
256
214
  // @public (undocumented)
257
- export interface DevBoxesGetDevBoxByUser {
258
- delete(options?: DevBoxesDeleteDevBoxParameters): StreamableMethod<DevBoxesDeleteDevBox202Response | DevBoxesDeleteDevBox204Response | DevBoxesDeleteDevBoxDefaultResponse>;
259
- get(options?: DevBoxesGetDevBoxByUserParameters): StreamableMethod<DevBoxesGetDevBoxByUser200Response | DevBoxesGetDevBoxByUserDefaultResponse>;
260
- put(options: DevBoxesCreateDevBoxParameters): StreamableMethod<DevBoxesCreateDevBox200Response | DevBoxesCreateDevBox201Response | DevBoxesCreateDevBoxDefaultResponse>;
215
+ export interface DelayAllActionsQueryParam {
216
+ // (undocumented)
217
+ queryParameters: DelayAllActionsQueryParamProperties;
261
218
  }
262
219
 
263
- // @public
264
- export interface DevBoxesGetDevBoxByUser200Response extends HttpResponse {
265
- // (undocumented)
266
- body: DevBoxOutput;
267
- // (undocumented)
268
- status: "200";
220
+ // @public (undocumented)
221
+ export interface DelayAllActionsQueryParamProperties {
222
+ until: Date | string;
269
223
  }
270
224
 
271
225
  // @public (undocumented)
272
- export interface DevBoxesGetDevBoxByUserDefaultHeaders {
273
- "x-ms-error-code"?: string;
226
+ export interface DeleteDevBox202Headers {
227
+ // (undocumented)
228
+ "operation-location": string;
229
+ // (undocumented)
230
+ location: string;
274
231
  }
275
232
 
276
233
  // @public
277
- export interface DevBoxesGetDevBoxByUserDefaultResponse extends HttpResponse {
234
+ export interface DeleteDevBox202Response extends HttpResponse {
278
235
  // (undocumented)
279
- body: CloudErrorOutput;
236
+ body: OperationStatusOutput;
280
237
  // (undocumented)
281
- headers: RawHttpHeaders & DevBoxesGetDevBoxByUserDefaultHeaders;
238
+ headers: RawHttpHeaders & DeleteDevBox202Headers;
282
239
  // (undocumented)
283
- status: string;
240
+ status: "202";
241
+ }
242
+
243
+ // @public
244
+ export interface DeleteDevBox204Response extends HttpResponse {
245
+ // (undocumented)
246
+ status: "204";
284
247
  }
285
248
 
286
249
  // @public (undocumented)
287
- export type DevBoxesGetDevBoxByUserParameters = RequestParameters;
250
+ export interface DeleteDevBoxDefaultHeaders {
251
+ "x-ms-error-code"?: string;
252
+ }
288
253
 
289
254
  // @public (undocumented)
290
- export interface DevBoxesGetPool {
291
- get(options?: DevBoxesGetPoolParameters): StreamableMethod<DevBoxesGetPool200Response | DevBoxesGetPoolDefaultResponse>;
255
+ export interface DeleteDevBoxDefaultResponse extends HttpResponse {
256
+ // (undocumented)
257
+ body: ErrorResponse;
258
+ // (undocumented)
259
+ headers: RawHttpHeaders & DeleteDevBoxDefaultHeaders;
260
+ // (undocumented)
261
+ status: string;
292
262
  }
293
263
 
294
264
  // @public
295
- export interface DevBoxesGetPool200Response extends HttpResponse {
265
+ export interface DeleteDevBoxLogicalResponse extends HttpResponse {
296
266
  // (undocumented)
297
- body: PoolOutput;
267
+ body: OperationStatusOutput;
298
268
  // (undocumented)
299
269
  status: "200";
300
270
  }
301
271
 
302
272
  // @public (undocumented)
303
- export interface DevBoxesGetPoolDefaultHeaders {
304
- "x-ms-error-code"?: string;
273
+ export type DeleteDevBoxParameters = RequestParameters;
274
+
275
+ // @public (undocumented)
276
+ export interface DeleteEnvironment202Headers {
277
+ // (undocumented)
278
+ "operation-location": string;
279
+ // (undocumented)
280
+ location: string;
305
281
  }
306
282
 
307
283
  // @public
308
- export interface DevBoxesGetPoolDefaultResponse extends HttpResponse {
284
+ export interface DeleteEnvironment202Response extends HttpResponse {
309
285
  // (undocumented)
310
- body: CloudErrorOutput;
286
+ body: OperationStatusOutput;
311
287
  // (undocumented)
312
- headers: RawHttpHeaders & DevBoxesGetPoolDefaultHeaders;
288
+ headers: RawHttpHeaders & DeleteEnvironment202Headers;
313
289
  // (undocumented)
314
- status: string;
290
+ status: "202";
291
+ }
292
+
293
+ // @public
294
+ export interface DeleteEnvironment204Response extends HttpResponse {
295
+ // (undocumented)
296
+ status: "204";
315
297
  }
316
298
 
317
299
  // @public (undocumented)
318
- export type DevBoxesGetPoolParameters = RequestParameters;
300
+ export interface DeleteEnvironmentDefaultHeaders {
301
+ "x-ms-error-code"?: string;
302
+ }
319
303
 
320
304
  // @public (undocumented)
321
- export interface DevBoxesGetRemoteConnection {
322
- get(options?: DevBoxesGetRemoteConnectionParameters): StreamableMethod<DevBoxesGetRemoteConnection200Response | DevBoxesGetRemoteConnectionDefaultResponse>;
305
+ export interface DeleteEnvironmentDefaultResponse extends HttpResponse {
306
+ // (undocumented)
307
+ body: ErrorResponse;
308
+ // (undocumented)
309
+ headers: RawHttpHeaders & DeleteEnvironmentDefaultHeaders;
310
+ // (undocumented)
311
+ status: string;
323
312
  }
324
313
 
325
314
  // @public
326
- export interface DevBoxesGetRemoteConnection200Response extends HttpResponse {
315
+ export interface DeleteEnvironmentLogicalResponse extends HttpResponse {
327
316
  // (undocumented)
328
- body: RemoteConnectionOutput;
317
+ body: OperationStatusOutput;
329
318
  // (undocumented)
330
319
  status: "200";
331
320
  }
332
321
 
333
322
  // @public (undocumented)
334
- export interface DevBoxesGetRemoteConnectionDefaultHeaders {
335
- "x-ms-error-code"?: string;
323
+ export type DeleteEnvironmentParameters = RequestParameters;
324
+
325
+ // @public
326
+ export interface DevBox {
327
+ localAdministrator?: string;
328
+ poolName: string;
336
329
  }
337
330
 
338
331
  // @public
339
- export interface DevBoxesGetRemoteConnectionDefaultResponse extends HttpResponse {
340
- // (undocumented)
341
- body: CloudErrorOutput;
342
- // (undocumented)
343
- headers: RawHttpHeaders & DevBoxesGetRemoteConnectionDefaultHeaders;
344
- // (undocumented)
345
- status: string;
332
+ export interface DevBoxActionDelayResultOutput {
333
+ action?: DevBoxActionOutput;
334
+ error?: ErrorModel;
335
+ name: string;
336
+ result: string;
346
337
  }
347
338
 
348
- // @public (undocumented)
349
- export type DevBoxesGetRemoteConnectionParameters = RequestParameters;
339
+ // @public
340
+ export interface DevBoxActionOutput {
341
+ actionType: string;
342
+ readonly name: string;
343
+ next?: DevBoxNextActionOutput;
344
+ sourceId: string;
345
+ suspendedUntil?: string;
346
+ }
350
347
 
351
- // @public (undocumented)
352
- export interface DevBoxesGetScheduleByPool {
353
- get(options?: DevBoxesGetScheduleByPoolParameters): StreamableMethod<DevBoxesGetScheduleByPool200Response | DevBoxesGetScheduleByPoolDefaultResponse>;
348
+ // @public
349
+ export interface DevBoxNextActionOutput {
350
+ scheduledTime: string;
354
351
  }
355
352
 
356
353
  // @public
357
- export interface DevBoxesGetScheduleByPool200Response extends HttpResponse {
358
- // (undocumented)
359
- body: ScheduleOutput;
360
- // (undocumented)
361
- status: "200";
354
+ export interface DevBoxOutput {
355
+ readonly actionState?: string;
356
+ readonly createdTime?: string;
357
+ readonly error?: ErrorModel;
358
+ readonly hardwareProfile?: HardwareProfileOutput;
359
+ readonly hibernateSupport?: string;
360
+ readonly imageReference?: ImageReferenceOutput;
361
+ localAdministrator?: string;
362
+ readonly location?: string;
363
+ readonly name: string;
364
+ readonly osType?: string;
365
+ poolName: string;
366
+ readonly powerState?: string;
367
+ readonly projectName?: string;
368
+ readonly provisioningState?: string;
369
+ readonly storageProfile?: StorageProfileOutput;
370
+ readonly uniqueId?: string;
371
+ readonly user?: string;
362
372
  }
363
373
 
364
- // @public (undocumented)
365
- export interface DevBoxesGetScheduleByPoolDefaultHeaders {
366
- "x-ms-error-code"?: string;
374
+ // @public
375
+ export interface Environment {
376
+ catalogName: string;
377
+ environmentDefinitionName: string;
378
+ environmentType: string;
379
+ parameters?: unknown;
367
380
  }
368
381
 
369
382
  // @public
370
- export interface DevBoxesGetScheduleByPoolDefaultResponse extends HttpResponse {
371
- // (undocumented)
372
- body: CloudErrorOutput;
373
- // (undocumented)
374
- headers: RawHttpHeaders & DevBoxesGetScheduleByPoolDefaultHeaders;
375
- // (undocumented)
383
+ export interface EnvironmentDefinitionOutput {
384
+ catalogName: string;
385
+ description?: string;
386
+ id: string;
387
+ name: string;
388
+ parameters?: Array<EnvironmentDefinitionParameterOutput>;
389
+ parametersSchema?: string;
390
+ templatePath?: string;
391
+ }
392
+
393
+ // @public
394
+ export interface EnvironmentDefinitionParameterOutput {
395
+ allowed?: string[];
396
+ default?: string;
397
+ description?: string;
398
+ id: string;
399
+ name?: string;
400
+ readOnly?: boolean;
401
+ required: boolean;
402
+ type: string;
403
+ }
404
+
405
+ // @public
406
+ export interface EnvironmentOutput {
407
+ catalogName: string;
408
+ environmentDefinitionName: string;
409
+ environmentType: string;
410
+ readonly error?: ErrorModel;
411
+ readonly name?: string;
412
+ parameters?: any;
413
+ readonly provisioningState?: string;
414
+ readonly resourceGroupId?: string;
415
+ readonly user?: string;
416
+ }
417
+
418
+ // @public
419
+ export interface EnvironmentTypeOutput {
420
+ deploymentTargetId: string;
421
+ name: string;
376
422
  status: string;
377
423
  }
378
424
 
379
- // @public (undocumented)
380
- export type DevBoxesGetScheduleByPoolParameters = RequestParameters;
425
+ // @public
426
+ export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
381
427
 
382
428
  // @public (undocumented)
383
- export interface DevBoxesGetUpcomingAction {
384
- get(options?: DevBoxesGetUpcomingActionParameters): StreamableMethod<DevBoxesGetUpcomingAction200Response | DevBoxesGetUpcomingActionDefaultResponse>;
429
+ export interface GetCatalog {
430
+ get(options?: GetCatalogParameters): StreamableMethod<GetCatalog200Response | GetCatalogDefaultResponse>;
385
431
  }
386
432
 
387
433
  // @public
388
- export interface DevBoxesGetUpcomingAction200Response extends HttpResponse {
434
+ export interface GetCatalog200Response extends HttpResponse {
389
435
  // (undocumented)
390
- body: UpcomingActionOutput;
436
+ body: CatalogOutput;
391
437
  // (undocumented)
392
438
  status: "200";
393
439
  }
394
440
 
395
441
  // @public (undocumented)
396
- export interface DevBoxesGetUpcomingActionDefaultHeaders {
442
+ export interface GetCatalogDefaultHeaders {
397
443
  "x-ms-error-code"?: string;
398
444
  }
399
445
 
400
- // @public
401
- export interface DevBoxesGetUpcomingActionDefaultResponse extends HttpResponse {
446
+ // @public (undocumented)
447
+ export interface GetCatalogDefaultResponse extends HttpResponse {
402
448
  // (undocumented)
403
- body: CloudErrorOutput;
449
+ body: ErrorResponse;
404
450
  // (undocumented)
405
- headers: RawHttpHeaders & DevBoxesGetUpcomingActionDefaultHeaders;
451
+ headers: RawHttpHeaders & GetCatalogDefaultHeaders;
406
452
  // (undocumented)
407
453
  status: string;
408
454
  }
409
455
 
410
456
  // @public (undocumented)
411
- export type DevBoxesGetUpcomingActionParameters = RequestParameters;
457
+ export type GetCatalogParameters = RequestParameters;
412
458
 
413
459
  // @public (undocumented)
414
- export interface DevBoxesListDevBoxesByUser {
415
- get(options?: DevBoxesListDevBoxesByUserParameters): StreamableMethod<DevBoxesListDevBoxesByUser200Response | DevBoxesListDevBoxesByUserDefaultResponse>;
460
+ export interface GetDevBox {
461
+ delete(options?: DeleteDevBoxParameters): StreamableMethod<DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse>;
462
+ get(options?: GetDevBoxParameters): StreamableMethod<GetDevBox200Response | GetDevBoxDefaultResponse>;
463
+ put(options: CreateDevBoxParameters): StreamableMethod<CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse>;
416
464
  }
417
465
 
418
466
  // @public
419
- export interface DevBoxesListDevBoxesByUser200Response extends HttpResponse {
467
+ export interface GetDevBox200Response extends HttpResponse {
420
468
  // (undocumented)
421
- body: DevBoxListResultOutput;
469
+ body: DevBoxOutput;
422
470
  // (undocumented)
423
471
  status: "200";
424
472
  }
425
473
 
426
474
  // @public (undocumented)
427
- export interface DevBoxesListDevBoxesByUserDefaultHeaders {
428
- "x-ms-error-code"?: string;
475
+ export interface GetDevBoxAction {
476
+ get(options?: GetDevBoxActionParameters): StreamableMethod<GetDevBoxAction200Response | GetDevBoxActionDefaultResponse>;
429
477
  }
430
478
 
431
479
  // @public
432
- export interface DevBoxesListDevBoxesByUserDefaultResponse extends HttpResponse {
480
+ export interface GetDevBoxAction200Response extends HttpResponse {
433
481
  // (undocumented)
434
- body: CloudErrorOutput;
482
+ body: DevBoxActionOutput;
435
483
  // (undocumented)
436
- headers: RawHttpHeaders & DevBoxesListDevBoxesByUserDefaultHeaders;
437
- // (undocumented)
438
- status: string;
484
+ status: "200";
439
485
  }
440
486
 
441
487
  // @public (undocumented)
442
- export type DevBoxesListDevBoxesByUserParameters = DevBoxesListDevBoxesByUserQueryParam & RequestParameters;
488
+ export interface GetDevBoxActionDefaultHeaders {
489
+ "x-ms-error-code"?: string;
490
+ }
443
491
 
444
492
  // @public (undocumented)
445
- export interface DevBoxesListDevBoxesByUserQueryParam {
493
+ export interface GetDevBoxActionDefaultResponse extends HttpResponse {
494
+ // (undocumented)
495
+ body: ErrorResponse;
446
496
  // (undocumented)
447
- queryParameters?: DevBoxesListDevBoxesByUserQueryParamProperties;
497
+ headers: RawHttpHeaders & GetDevBoxActionDefaultHeaders;
498
+ // (undocumented)
499
+ status: string;
448
500
  }
449
501
 
450
502
  // @public (undocumented)
451
- export interface DevBoxesListDevBoxesByUserQueryParamProperties {
452
- filter?: string;
453
- top?: number;
454
- }
503
+ export type GetDevBoxActionParameters = RequestParameters;
455
504
 
456
505
  // @public (undocumented)
457
- export interface DevBoxesListPools {
458
- get(options?: DevBoxesListPoolsParameters): StreamableMethod<DevBoxesListPools200Response | DevBoxesListPoolsDefaultResponse>;
506
+ export interface GetDevBoxDefaultHeaders {
507
+ "x-ms-error-code"?: string;
459
508
  }
460
509
 
461
- // @public
462
- export interface DevBoxesListPools200Response extends HttpResponse {
510
+ // @public (undocumented)
511
+ export interface GetDevBoxDefaultResponse extends HttpResponse {
463
512
  // (undocumented)
464
- body: PoolListResultOutput;
513
+ body: ErrorResponse;
465
514
  // (undocumented)
466
- status: "200";
515
+ headers: RawHttpHeaders & GetDevBoxDefaultHeaders;
516
+ // (undocumented)
517
+ status: string;
467
518
  }
468
519
 
469
520
  // @public (undocumented)
470
- export interface DevBoxesListPoolsDefaultHeaders {
471
- "x-ms-error-code"?: string;
521
+ export type GetDevBoxParameters = RequestParameters;
522
+
523
+ // @public (undocumented)
524
+ export interface GetEnvironment {
525
+ delete(options?: DeleteEnvironmentParameters): StreamableMethod<DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse>;
526
+ get(options?: GetEnvironmentParameters): StreamableMethod<GetEnvironment200Response | GetEnvironmentDefaultResponse>;
527
+ put(options: CreateOrUpdateEnvironmentParameters): StreamableMethod<CreateOrUpdateEnvironment201Response | CreateOrUpdateEnvironmentDefaultResponse>;
472
528
  }
473
529
 
474
530
  // @public
475
- export interface DevBoxesListPoolsDefaultResponse extends HttpResponse {
531
+ export interface GetEnvironment200Response extends HttpResponse {
476
532
  // (undocumented)
477
- body: CloudErrorOutput;
478
- // (undocumented)
479
- headers: RawHttpHeaders & DevBoxesListPoolsDefaultHeaders;
533
+ body: EnvironmentOutput;
480
534
  // (undocumented)
481
- status: string;
535
+ status: "200";
482
536
  }
483
537
 
484
538
  // @public (undocumented)
485
- export type DevBoxesListPoolsParameters = DevBoxesListPoolsQueryParam & RequestParameters;
486
-
487
- // @public (undocumented)
488
- export interface DevBoxesListPoolsQueryParam {
489
- // (undocumented)
490
- queryParameters?: DevBoxesListPoolsQueryParamProperties;
539
+ export interface GetEnvironmentDefaultHeaders {
540
+ "x-ms-error-code"?: string;
491
541
  }
492
542
 
493
543
  // @public (undocumented)
494
- export interface DevBoxesListPoolsQueryParamProperties {
495
- filter?: string;
496
- top?: number;
544
+ export interface GetEnvironmentDefaultResponse extends HttpResponse {
545
+ // (undocumented)
546
+ body: ErrorResponse;
547
+ // (undocumented)
548
+ headers: RawHttpHeaders & GetEnvironmentDefaultHeaders;
549
+ // (undocumented)
550
+ status: string;
497
551
  }
498
552
 
499
553
  // @public (undocumented)
500
- export interface DevBoxesListSchedulesByPool {
501
- get(options?: DevBoxesListSchedulesByPoolParameters): StreamableMethod<DevBoxesListSchedulesByPool200Response | DevBoxesListSchedulesByPoolDefaultResponse>;
554
+ export interface GetEnvironmentDefinition {
555
+ get(options?: GetEnvironmentDefinitionParameters): StreamableMethod<GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse>;
502
556
  }
503
557
 
504
558
  // @public
505
- export interface DevBoxesListSchedulesByPool200Response extends HttpResponse {
559
+ export interface GetEnvironmentDefinition200Response extends HttpResponse {
506
560
  // (undocumented)
507
- body: ScheduleListResultOutput;
561
+ body: EnvironmentDefinitionOutput;
508
562
  // (undocumented)
509
563
  status: "200";
510
564
  }
511
565
 
512
566
  // @public (undocumented)
513
- export interface DevBoxesListSchedulesByPoolDefaultHeaders {
567
+ export interface GetEnvironmentDefinitionDefaultHeaders {
514
568
  "x-ms-error-code"?: string;
515
569
  }
516
570
 
517
- // @public
518
- export interface DevBoxesListSchedulesByPoolDefaultResponse extends HttpResponse {
571
+ // @public (undocumented)
572
+ export interface GetEnvironmentDefinitionDefaultResponse extends HttpResponse {
519
573
  // (undocumented)
520
- body: CloudErrorOutput;
574
+ body: ErrorResponse;
521
575
  // (undocumented)
522
- headers: RawHttpHeaders & DevBoxesListSchedulesByPoolDefaultHeaders;
576
+ headers: RawHttpHeaders & GetEnvironmentDefinitionDefaultHeaders;
523
577
  // (undocumented)
524
578
  status: string;
525
579
  }
526
580
 
527
581
  // @public (undocumented)
528
- export type DevBoxesListSchedulesByPoolParameters = DevBoxesListSchedulesByPoolQueryParam & RequestParameters;
582
+ export type GetEnvironmentDefinitionParameters = RequestParameters;
529
583
 
530
584
  // @public (undocumented)
531
- export interface DevBoxesListSchedulesByPoolQueryParam {
532
- // (undocumented)
533
- queryParameters?: DevBoxesListSchedulesByPoolQueryParamProperties;
534
- }
585
+ export type GetEnvironmentParameters = RequestParameters;
586
+
587
+ // @public
588
+ export function getLongRunningPoller<TResult extends CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse>(client: Client, initialResponse: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
535
589
 
536
590
  // @public (undocumented)
537
- export interface DevBoxesListSchedulesByPoolQueryParamProperties {
538
- filter?: string;
539
- top?: number;
540
- }
591
+ export function getLongRunningPoller<TResult extends DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse>(client: Client, initialResponse: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
592
+
593
+ // @public (undocumented)
594
+ export function getLongRunningPoller<TResult extends StartDevBoxLogicalResponse | StartDevBoxDefaultResponse>(client: Client, initialResponse: StartDevBox202Response | StartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
595
+
596
+ // @public (undocumented)
597
+ export function getLongRunningPoller<TResult extends StopDevBoxLogicalResponse | StopDevBoxDefaultResponse>(client: Client, initialResponse: StopDevBox202Response | StopDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
598
+
599
+ // @public (undocumented)
600
+ export function getLongRunningPoller<TResult extends RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse>(client: Client, initialResponse: RestartDevBox202Response | RestartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
601
+
602
+ // @public (undocumented)
603
+ export function getLongRunningPoller<TResult extends CreateOrUpdateEnvironmentLogicalResponse | CreateOrUpdateEnvironmentDefaultResponse>(client: Client, initialResponse: CreateOrUpdateEnvironment201Response | CreateOrUpdateEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
604
+
605
+ // @public (undocumented)
606
+ export function getLongRunningPoller<TResult extends DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse>(client: Client, initialResponse: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
607
+
608
+ // @public
609
+ export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
610
+ page: TPage;
611
+ nextPageLink?: string;
612
+ }>;
541
613
 
542
614
  // @public (undocumented)
543
- export interface DevBoxesListUpcomingActions {
544
- get(options?: DevBoxesListUpcomingActionsParameters): StreamableMethod<DevBoxesListUpcomingActions200Response | DevBoxesListUpcomingActionsDefaultResponse>;
615
+ export interface GetPool {
616
+ get(options?: GetPoolParameters): StreamableMethod<GetPool200Response | GetPoolDefaultResponse>;
545
617
  }
546
618
 
547
619
  // @public
548
- export interface DevBoxesListUpcomingActions200Response extends HttpResponse {
620
+ export interface GetPool200Response extends HttpResponse {
549
621
  // (undocumented)
550
- body: UpcomingActionsListResultOutput;
622
+ body: PoolOutput;
551
623
  // (undocumented)
552
624
  status: "200";
553
625
  }
554
626
 
555
627
  // @public (undocumented)
556
- export interface DevBoxesListUpcomingActionsDefaultHeaders {
628
+ export interface GetPoolDefaultHeaders {
557
629
  "x-ms-error-code"?: string;
558
630
  }
559
631
 
560
- // @public
561
- export interface DevBoxesListUpcomingActionsDefaultResponse extends HttpResponse {
632
+ // @public (undocumented)
633
+ export interface GetPoolDefaultResponse extends HttpResponse {
562
634
  // (undocumented)
563
- body: CloudErrorOutput;
635
+ body: ErrorResponse;
564
636
  // (undocumented)
565
- headers: RawHttpHeaders & DevBoxesListUpcomingActionsDefaultHeaders;
637
+ headers: RawHttpHeaders & GetPoolDefaultHeaders;
566
638
  // (undocumented)
567
639
  status: string;
568
640
  }
569
641
 
570
642
  // @public (undocumented)
571
- export type DevBoxesListUpcomingActionsParameters = RequestParameters;
643
+ export type GetPoolParameters = RequestParameters;
572
644
 
573
645
  // @public (undocumented)
574
- export interface DevBoxesSkipUpcomingAction {
575
- post(options?: DevBoxesSkipUpcomingActionParameters): StreamableMethod<DevBoxesSkipUpcomingAction204Response | DevBoxesSkipUpcomingActionDefaultResponse>;
646
+ export interface GetProject {
647
+ get(options?: GetProjectParameters): StreamableMethod<GetProject200Response | GetProjectDefaultResponse>;
576
648
  }
577
649
 
578
650
  // @public
579
- export interface DevBoxesSkipUpcomingAction204Response extends HttpResponse {
651
+ export interface GetProject200Response extends HttpResponse {
580
652
  // (undocumented)
581
- body: Record<string, unknown>;
653
+ body: ProjectOutput;
582
654
  // (undocumented)
583
- status: "204";
655
+ status: "200";
584
656
  }
585
657
 
586
658
  // @public (undocumented)
587
- export interface DevBoxesSkipUpcomingActionDefaultHeaders {
659
+ export interface GetProjectDefaultHeaders {
588
660
  "x-ms-error-code"?: string;
589
661
  }
590
662
 
591
- // @public
592
- export interface DevBoxesSkipUpcomingActionDefaultResponse extends HttpResponse {
663
+ // @public (undocumented)
664
+ export interface GetProjectDefaultResponse extends HttpResponse {
593
665
  // (undocumented)
594
- body: CloudErrorOutput;
666
+ body: ErrorResponse;
595
667
  // (undocumented)
596
- headers: RawHttpHeaders & DevBoxesSkipUpcomingActionDefaultHeaders;
668
+ headers: RawHttpHeaders & GetProjectDefaultHeaders;
597
669
  // (undocumented)
598
670
  status: string;
599
671
  }
600
672
 
601
673
  // @public (undocumented)
602
- export type DevBoxesSkipUpcomingActionParameters = RequestParameters;
603
-
604
- // @public (undocumented)
605
- export interface DevBoxesStartDevBox {
606
- post(options?: DevBoxesStartDevBoxParameters): StreamableMethod<DevBoxesStartDevBox202Response | DevBoxesStartDevBoxDefaultResponse>;
607
- }
608
-
609
- // @public (undocumented)
610
- export interface DevBoxesStartDevBox202Headers {
611
- "operation-location"?: string;
674
+ export interface GetProjectOperationStatus {
675
+ get(options?: GetProjectOperationStatusParameters): StreamableMethod<GetProjectOperationStatus200Response | GetProjectOperationStatusDefaultResponse>;
612
676
  }
613
677
 
614
678
  // @public
615
- export interface DevBoxesStartDevBox202Response extends HttpResponse {
679
+ export interface GetProjectOperationStatus200Response extends HttpResponse {
616
680
  // (undocumented)
617
- body: Record<string, unknown>;
681
+ body: OperationStatusOutput;
618
682
  // (undocumented)
619
- headers: RawHttpHeaders & DevBoxesStartDevBox202Headers;
620
- // (undocumented)
621
- status: "202";
683
+ status: "200";
622
684
  }
623
685
 
624
686
  // @public (undocumented)
625
- export interface DevBoxesStartDevBoxDefaultHeaders {
687
+ export interface GetProjectOperationStatusDefaultHeaders {
626
688
  "x-ms-error-code"?: string;
627
689
  }
628
690
 
629
- // @public
630
- export interface DevBoxesStartDevBoxDefaultResponse extends HttpResponse {
691
+ // @public (undocumented)
692
+ export interface GetProjectOperationStatusDefaultResponse extends HttpResponse {
631
693
  // (undocumented)
632
- body: CloudErrorOutput;
694
+ body: ErrorResponse;
633
695
  // (undocumented)
634
- headers: RawHttpHeaders & DevBoxesStartDevBoxDefaultHeaders;
696
+ headers: RawHttpHeaders & GetProjectOperationStatusDefaultHeaders;
635
697
  // (undocumented)
636
698
  status: string;
637
699
  }
638
700
 
639
701
  // @public (undocumented)
640
- export type DevBoxesStartDevBoxParameters = RequestParameters;
702
+ export type GetProjectOperationStatusParameters = RequestParameters;
641
703
 
642
704
  // @public (undocumented)
643
- export interface DevBoxesStopDevBox {
644
- post(options?: DevBoxesStopDevBoxParameters): StreamableMethod<DevBoxesStopDevBox202Response | DevBoxesStopDevBoxDefaultResponse>;
645
- }
705
+ export type GetProjectParameters = RequestParameters;
646
706
 
647
707
  // @public (undocumented)
648
- export interface DevBoxesStopDevBox202Headers {
649
- "operation-location"?: string;
708
+ export interface GetRemoteConnection {
709
+ get(options?: GetRemoteConnectionParameters): StreamableMethod<GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse>;
650
710
  }
651
711
 
652
712
  // @public
653
- export interface DevBoxesStopDevBox202Response extends HttpResponse {
713
+ export interface GetRemoteConnection200Response extends HttpResponse {
654
714
  // (undocumented)
655
- body: Record<string, unknown>;
656
- // (undocumented)
657
- headers: RawHttpHeaders & DevBoxesStopDevBox202Headers;
715
+ body: RemoteConnectionOutput;
658
716
  // (undocumented)
659
- status: "202";
717
+ status: "200";
660
718
  }
661
719
 
662
720
  // @public (undocumented)
663
- export interface DevBoxesStopDevBoxDefaultHeaders {
721
+ export interface GetRemoteConnectionDefaultHeaders {
664
722
  "x-ms-error-code"?: string;
665
723
  }
666
724
 
667
- // @public
668
- export interface DevBoxesStopDevBoxDefaultResponse extends HttpResponse {
725
+ // @public (undocumented)
726
+ export interface GetRemoteConnectionDefaultResponse extends HttpResponse {
669
727
  // (undocumented)
670
- body: CloudErrorOutput;
728
+ body: ErrorResponse;
671
729
  // (undocumented)
672
- headers: RawHttpHeaders & DevBoxesStopDevBoxDefaultHeaders;
730
+ headers: RawHttpHeaders & GetRemoteConnectionDefaultHeaders;
673
731
  // (undocumented)
674
732
  status: string;
675
733
  }
676
734
 
677
735
  // @public (undocumented)
678
- export type DevBoxesStopDevBoxParameters = DevBoxesStopDevBoxQueryParam & RequestParameters;
736
+ export type GetRemoteConnectionParameters = RequestParameters;
679
737
 
680
738
  // @public (undocumented)
681
- export interface DevBoxesStopDevBoxQueryParam {
739
+ export interface GetSchedule {
740
+ get(options?: GetScheduleParameters): StreamableMethod<GetSchedule200Response | GetScheduleDefaultResponse>;
741
+ }
742
+
743
+ // @public
744
+ export interface GetSchedule200Response extends HttpResponse {
745
+ // (undocumented)
746
+ body: ScheduleOutput;
682
747
  // (undocumented)
683
- queryParameters?: DevBoxesStopDevBoxQueryParamProperties;
748
+ status: "200";
684
749
  }
685
750
 
686
751
  // @public (undocumented)
687
- export interface DevBoxesStopDevBoxQueryParamProperties {
688
- hibernate?: boolean;
752
+ export interface GetScheduleDefaultHeaders {
753
+ "x-ms-error-code"?: string;
689
754
  }
690
755
 
691
- // @public
692
- export interface DevBoxListResultOutput {
693
- nextLink?: string;
694
- value: Array<DevBoxOutput>;
756
+ // @public (undocumented)
757
+ export interface GetScheduleDefaultResponse extends HttpResponse {
758
+ // (undocumented)
759
+ body: ErrorResponse;
760
+ // (undocumented)
761
+ headers: RawHttpHeaders & GetScheduleDefaultHeaders;
762
+ // (undocumented)
763
+ status: string;
695
764
  }
696
765
 
766
+ // @public (undocumented)
767
+ export type GetScheduleParameters = RequestParameters;
768
+
697
769
  // @public
698
- export interface DevBoxOutput {
699
- actionState?: string;
700
- createdTime?: string;
701
- errorDetails?: ProvisioningErrorOutput;
702
- hardwareProfile?: HardwareProfileOutput;
703
- hibernateSupport?: "Disabled" | "Enabled";
704
- imageReference?: ImageReferenceOutput;
705
- localAdministrator?: "Enabled" | "Disabled";
706
- location?: string;
707
- name?: string;
708
- osType?: "Windows";
709
- poolName: string;
710
- powerState?: "Unknown" | "Deallocated" | "PoweredOff" | "Running" | "Hibernated";
711
- projectName?: string;
712
- provisioningState?: string;
713
- storageProfile?: StorageProfileOutput;
714
- uniqueId?: string;
715
- user?: string;
770
+ export interface HardwareProfile {
716
771
  }
717
772
 
718
- // @public (undocumented)
719
- export interface DevCenterGetProject {
720
- get(options?: DevCenterGetProjectParameters): StreamableMethod<DevCenterGetProject200Response | DevCenterGetProjectDefaultResponse>;
773
+ // @public
774
+ export interface HardwareProfileOutput {
775
+ readonly memoryGB?: number;
776
+ readonly skuName?: string;
777
+ readonly vCPUs?: number;
721
778
  }
722
779
 
723
780
  // @public
724
- export interface DevCenterGetProject200Response extends HttpResponse {
725
- // (undocumented)
726
- body: ProjectOutput;
727
- // (undocumented)
728
- status: "200";
781
+ export interface ImageReference {
729
782
  }
730
783
 
731
784
  // @public
732
- export interface DevCenterGetProjectDefaultResponse extends HttpResponse {
733
- // (undocumented)
734
- body: CloudErrorOutput;
735
- // (undocumented)
736
- status: string;
785
+ export interface ImageReferenceOutput {
786
+ readonly name?: string;
787
+ readonly operatingSystem?: string;
788
+ readonly osBuildNumber?: string;
789
+ readonly publishedDate?: string;
790
+ readonly version?: string;
737
791
  }
738
792
 
739
793
  // @public (undocumented)
740
- export type DevCenterGetProjectParameters = RequestParameters;
794
+ export function isUnexpected(response: ListProjects200Response | ListProjectsDefaultResponse): response is ListProjectsDefaultResponse;
741
795
 
742
796
  // @public (undocumented)
743
- export interface DevCenterListAllDevBoxes {
744
- get(options?: DevCenterListAllDevBoxesParameters): StreamableMethod<DevCenterListAllDevBoxes200Response | DevCenterListAllDevBoxesDefaultResponse>;
745
- }
797
+ export function isUnexpected(response: GetProject200Response | GetProjectDefaultResponse): response is GetProjectDefaultResponse;
746
798
 
747
- // @public
748
- export interface DevCenterListAllDevBoxes200Response extends HttpResponse {
749
- // (undocumented)
750
- body: DevBoxListResultOutput;
751
- // (undocumented)
752
- status: "200";
753
- }
799
+ // @public (undocumented)
800
+ export function isUnexpected(response: GetProjectOperationStatus200Response | GetProjectOperationStatusDefaultResponse): response is GetProjectOperationStatusDefaultResponse;
754
801
 
755
802
  // @public (undocumented)
756
- export interface DevCenterListAllDevBoxesByUser {
757
- get(options?: DevCenterListAllDevBoxesByUserParameters): StreamableMethod<DevCenterListAllDevBoxesByUser200Response | DevCenterListAllDevBoxesByUserDefaultResponse>;
758
- }
803
+ export function isUnexpected(response: ListPools200Response | ListPoolsDefaultResponse): response is ListPoolsDefaultResponse;
759
804
 
760
- // @public
761
- export interface DevCenterListAllDevBoxesByUser200Response extends HttpResponse {
762
- // (undocumented)
763
- body: DevBoxListResultOutput;
764
- // (undocumented)
765
- status: "200";
766
- }
805
+ // @public (undocumented)
806
+ export function isUnexpected(response: GetPool200Response | GetPoolDefaultResponse): response is GetPoolDefaultResponse;
767
807
 
768
808
  // @public (undocumented)
769
- export interface DevCenterListAllDevBoxesByUserDefaultHeaders {
770
- "x-ms-error-code"?: string;
771
- }
809
+ export function isUnexpected(response: ListSchedules200Response | ListSchedulesDefaultResponse): response is ListSchedulesDefaultResponse;
772
810
 
773
- // @public
774
- export interface DevCenterListAllDevBoxesByUserDefaultResponse extends HttpResponse {
775
- // (undocumented)
776
- body: CloudErrorOutput;
777
- // (undocumented)
778
- headers: RawHttpHeaders & DevCenterListAllDevBoxesByUserDefaultHeaders;
779
- // (undocumented)
780
- status: string;
781
- }
811
+ // @public (undocumented)
812
+ export function isUnexpected(response: GetSchedule200Response | GetScheduleDefaultResponse): response is GetScheduleDefaultResponse;
782
813
 
783
814
  // @public (undocumented)
784
- export type DevCenterListAllDevBoxesByUserParameters = DevCenterListAllDevBoxesByUserQueryParam & RequestParameters;
815
+ export function isUnexpected(response: ListDevBoxes200Response | ListDevBoxesDefaultResponse): response is ListDevBoxesDefaultResponse;
785
816
 
786
817
  // @public (undocumented)
787
- export interface DevCenterListAllDevBoxesByUserQueryParam {
788
- // (undocumented)
789
- queryParameters?: DevCenterListAllDevBoxesByUserQueryParamProperties;
790
- }
818
+ export function isUnexpected(response: GetDevBox200Response | GetDevBoxDefaultResponse): response is GetDevBoxDefaultResponse;
791
819
 
792
820
  // @public (undocumented)
793
- export interface DevCenterListAllDevBoxesByUserQueryParamProperties {
794
- filter?: string;
795
- top?: number;
796
- }
821
+ export function isUnexpected(response: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse): response is CreateDevBoxDefaultResponse;
797
822
 
798
823
  // @public (undocumented)
799
- export interface DevCenterListAllDevBoxesDefaultHeaders {
800
- "x-ms-error-code"?: string;
801
- }
824
+ export function isUnexpected(response: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse): response is DeleteDevBoxDefaultResponse;
802
825
 
803
- // @public
804
- export interface DevCenterListAllDevBoxesDefaultResponse extends HttpResponse {
805
- // (undocumented)
806
- body: CloudErrorOutput;
807
- // (undocumented)
808
- headers: RawHttpHeaders & DevCenterListAllDevBoxesDefaultHeaders;
809
- // (undocumented)
810
- status: string;
811
- }
826
+ // @public (undocumented)
827
+ export function isUnexpected(response: StartDevBox202Response | StartDevBoxLogicalResponse | StartDevBoxDefaultResponse): response is StartDevBoxDefaultResponse;
812
828
 
813
829
  // @public (undocumented)
814
- export type DevCenterListAllDevBoxesParameters = DevCenterListAllDevBoxesQueryParam & RequestParameters;
830
+ export function isUnexpected(response: StopDevBox202Response | StopDevBoxLogicalResponse | StopDevBoxDefaultResponse): response is StopDevBoxDefaultResponse;
815
831
 
816
832
  // @public (undocumented)
817
- export interface DevCenterListAllDevBoxesQueryParam {
818
- // (undocumented)
819
- queryParameters?: DevCenterListAllDevBoxesQueryParamProperties;
820
- }
833
+ export function isUnexpected(response: RestartDevBox202Response | RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse): response is RestartDevBoxDefaultResponse;
821
834
 
822
835
  // @public (undocumented)
823
- export interface DevCenterListAllDevBoxesQueryParamProperties {
824
- filter?: string;
825
- top?: number;
826
- }
836
+ export function isUnexpected(response: GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse): response is GetRemoteConnectionDefaultResponse;
827
837
 
828
838
  // @public (undocumented)
829
- export interface DevCenterListProjects {
830
- get(options?: DevCenterListProjectsParameters): StreamableMethod<DevCenterListProjects200Response | DevCenterListProjectsDefaultResponse>;
831
- }
839
+ export function isUnexpected(response: ListDevBoxActions200Response | ListDevBoxActionsDefaultResponse): response is ListDevBoxActionsDefaultResponse;
832
840
 
833
- // @public
834
- export interface DevCenterListProjects200Response extends HttpResponse {
835
- // (undocumented)
836
- body: ProjectListResultOutput;
837
- // (undocumented)
838
- status: "200";
839
- }
841
+ // @public (undocumented)
842
+ export function isUnexpected(response: GetDevBoxAction200Response | GetDevBoxActionDefaultResponse): response is GetDevBoxActionDefaultResponse;
840
843
 
841
- // @public
842
- export interface DevCenterListProjectsDefaultResponse extends HttpResponse {
843
- // (undocumented)
844
- body: CloudErrorOutput;
845
- // (undocumented)
846
- status: string;
847
- }
844
+ // @public (undocumented)
845
+ export function isUnexpected(response: SkipAction204Response | SkipActionDefaultResponse): response is SkipActionDefaultResponse;
848
846
 
849
847
  // @public (undocumented)
850
- export type DevCenterListProjectsParameters = DevCenterListProjectsQueryParam & RequestParameters;
848
+ export function isUnexpected(response: DelayAction200Response | DelayActionDefaultResponse): response is DelayActionDefaultResponse;
851
849
 
852
850
  // @public (undocumented)
853
- export interface DevCenterListProjectsQueryParam {
854
- // (undocumented)
855
- queryParameters?: DevCenterListProjectsQueryParamProperties;
856
- }
851
+ export function isUnexpected(response: DelayAllActions200Response | DelayAllActionsDefaultResponse): response is DelayAllActionsDefaultResponse;
857
852
 
858
853
  // @public (undocumented)
859
- export interface DevCenterListProjectsQueryParamProperties {
860
- filter?: string;
861
- top?: number;
862
- }
854
+ export function isUnexpected(response: ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse): response is ListAllDevBoxesDefaultResponse;
863
855
 
864
- // @public
865
- export interface Environment extends EnvironmentUpdateProperties {
866
- environmentType: string;
867
- name?: string;
868
- provisioningState?: string;
869
- resourceGroupId?: string;
870
- user?: string;
856
+ // @public (undocumented)
857
+ export function isUnexpected(response: ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse): response is ListAllDevBoxesByUserDefaultResponse;
858
+
859
+ // @public (undocumented)
860
+ export function isUnexpected(response: ListAllEnvironments200Response | ListAllEnvironmentsDefaultResponse): response is ListAllEnvironmentsDefaultResponse;
861
+
862
+ // @public (undocumented)
863
+ export function isUnexpected(response: ListEnvironments200Response | ListEnvironmentsDefaultResponse): response is ListEnvironmentsDefaultResponse;
864
+
865
+ // @public (undocumented)
866
+ export function isUnexpected(response: GetEnvironment200Response | GetEnvironmentDefaultResponse): response is GetEnvironmentDefaultResponse;
867
+
868
+ // @public (undocumented)
869
+ export function isUnexpected(response: CreateOrUpdateEnvironment201Response | CreateOrUpdateEnvironmentLogicalResponse | CreateOrUpdateEnvironmentDefaultResponse): response is CreateOrUpdateEnvironmentDefaultResponse;
870
+
871
+ // @public (undocumented)
872
+ export function isUnexpected(response: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse): response is DeleteEnvironmentDefaultResponse;
873
+
874
+ // @public (undocumented)
875
+ export function isUnexpected(response: ListCatalogs200Response | ListCatalogsDefaultResponse): response is ListCatalogsDefaultResponse;
876
+
877
+ // @public (undocumented)
878
+ export function isUnexpected(response: GetCatalog200Response | GetCatalogDefaultResponse): response is GetCatalogDefaultResponse;
879
+
880
+ // @public (undocumented)
881
+ export function isUnexpected(response: ListEnvironmentDefinitions200Response | ListEnvironmentDefinitionsDefaultResponse): response is ListEnvironmentDefinitionsDefaultResponse;
882
+
883
+ // @public (undocumented)
884
+ export function isUnexpected(response: ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse): response is ListEnvironmentDefinitionsByCatalogDefaultResponse;
885
+
886
+ // @public (undocumented)
887
+ export function isUnexpected(response: GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse): response is GetEnvironmentDefinitionDefaultResponse;
888
+
889
+ // @public (undocumented)
890
+ export function isUnexpected(response: ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse): response is ListEnvironmentTypesDefaultResponse;
891
+
892
+ // @public (undocumented)
893
+ export interface ListAllDevBoxes {
894
+ get(options?: ListAllDevBoxesParameters): StreamableMethod<ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse>;
871
895
  }
872
896
 
873
897
  // @public
874
- export interface EnvironmentListResultOutput {
875
- nextLink?: string;
876
- value: Array<EnvironmentOutput>;
898
+ export interface ListAllDevBoxes200Response extends HttpResponse {
899
+ // (undocumented)
900
+ body: PagedDevBoxOutput;
901
+ // (undocumented)
902
+ status: "200";
877
903
  }
878
904
 
879
- // @public
880
- export interface EnvironmentOutput extends EnvironmentUpdatePropertiesOutput {
881
- environmentType: string;
882
- name?: string;
883
- provisioningState?: string;
884
- resourceGroupId?: string;
885
- user?: string;
905
+ // @public (undocumented)
906
+ export interface ListAllDevBoxesByUser {
907
+ get(options?: ListAllDevBoxesByUserParameters): StreamableMethod<ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse>;
886
908
  }
887
909
 
888
910
  // @public
889
- export interface EnvironmentsCreateOrUpdateEnvironment200Response extends HttpResponse {
911
+ export interface ListAllDevBoxesByUser200Response extends HttpResponse {
890
912
  // (undocumented)
891
- body: EnvironmentOutput;
913
+ body: PagedDevBoxOutput;
892
914
  // (undocumented)
893
915
  status: "200";
894
916
  }
895
917
 
896
918
  // @public (undocumented)
897
- export interface EnvironmentsCreateOrUpdateEnvironment201Headers {
898
- "operation-location"?: string;
919
+ export interface ListAllDevBoxesByUserDefaultHeaders {
920
+ "x-ms-error-code"?: string;
899
921
  }
900
922
 
901
- // @public
902
- export interface EnvironmentsCreateOrUpdateEnvironment201Response extends HttpResponse {
923
+ // @public (undocumented)
924
+ export interface ListAllDevBoxesByUserDefaultResponse extends HttpResponse {
903
925
  // (undocumented)
904
- body: EnvironmentOutput;
926
+ body: ErrorResponse;
905
927
  // (undocumented)
906
- headers: RawHttpHeaders & EnvironmentsCreateOrUpdateEnvironment201Headers;
928
+ headers: RawHttpHeaders & ListAllDevBoxesByUserDefaultHeaders;
907
929
  // (undocumented)
908
- status: "201";
930
+ status: string;
909
931
  }
910
932
 
911
933
  // @public (undocumented)
912
- export interface EnvironmentsCreateOrUpdateEnvironmentBodyParam {
913
- body: Environment;
934
+ export type ListAllDevBoxesByUserParameters = ListAllDevBoxesByUserQueryParam & RequestParameters;
935
+
936
+ // @public (undocumented)
937
+ export interface ListAllDevBoxesByUserQueryParam {
938
+ // (undocumented)
939
+ queryParameters?: ListAllDevBoxesByUserQueryParamProperties;
940
+ }
941
+
942
+ // @public (undocumented)
943
+ export interface ListAllDevBoxesByUserQueryParamProperties {
944
+ filter?: string;
945
+ top?: number;
914
946
  }
915
947
 
916
948
  // @public (undocumented)
917
- export interface EnvironmentsCreateOrUpdateEnvironmentDefaultHeaders {
949
+ export interface ListAllDevBoxesDefaultHeaders {
918
950
  "x-ms-error-code"?: string;
919
951
  }
920
952
 
921
- // @public
922
- export interface EnvironmentsCreateOrUpdateEnvironmentDefaultResponse extends HttpResponse {
953
+ // @public (undocumented)
954
+ export interface ListAllDevBoxesDefaultResponse extends HttpResponse {
923
955
  // (undocumented)
924
- body: CloudErrorOutput;
956
+ body: ErrorResponse;
925
957
  // (undocumented)
926
- headers: RawHttpHeaders & EnvironmentsCreateOrUpdateEnvironmentDefaultHeaders;
958
+ headers: RawHttpHeaders & ListAllDevBoxesDefaultHeaders;
927
959
  // (undocumented)
928
960
  status: string;
929
961
  }
930
962
 
931
963
  // @public (undocumented)
932
- export interface EnvironmentsCreateOrUpdateEnvironmentMediaTypesParam {
933
- contentType?: "application/json";
934
- }
935
-
936
- // @public (undocumented)
937
- export type EnvironmentsCreateOrUpdateEnvironmentParameters = EnvironmentsCreateOrUpdateEnvironmentMediaTypesParam & EnvironmentsCreateOrUpdateEnvironmentBodyParam & RequestParameters;
964
+ export type ListAllDevBoxesParameters = ListAllDevBoxesQueryParam & RequestParameters;
938
965
 
939
966
  // @public (undocumented)
940
- export interface EnvironmentsCustomEnvironmentAction {
941
- post(options: EnvironmentsCustomEnvironmentActionParameters): StreamableMethod<EnvironmentsCustomEnvironmentAction200Response | EnvironmentsCustomEnvironmentAction202Response | EnvironmentsCustomEnvironmentActionDefaultResponse>;
967
+ export interface ListAllDevBoxesQueryParam {
968
+ // (undocumented)
969
+ queryParameters?: ListAllDevBoxesQueryParamProperties;
942
970
  }
943
971
 
944
- // @public
945
- export interface EnvironmentsCustomEnvironmentAction200Response extends HttpResponse {
946
- // (undocumented)
947
- body: Record<string, unknown>;
948
- // (undocumented)
949
- status: "200";
972
+ // @public (undocumented)
973
+ export interface ListAllDevBoxesQueryParamProperties {
974
+ filter?: string;
975
+ top?: number;
950
976
  }
951
977
 
952
978
  // @public (undocumented)
953
- export interface EnvironmentsCustomEnvironmentAction202Headers {
954
- "operation-location"?: string;
979
+ export interface ListAllEnvironments {
980
+ get(options?: ListAllEnvironmentsParameters): StreamableMethod<ListAllEnvironments200Response | ListAllEnvironmentsDefaultResponse>;
955
981
  }
956
982
 
957
983
  // @public
958
- export interface EnvironmentsCustomEnvironmentAction202Response extends HttpResponse {
959
- // (undocumented)
960
- body: Record<string, unknown>;
984
+ export interface ListAllEnvironments200Response extends HttpResponse {
961
985
  // (undocumented)
962
- headers: RawHttpHeaders & EnvironmentsCustomEnvironmentAction202Headers;
986
+ body: PagedEnvironmentOutput;
963
987
  // (undocumented)
964
- status: "202";
965
- }
966
-
967
- // @public (undocumented)
968
- export interface EnvironmentsCustomEnvironmentActionBodyParam {
969
- body: ActionRequest;
988
+ status: "200";
970
989
  }
971
990
 
972
991
  // @public (undocumented)
973
- export interface EnvironmentsCustomEnvironmentActionDefaultHeaders {
992
+ export interface ListAllEnvironmentsDefaultHeaders {
974
993
  "x-ms-error-code"?: string;
975
994
  }
976
995
 
977
- // @public
978
- export interface EnvironmentsCustomEnvironmentActionDefaultResponse extends HttpResponse {
996
+ // @public (undocumented)
997
+ export interface ListAllEnvironmentsDefaultResponse extends HttpResponse {
979
998
  // (undocumented)
980
- body: CloudErrorOutput;
999
+ body: ErrorResponse;
981
1000
  // (undocumented)
982
- headers: RawHttpHeaders & EnvironmentsCustomEnvironmentActionDefaultHeaders;
1001
+ headers: RawHttpHeaders & ListAllEnvironmentsDefaultHeaders;
983
1002
  // (undocumented)
984
1003
  status: string;
985
1004
  }
986
1005
 
987
1006
  // @public (undocumented)
988
- export interface EnvironmentsCustomEnvironmentActionMediaTypesParam {
989
- contentType?: "application/json";
990
- }
1007
+ export type ListAllEnvironmentsParameters = ListAllEnvironmentsQueryParam & RequestParameters;
991
1008
 
992
1009
  // @public (undocumented)
993
- export type EnvironmentsCustomEnvironmentActionParameters = EnvironmentsCustomEnvironmentActionMediaTypesParam & EnvironmentsCustomEnvironmentActionBodyParam & RequestParameters;
994
-
995
- // @public
996
- export interface EnvironmentsDeleteEnvironment200Response extends HttpResponse {
997
- // (undocumented)
998
- body: Record<string, unknown>;
1010
+ export interface ListAllEnvironmentsQueryParam {
999
1011
  // (undocumented)
1000
- status: "200";
1012
+ queryParameters?: ListAllEnvironmentsQueryParamProperties;
1001
1013
  }
1002
1014
 
1003
1015
  // @public (undocumented)
1004
- export interface EnvironmentsDeleteEnvironment202Headers {
1005
- "operation-location"?: string;
1016
+ export interface ListAllEnvironmentsQueryParamProperties {
1017
+ top?: number;
1006
1018
  }
1007
1019
 
1008
- // @public
1009
- export interface EnvironmentsDeleteEnvironment202Response extends HttpResponse {
1010
- // (undocumented)
1011
- body: Record<string, unknown>;
1012
- // (undocumented)
1013
- headers: RawHttpHeaders & EnvironmentsDeleteEnvironment202Headers;
1014
- // (undocumented)
1015
- status: "202";
1020
+ // @public (undocumented)
1021
+ export interface ListCatalogs {
1022
+ get(options?: ListCatalogsParameters): StreamableMethod<ListCatalogs200Response | ListCatalogsDefaultResponse>;
1016
1023
  }
1017
1024
 
1018
1025
  // @public
1019
- export interface EnvironmentsDeleteEnvironment204Response extends HttpResponse {
1026
+ export interface ListCatalogs200Response extends HttpResponse {
1020
1027
  // (undocumented)
1021
- body: Record<string, unknown>;
1028
+ body: PagedCatalogOutput;
1022
1029
  // (undocumented)
1023
- status: "204";
1030
+ status: "200";
1024
1031
  }
1025
1032
 
1026
1033
  // @public (undocumented)
1027
- export interface EnvironmentsDeleteEnvironmentDefaultHeaders {
1034
+ export interface ListCatalogsDefaultHeaders {
1028
1035
  "x-ms-error-code"?: string;
1029
1036
  }
1030
1037
 
1031
- // @public
1032
- export interface EnvironmentsDeleteEnvironmentDefaultResponse extends HttpResponse {
1038
+ // @public (undocumented)
1039
+ export interface ListCatalogsDefaultResponse extends HttpResponse {
1033
1040
  // (undocumented)
1034
- body: CloudErrorOutput;
1041
+ body: ErrorResponse;
1035
1042
  // (undocumented)
1036
- headers: RawHttpHeaders & EnvironmentsDeleteEnvironmentDefaultHeaders;
1043
+ headers: RawHttpHeaders & ListCatalogsDefaultHeaders;
1037
1044
  // (undocumented)
1038
1045
  status: string;
1039
1046
  }
1040
1047
 
1041
1048
  // @public (undocumented)
1042
- export type EnvironmentsDeleteEnvironmentParameters = RequestParameters;
1049
+ export type ListCatalogsParameters = ListCatalogsQueryParam & RequestParameters;
1043
1050
 
1044
1051
  // @public (undocumented)
1045
- export interface EnvironmentsDeployEnvironmentAction {
1046
- post(options: EnvironmentsDeployEnvironmentActionParameters): StreamableMethod<EnvironmentsDeployEnvironmentAction200Response | EnvironmentsDeployEnvironmentAction202Response | EnvironmentsDeployEnvironmentActionDefaultResponse>;
1052
+ export interface ListCatalogsQueryParam {
1053
+ // (undocumented)
1054
+ queryParameters?: ListCatalogsQueryParamProperties;
1047
1055
  }
1048
1056
 
1049
- // @public
1050
- export interface EnvironmentsDeployEnvironmentAction200Response extends HttpResponse {
1051
- // (undocumented)
1052
- body: Record<string, unknown>;
1053
- // (undocumented)
1054
- status: "200";
1057
+ // @public (undocumented)
1058
+ export interface ListCatalogsQueryParamProperties {
1059
+ top?: number;
1055
1060
  }
1056
1061
 
1057
1062
  // @public (undocumented)
1058
- export interface EnvironmentsDeployEnvironmentAction202Headers {
1059
- "operation-location"?: string;
1063
+ export interface ListDevBoxActions {
1064
+ get(options?: ListDevBoxActionsParameters): StreamableMethod<ListDevBoxActions200Response | ListDevBoxActionsDefaultResponse>;
1060
1065
  }
1061
1066
 
1062
1067
  // @public
1063
- export interface EnvironmentsDeployEnvironmentAction202Response extends HttpResponse {
1064
- // (undocumented)
1065
- body: Record<string, unknown>;
1068
+ export interface ListDevBoxActions200Response extends HttpResponse {
1066
1069
  // (undocumented)
1067
- headers: RawHttpHeaders & EnvironmentsDeployEnvironmentAction202Headers;
1070
+ body: PagedDevBoxActionOutput;
1068
1071
  // (undocumented)
1069
- status: "202";
1070
- }
1071
-
1072
- // @public (undocumented)
1073
- export interface EnvironmentsDeployEnvironmentActionBodyParam {
1074
- body: ActionRequest;
1072
+ status: "200";
1075
1073
  }
1076
1074
 
1077
1075
  // @public (undocumented)
1078
- export interface EnvironmentsDeployEnvironmentActionDefaultHeaders {
1076
+ export interface ListDevBoxActionsDefaultHeaders {
1079
1077
  "x-ms-error-code"?: string;
1080
1078
  }
1081
1079
 
1082
- // @public
1083
- export interface EnvironmentsDeployEnvironmentActionDefaultResponse extends HttpResponse {
1080
+ // @public (undocumented)
1081
+ export interface ListDevBoxActionsDefaultResponse extends HttpResponse {
1084
1082
  // (undocumented)
1085
- body: CloudErrorOutput;
1083
+ body: ErrorResponse;
1086
1084
  // (undocumented)
1087
- headers: RawHttpHeaders & EnvironmentsDeployEnvironmentActionDefaultHeaders;
1085
+ headers: RawHttpHeaders & ListDevBoxActionsDefaultHeaders;
1088
1086
  // (undocumented)
1089
1087
  status: string;
1090
1088
  }
1091
1089
 
1092
1090
  // @public (undocumented)
1093
- export interface EnvironmentsDeployEnvironmentActionMediaTypesParam {
1094
- contentType?: "application/json";
1095
- }
1091
+ export type ListDevBoxActionsParameters = RequestParameters;
1096
1092
 
1097
1093
  // @public (undocumented)
1098
- export type EnvironmentsDeployEnvironmentActionParameters = EnvironmentsDeployEnvironmentActionMediaTypesParam & EnvironmentsDeployEnvironmentActionBodyParam & RequestParameters;
1099
-
1100
- // @public (undocumented)
1101
- export interface EnvironmentsGetCatalogItem {
1102
- get(options?: EnvironmentsGetCatalogItemParameters): StreamableMethod<EnvironmentsGetCatalogItem200Response | EnvironmentsGetCatalogItemDefaultResponse>;
1094
+ export interface ListDevBoxes {
1095
+ get(options?: ListDevBoxesParameters): StreamableMethod<ListDevBoxes200Response | ListDevBoxesDefaultResponse>;
1103
1096
  }
1104
1097
 
1105
1098
  // @public
1106
- export interface EnvironmentsGetCatalogItem200Response extends HttpResponse {
1099
+ export interface ListDevBoxes200Response extends HttpResponse {
1107
1100
  // (undocumented)
1108
- body: CatalogItemOutput;
1101
+ body: PagedDevBoxOutput;
1109
1102
  // (undocumented)
1110
1103
  status: "200";
1111
1104
  }
1112
1105
 
1113
1106
  // @public (undocumented)
1114
- export interface EnvironmentsGetCatalogItemDefaultHeaders {
1107
+ export interface ListDevBoxesDefaultHeaders {
1115
1108
  "x-ms-error-code"?: string;
1116
1109
  }
1117
1110
 
1118
- // @public
1119
- export interface EnvironmentsGetCatalogItemDefaultResponse extends HttpResponse {
1111
+ // @public (undocumented)
1112
+ export interface ListDevBoxesDefaultResponse extends HttpResponse {
1120
1113
  // (undocumented)
1121
- body: CloudErrorOutput;
1114
+ body: ErrorResponse;
1122
1115
  // (undocumented)
1123
- headers: RawHttpHeaders & EnvironmentsGetCatalogItemDefaultHeaders;
1116
+ headers: RawHttpHeaders & ListDevBoxesDefaultHeaders;
1124
1117
  // (undocumented)
1125
1118
  status: string;
1126
1119
  }
1127
1120
 
1128
1121
  // @public (undocumented)
1129
- export type EnvironmentsGetCatalogItemParameters = RequestParameters;
1122
+ export type ListDevBoxesParameters = ListDevBoxesQueryParam & RequestParameters;
1130
1123
 
1131
1124
  // @public (undocumented)
1132
- export interface EnvironmentsGetCatalogItemVersion {
1133
- get(options?: EnvironmentsGetCatalogItemVersionParameters): StreamableMethod<EnvironmentsGetCatalogItemVersion200Response | EnvironmentsGetCatalogItemVersionDefaultResponse>;
1125
+ export interface ListDevBoxesQueryParam {
1126
+ // (undocumented)
1127
+ queryParameters?: ListDevBoxesQueryParamProperties;
1134
1128
  }
1135
1129
 
1136
- // @public
1137
- export interface EnvironmentsGetCatalogItemVersion200Response extends HttpResponse {
1138
- // (undocumented)
1139
- body: CatalogItemVersionOutput;
1140
- // (undocumented)
1141
- status: "200";
1130
+ // @public (undocumented)
1131
+ export interface ListDevBoxesQueryParamProperties {
1132
+ filter?: string;
1133
+ top?: number;
1142
1134
  }
1143
1135
 
1144
1136
  // @public (undocumented)
1145
- export interface EnvironmentsGetCatalogItemVersionDefaultHeaders {
1146
- "x-ms-error-code"?: string;
1137
+ export interface ListEnvironmentDefinitions {
1138
+ get(options?: ListEnvironmentDefinitionsParameters): StreamableMethod<ListEnvironmentDefinitions200Response | ListEnvironmentDefinitionsDefaultResponse>;
1147
1139
  }
1148
1140
 
1149
1141
  // @public
1150
- export interface EnvironmentsGetCatalogItemVersionDefaultResponse extends HttpResponse {
1142
+ export interface ListEnvironmentDefinitions200Response extends HttpResponse {
1151
1143
  // (undocumented)
1152
- body: CloudErrorOutput;
1144
+ body: PagedEnvironmentDefinitionOutput;
1153
1145
  // (undocumented)
1154
- headers: RawHttpHeaders & EnvironmentsGetCatalogItemVersionDefaultHeaders;
1155
- // (undocumented)
1156
- status: string;
1146
+ status: "200";
1157
1147
  }
1158
1148
 
1159
1149
  // @public (undocumented)
1160
- export type EnvironmentsGetCatalogItemVersionParameters = RequestParameters;
1161
-
1162
- // @public (undocumented)
1163
- export interface EnvironmentsGetEnvironmentByUser {
1164
- delete(options?: EnvironmentsDeleteEnvironmentParameters): StreamableMethod<EnvironmentsDeleteEnvironment200Response | EnvironmentsDeleteEnvironment202Response | EnvironmentsDeleteEnvironment204Response | EnvironmentsDeleteEnvironmentDefaultResponse>;
1165
- get(options?: EnvironmentsGetEnvironmentByUserParameters): StreamableMethod<EnvironmentsGetEnvironmentByUser200Response | EnvironmentsGetEnvironmentByUserDefaultResponse>;
1166
- patch(options: EnvironmentsUpdateEnvironmentParameters): StreamableMethod<EnvironmentsUpdateEnvironment200Response | EnvironmentsUpdateEnvironmentDefaultResponse>;
1167
- put(options: EnvironmentsCreateOrUpdateEnvironmentParameters): StreamableMethod<EnvironmentsCreateOrUpdateEnvironment200Response | EnvironmentsCreateOrUpdateEnvironment201Response | EnvironmentsCreateOrUpdateEnvironmentDefaultResponse>;
1150
+ export interface ListEnvironmentDefinitionsByCatalog {
1151
+ get(options?: ListEnvironmentDefinitionsByCatalogParameters): StreamableMethod<ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse>;
1168
1152
  }
1169
1153
 
1170
1154
  // @public
1171
- export interface EnvironmentsGetEnvironmentByUser200Response extends HttpResponse {
1155
+ export interface ListEnvironmentDefinitionsByCatalog200Response extends HttpResponse {
1172
1156
  // (undocumented)
1173
- body: EnvironmentOutput;
1157
+ body: PagedEnvironmentDefinitionOutput;
1174
1158
  // (undocumented)
1175
1159
  status: "200";
1176
1160
  }
1177
1161
 
1178
1162
  // @public (undocumented)
1179
- export interface EnvironmentsGetEnvironmentByUserDefaultHeaders {
1163
+ export interface ListEnvironmentDefinitionsByCatalogDefaultHeaders {
1180
1164
  "x-ms-error-code"?: string;
1181
1165
  }
1182
1166
 
1183
- // @public
1184
- export interface EnvironmentsGetEnvironmentByUserDefaultResponse extends HttpResponse {
1167
+ // @public (undocumented)
1168
+ export interface ListEnvironmentDefinitionsByCatalogDefaultResponse extends HttpResponse {
1185
1169
  // (undocumented)
1186
- body: CloudErrorOutput;
1170
+ body: ErrorResponse;
1187
1171
  // (undocumented)
1188
- headers: RawHttpHeaders & EnvironmentsGetEnvironmentByUserDefaultHeaders;
1172
+ headers: RawHttpHeaders & ListEnvironmentDefinitionsByCatalogDefaultHeaders;
1189
1173
  // (undocumented)
1190
1174
  status: string;
1191
1175
  }
1192
1176
 
1193
1177
  // @public (undocumented)
1194
- export type EnvironmentsGetEnvironmentByUserParameters = RequestParameters;
1178
+ export type ListEnvironmentDefinitionsByCatalogParameters = ListEnvironmentDefinitionsByCatalogQueryParam & RequestParameters;
1195
1179
 
1196
1180
  // @public (undocumented)
1197
- export interface EnvironmentsListCatalogItems {
1198
- get(options?: EnvironmentsListCatalogItemsParameters): StreamableMethod<EnvironmentsListCatalogItems200Response | EnvironmentsListCatalogItemsDefaultResponse>;
1181
+ export interface ListEnvironmentDefinitionsByCatalogQueryParam {
1182
+ // (undocumented)
1183
+ queryParameters?: ListEnvironmentDefinitionsByCatalogQueryParamProperties;
1199
1184
  }
1200
1185
 
1201
- // @public
1202
- export interface EnvironmentsListCatalogItems200Response extends HttpResponse {
1203
- // (undocumented)
1204
- body: CatalogItemListResultOutput;
1205
- // (undocumented)
1206
- status: "200";
1186
+ // @public (undocumented)
1187
+ export interface ListEnvironmentDefinitionsByCatalogQueryParamProperties {
1188
+ top?: number;
1207
1189
  }
1208
1190
 
1209
1191
  // @public (undocumented)
1210
- export interface EnvironmentsListCatalogItemsDefaultHeaders {
1192
+ export interface ListEnvironmentDefinitionsDefaultHeaders {
1211
1193
  "x-ms-error-code"?: string;
1212
1194
  }
1213
1195
 
1214
- // @public
1215
- export interface EnvironmentsListCatalogItemsDefaultResponse extends HttpResponse {
1196
+ // @public (undocumented)
1197
+ export interface ListEnvironmentDefinitionsDefaultResponse extends HttpResponse {
1216
1198
  // (undocumented)
1217
- body: CloudErrorOutput;
1199
+ body: ErrorResponse;
1218
1200
  // (undocumented)
1219
- headers: RawHttpHeaders & EnvironmentsListCatalogItemsDefaultHeaders;
1201
+ headers: RawHttpHeaders & ListEnvironmentDefinitionsDefaultHeaders;
1220
1202
  // (undocumented)
1221
1203
  status: string;
1222
1204
  }
1223
1205
 
1224
1206
  // @public (undocumented)
1225
- export type EnvironmentsListCatalogItemsParameters = EnvironmentsListCatalogItemsQueryParam & RequestParameters;
1207
+ export type ListEnvironmentDefinitionsParameters = ListEnvironmentDefinitionsQueryParam & RequestParameters;
1226
1208
 
1227
1209
  // @public (undocumented)
1228
- export interface EnvironmentsListCatalogItemsQueryParam {
1210
+ export interface ListEnvironmentDefinitionsQueryParam {
1229
1211
  // (undocumented)
1230
- queryParameters?: EnvironmentsListCatalogItemsQueryParamProperties;
1212
+ queryParameters?: ListEnvironmentDefinitionsQueryParamProperties;
1231
1213
  }
1232
1214
 
1233
1215
  // @public (undocumented)
1234
- export interface EnvironmentsListCatalogItemsQueryParamProperties {
1216
+ export interface ListEnvironmentDefinitionsQueryParamProperties {
1235
1217
  top?: number;
1236
1218
  }
1237
1219
 
1238
1220
  // @public (undocumented)
1239
- export interface EnvironmentsListCatalogItemVersions {
1240
- get(options?: EnvironmentsListCatalogItemVersionsParameters): StreamableMethod<EnvironmentsListCatalogItemVersions200Response | EnvironmentsListCatalogItemVersionsDefaultResponse>;
1221
+ export interface ListEnvironments {
1222
+ get(options?: ListEnvironmentsParameters): StreamableMethod<ListEnvironments200Response | ListEnvironmentsDefaultResponse>;
1241
1223
  }
1242
1224
 
1243
1225
  // @public
1244
- export interface EnvironmentsListCatalogItemVersions200Response extends HttpResponse {
1226
+ export interface ListEnvironments200Response extends HttpResponse {
1245
1227
  // (undocumented)
1246
- body: CatalogItemVersionListResultOutput;
1228
+ body: PagedEnvironmentOutput;
1247
1229
  // (undocumented)
1248
1230
  status: "200";
1249
1231
  }
1250
1232
 
1251
1233
  // @public (undocumented)
1252
- export interface EnvironmentsListCatalogItemVersionsDefaultHeaders {
1234
+ export interface ListEnvironmentsDefaultHeaders {
1253
1235
  "x-ms-error-code"?: string;
1254
1236
  }
1255
1237
 
1256
- // @public
1257
- export interface EnvironmentsListCatalogItemVersionsDefaultResponse extends HttpResponse {
1238
+ // @public (undocumented)
1239
+ export interface ListEnvironmentsDefaultResponse extends HttpResponse {
1258
1240
  // (undocumented)
1259
- body: CloudErrorOutput;
1241
+ body: ErrorResponse;
1260
1242
  // (undocumented)
1261
- headers: RawHttpHeaders & EnvironmentsListCatalogItemVersionsDefaultHeaders;
1243
+ headers: RawHttpHeaders & ListEnvironmentsDefaultHeaders;
1262
1244
  // (undocumented)
1263
1245
  status: string;
1264
1246
  }
1265
1247
 
1266
1248
  // @public (undocumented)
1267
- export type EnvironmentsListCatalogItemVersionsParameters = EnvironmentsListCatalogItemVersionsQueryParam & RequestParameters;
1249
+ export type ListEnvironmentsParameters = ListEnvironmentsQueryParam & RequestParameters;
1268
1250
 
1269
1251
  // @public (undocumented)
1270
- export interface EnvironmentsListCatalogItemVersionsQueryParam {
1252
+ export interface ListEnvironmentsQueryParam {
1271
1253
  // (undocumented)
1272
- queryParameters?: EnvironmentsListCatalogItemVersionsQueryParamProperties;
1254
+ queryParameters?: ListEnvironmentsQueryParamProperties;
1273
1255
  }
1274
1256
 
1275
1257
  // @public (undocumented)
1276
- export interface EnvironmentsListCatalogItemVersionsQueryParamProperties {
1258
+ export interface ListEnvironmentsQueryParamProperties {
1277
1259
  top?: number;
1278
1260
  }
1279
1261
 
1280
1262
  // @public (undocumented)
1281
- export interface EnvironmentsListEnvironments {
1282
- get(options?: EnvironmentsListEnvironmentsParameters): StreamableMethod<EnvironmentsListEnvironments200Response | EnvironmentsListEnvironmentsDefaultResponse>;
1283
- }
1284
-
1285
- // @public
1286
- export interface EnvironmentsListEnvironments200Response extends HttpResponse {
1287
- // (undocumented)
1288
- body: EnvironmentListResultOutput;
1289
- // (undocumented)
1290
- status: "200";
1291
- }
1292
-
1293
- // @public (undocumented)
1294
- export interface EnvironmentsListEnvironmentsByUser {
1295
- get(options?: EnvironmentsListEnvironmentsByUserParameters): StreamableMethod<EnvironmentsListEnvironmentsByUser200Response | EnvironmentsListEnvironmentsByUserDefaultResponse>;
1263
+ export interface ListEnvironmentTypes {
1264
+ get(options?: ListEnvironmentTypesParameters): StreamableMethod<ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse>;
1296
1265
  }
1297
1266
 
1298
1267
  // @public
1299
- export interface EnvironmentsListEnvironmentsByUser200Response extends HttpResponse {
1268
+ export interface ListEnvironmentTypes200Response extends HttpResponse {
1300
1269
  // (undocumented)
1301
- body: EnvironmentListResultOutput;
1270
+ body: PagedEnvironmentTypeOutput;
1302
1271
  // (undocumented)
1303
1272
  status: "200";
1304
1273
  }
1305
1274
 
1306
1275
  // @public (undocumented)
1307
- export interface EnvironmentsListEnvironmentsByUserDefaultHeaders {
1276
+ export interface ListEnvironmentTypesDefaultHeaders {
1308
1277
  "x-ms-error-code"?: string;
1309
1278
  }
1310
1279
 
1311
- // @public
1312
- export interface EnvironmentsListEnvironmentsByUserDefaultResponse extends HttpResponse {
1280
+ // @public (undocumented)
1281
+ export interface ListEnvironmentTypesDefaultResponse extends HttpResponse {
1313
1282
  // (undocumented)
1314
- body: CloudErrorOutput;
1283
+ body: ErrorResponse;
1315
1284
  // (undocumented)
1316
- headers: RawHttpHeaders & EnvironmentsListEnvironmentsByUserDefaultHeaders;
1285
+ headers: RawHttpHeaders & ListEnvironmentTypesDefaultHeaders;
1317
1286
  // (undocumented)
1318
1287
  status: string;
1319
1288
  }
1320
1289
 
1321
1290
  // @public (undocumented)
1322
- export type EnvironmentsListEnvironmentsByUserParameters = EnvironmentsListEnvironmentsByUserQueryParam & RequestParameters;
1291
+ export type ListEnvironmentTypesParameters = ListEnvironmentTypesQueryParam & RequestParameters;
1323
1292
 
1324
1293
  // @public (undocumented)
1325
- export interface EnvironmentsListEnvironmentsByUserQueryParam {
1294
+ export interface ListEnvironmentTypesQueryParam {
1326
1295
  // (undocumented)
1327
- queryParameters?: EnvironmentsListEnvironmentsByUserQueryParamProperties;
1296
+ queryParameters?: ListEnvironmentTypesQueryParamProperties;
1328
1297
  }
1329
1298
 
1330
1299
  // @public (undocumented)
1331
- export interface EnvironmentsListEnvironmentsByUserQueryParamProperties {
1300
+ export interface ListEnvironmentTypesQueryParamProperties {
1332
1301
  top?: number;
1333
1302
  }
1334
1303
 
1335
1304
  // @public (undocumented)
1336
- export interface EnvironmentsListEnvironmentsDefaultHeaders {
1337
- "x-ms-error-code"?: string;
1305
+ export interface ListPools {
1306
+ get(options?: ListPoolsParameters): StreamableMethod<ListPools200Response | ListPoolsDefaultResponse>;
1338
1307
  }
1339
1308
 
1340
1309
  // @public
1341
- export interface EnvironmentsListEnvironmentsDefaultResponse extends HttpResponse {
1310
+ export interface ListPools200Response extends HttpResponse {
1311
+ // (undocumented)
1312
+ body: PagedPoolOutput;
1342
1313
  // (undocumented)
1343
- body: CloudErrorOutput;
1314
+ status: "200";
1315
+ }
1316
+
1317
+ // @public (undocumented)
1318
+ export interface ListPoolsDefaultHeaders {
1319
+ "x-ms-error-code"?: string;
1320
+ }
1321
+
1322
+ // @public (undocumented)
1323
+ export interface ListPoolsDefaultResponse extends HttpResponse {
1344
1324
  // (undocumented)
1345
- headers: RawHttpHeaders & EnvironmentsListEnvironmentsDefaultHeaders;
1325
+ body: ErrorResponse;
1326
+ // (undocumented)
1327
+ headers: RawHttpHeaders & ListPoolsDefaultHeaders;
1346
1328
  // (undocumented)
1347
1329
  status: string;
1348
1330
  }
1349
1331
 
1350
1332
  // @public (undocumented)
1351
- export type EnvironmentsListEnvironmentsParameters = EnvironmentsListEnvironmentsQueryParam & RequestParameters;
1333
+ export type ListPoolsParameters = ListPoolsQueryParam & RequestParameters;
1352
1334
 
1353
1335
  // @public (undocumented)
1354
- export interface EnvironmentsListEnvironmentsQueryParam {
1336
+ export interface ListPoolsQueryParam {
1355
1337
  // (undocumented)
1356
- queryParameters?: EnvironmentsListEnvironmentsQueryParamProperties;
1338
+ queryParameters?: ListPoolsQueryParamProperties;
1357
1339
  }
1358
1340
 
1359
1341
  // @public (undocumented)
1360
- export interface EnvironmentsListEnvironmentsQueryParamProperties {
1342
+ export interface ListPoolsQueryParamProperties {
1343
+ filter?: string;
1361
1344
  top?: number;
1362
1345
  }
1363
1346
 
1364
1347
  // @public (undocumented)
1365
- export interface EnvironmentsListEnvironmentTypes {
1366
- get(options?: EnvironmentsListEnvironmentTypesParameters): StreamableMethod<EnvironmentsListEnvironmentTypes200Response | EnvironmentsListEnvironmentTypesDefaultResponse>;
1348
+ export interface ListProjects {
1349
+ get(options?: ListProjectsParameters): StreamableMethod<ListProjects200Response | ListProjectsDefaultResponse>;
1367
1350
  }
1368
1351
 
1369
1352
  // @public
1370
- export interface EnvironmentsListEnvironmentTypes200Response extends HttpResponse {
1353
+ export interface ListProjects200Response extends HttpResponse {
1371
1354
  // (undocumented)
1372
- body: EnvironmentTypeListResultOutput;
1355
+ body: PagedProjectOutput;
1373
1356
  // (undocumented)
1374
1357
  status: "200";
1375
1358
  }
1376
1359
 
1377
1360
  // @public (undocumented)
1378
- export interface EnvironmentsListEnvironmentTypesDefaultHeaders {
1361
+ export interface ListProjectsDefaultHeaders {
1379
1362
  "x-ms-error-code"?: string;
1380
1363
  }
1381
1364
 
1382
- // @public
1383
- export interface EnvironmentsListEnvironmentTypesDefaultResponse extends HttpResponse {
1365
+ // @public (undocumented)
1366
+ export interface ListProjectsDefaultResponse extends HttpResponse {
1384
1367
  // (undocumented)
1385
- body: CloudErrorOutput;
1368
+ body: ErrorResponse;
1386
1369
  // (undocumented)
1387
- headers: RawHttpHeaders & EnvironmentsListEnvironmentTypesDefaultHeaders;
1370
+ headers: RawHttpHeaders & ListProjectsDefaultHeaders;
1388
1371
  // (undocumented)
1389
1372
  status: string;
1390
1373
  }
1391
1374
 
1392
1375
  // @public (undocumented)
1393
- export type EnvironmentsListEnvironmentTypesParameters = EnvironmentsListEnvironmentTypesQueryParam & RequestParameters;
1376
+ export type ListProjectsParameters = ListProjectsQueryParam & RequestParameters;
1394
1377
 
1395
1378
  // @public (undocumented)
1396
- export interface EnvironmentsListEnvironmentTypesQueryParam {
1379
+ export interface ListProjectsQueryParam {
1397
1380
  // (undocumented)
1398
- queryParameters?: EnvironmentsListEnvironmentTypesQueryParamProperties;
1381
+ queryParameters?: ListProjectsQueryParamProperties;
1399
1382
  }
1400
1383
 
1401
1384
  // @public (undocumented)
1402
- export interface EnvironmentsListEnvironmentTypesQueryParamProperties {
1385
+ export interface ListProjectsQueryParamProperties {
1386
+ filter?: string;
1403
1387
  top?: number;
1404
1388
  }
1405
1389
 
1390
+ // @public (undocumented)
1391
+ export interface ListSchedules {
1392
+ get(options?: ListSchedulesParameters): StreamableMethod<ListSchedules200Response | ListSchedulesDefaultResponse>;
1393
+ }
1394
+
1406
1395
  // @public
1407
- export interface EnvironmentsUpdateEnvironment200Response extends HttpResponse {
1396
+ export interface ListSchedules200Response extends HttpResponse {
1408
1397
  // (undocumented)
1409
- body: EnvironmentOutput;
1398
+ body: PagedScheduleOutput;
1410
1399
  // (undocumented)
1411
1400
  status: "200";
1412
1401
  }
1413
1402
 
1414
1403
  // @public (undocumented)
1415
- export interface EnvironmentsUpdateEnvironmentBodyParam {
1416
- body: EnvironmentUpdateProperties;
1417
- }
1418
-
1419
- // @public (undocumented)
1420
- export interface EnvironmentsUpdateEnvironmentDefaultHeaders {
1404
+ export interface ListSchedulesDefaultHeaders {
1421
1405
  "x-ms-error-code"?: string;
1422
1406
  }
1423
1407
 
1424
- // @public
1425
- export interface EnvironmentsUpdateEnvironmentDefaultResponse extends HttpResponse {
1408
+ // @public (undocumented)
1409
+ export interface ListSchedulesDefaultResponse extends HttpResponse {
1426
1410
  // (undocumented)
1427
- body: CloudErrorOutput;
1411
+ body: ErrorResponse;
1428
1412
  // (undocumented)
1429
- headers: RawHttpHeaders & EnvironmentsUpdateEnvironmentDefaultHeaders;
1413
+ headers: RawHttpHeaders & ListSchedulesDefaultHeaders;
1430
1414
  // (undocumented)
1431
1415
  status: string;
1432
1416
  }
1433
1417
 
1434
1418
  // @public (undocumented)
1435
- export interface EnvironmentsUpdateEnvironmentMediaTypesParam {
1436
- contentType?: "application/merge-patch+json";
1419
+ export type ListSchedulesParameters = ListSchedulesQueryParam & RequestParameters;
1420
+
1421
+ // @public (undocumented)
1422
+ export interface ListSchedulesQueryParam {
1423
+ // (undocumented)
1424
+ queryParameters?: ListSchedulesQueryParamProperties;
1437
1425
  }
1438
1426
 
1439
1427
  // @public (undocumented)
1440
- export type EnvironmentsUpdateEnvironmentParameters = EnvironmentsUpdateEnvironmentMediaTypesParam & EnvironmentsUpdateEnvironmentBodyParam & RequestParameters;
1428
+ export interface ListSchedulesQueryParamProperties {
1429
+ filter?: string;
1430
+ top?: number;
1431
+ }
1441
1432
 
1442
1433
  // @public
1443
- export interface EnvironmentTypeListResultOutput {
1444
- nextLink?: string;
1445
- value: Array<EnvironmentTypeOutput>;
1434
+ export interface OperationStatusErrorOutput {
1435
+ code?: string;
1436
+ message?: string;
1446
1437
  }
1447
1438
 
1448
1439
  // @public
1449
- export interface EnvironmentTypeOutput {
1450
- deploymentTargetId?: string;
1440
+ export interface OperationStatusOutput {
1441
+ endTime?: string;
1442
+ error?: OperationStatusErrorOutput;
1443
+ id?: string;
1451
1444
  name?: string;
1452
- status?: "Enabled" | "Disabled";
1445
+ percentComplete?: number;
1446
+ properties?: any;
1447
+ resourceId?: string;
1448
+ startTime?: string;
1449
+ status: string;
1453
1450
  }
1454
1451
 
1455
1452
  // @public
1456
- export interface EnvironmentUpdateProperties {
1457
- catalogItemName?: string;
1458
- catalogName?: string;
1459
- description?: string;
1460
- parameters?: Record<string, unknown>;
1461
- scheduledTasks?: Record<string, ScheduledTask>;
1462
- tags?: Record<string, string>;
1453
+ export interface OSDisk {
1463
1454
  }
1464
1455
 
1465
1456
  // @public
1466
- export interface EnvironmentUpdatePropertiesOutput {
1467
- catalogItemName?: string;
1468
- catalogName?: string;
1469
- description?: string;
1470
- parameters?: Record<string, unknown>;
1471
- scheduledTasks?: Record<string, ScheduledTaskOutput>;
1472
- tags?: Record<string, string>;
1457
+ export interface OSDiskOutput {
1458
+ readonly diskSizeGB?: number;
1473
1459
  }
1474
1460
 
1475
1461
  // @public
1476
- export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
1462
+ export type PagedCatalogOutput = Paged<CatalogOutput>;
1477
1463
 
1478
1464
  // @public
1479
- export function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: LroEngineOptions<TResult, PollOperationState<TResult>>): PollerLike<PollOperationState<TResult>, TResult>;
1465
+ export type PagedDevBoxActionDelayResultOutput = Paged<DevBoxActionDelayResultOutput>;
1480
1466
 
1481
1467
  // @public
1482
- export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
1483
- page: TPage;
1484
- nextPageLink?: string;
1485
- }>;
1468
+ export type PagedDevBoxActionOutput = Paged<DevBoxActionOutput>;
1486
1469
 
1487
1470
  // @public
1488
- export interface HardwareProfile {
1489
- memoryGB?: number;
1490
- skuName?: string;
1491
- vCPUs?: number;
1492
- }
1471
+ export type PagedDevBoxOutput = Paged<DevBoxOutput>;
1493
1472
 
1494
1473
  // @public
1495
- export interface HardwareProfileOutput {
1496
- memoryGB?: number;
1497
- skuName?: string;
1498
- vCPUs?: number;
1499
- }
1474
+ export type PagedEnvironmentDefinitionOutput = Paged<EnvironmentDefinitionOutput>;
1500
1475
 
1501
1476
  // @public
1502
- export interface ImageReference {
1503
- name?: string;
1504
- operatingSystem?: string;
1505
- osBuildNumber?: string;
1506
- publishedDate?: Date | string;
1507
- version?: string;
1508
- }
1477
+ export type PagedEnvironmentOutput = Paged<EnvironmentOutput>;
1509
1478
 
1510
1479
  // @public
1511
- export interface ImageReferenceOutput {
1512
- name?: string;
1513
- operatingSystem?: string;
1514
- osBuildNumber?: string;
1515
- publishedDate?: string;
1516
- version?: string;
1517
- }
1480
+ export type PagedEnvironmentTypeOutput = Paged<EnvironmentTypeOutput>;
1518
1481
 
1519
- // @public (undocumented)
1520
- export function isUnexpected(response: DevCenterListProjects200Response | DevCenterListProjectsDefaultResponse): response is DevCenterListProjectsDefaultResponse;
1521
-
1522
- // @public (undocumented)
1523
- export function isUnexpected(response: DevCenterGetProject200Response | DevCenterGetProjectDefaultResponse): response is DevCenterGetProjectDefaultResponse;
1524
-
1525
- // @public (undocumented)
1526
- export function isUnexpected(response: DevCenterListAllDevBoxes200Response | DevCenterListAllDevBoxesDefaultResponse): response is DevCenterListAllDevBoxesDefaultResponse;
1527
-
1528
- // @public (undocumented)
1529
- export function isUnexpected(response: DevCenterListAllDevBoxesByUser200Response | DevCenterListAllDevBoxesByUserDefaultResponse): response is DevCenterListAllDevBoxesByUserDefaultResponse;
1530
-
1531
- // @public (undocumented)
1532
- export function isUnexpected(response: DevBoxesListPools200Response | DevBoxesListPoolsDefaultResponse): response is DevBoxesListPoolsDefaultResponse;
1533
-
1534
- // @public (undocumented)
1535
- export function isUnexpected(response: DevBoxesGetPool200Response | DevBoxesGetPoolDefaultResponse): response is DevBoxesGetPoolDefaultResponse;
1536
-
1537
- // @public (undocumented)
1538
- export function isUnexpected(response: DevBoxesListSchedulesByPool200Response | DevBoxesListSchedulesByPoolDefaultResponse): response is DevBoxesListSchedulesByPoolDefaultResponse;
1539
-
1540
- // @public (undocumented)
1541
- export function isUnexpected(response: DevBoxesGetScheduleByPool200Response | DevBoxesGetScheduleByPoolDefaultResponse): response is DevBoxesGetScheduleByPoolDefaultResponse;
1482
+ // @public
1483
+ export type PagedPoolOutput = Paged<PoolOutput>;
1542
1484
 
1543
- // @public (undocumented)
1544
- export function isUnexpected(response: DevBoxesListDevBoxesByUser200Response | DevBoxesListDevBoxesByUserDefaultResponse): response is DevBoxesListDevBoxesByUserDefaultResponse;
1485
+ // @public
1486
+ export type PagedProjectOutput = Paged<ProjectOutput>;
1545
1487
 
1546
- // @public (undocumented)
1547
- export function isUnexpected(response: DevBoxesGetDevBoxByUser200Response | DevBoxesGetDevBoxByUserDefaultResponse): response is DevBoxesGetDevBoxByUserDefaultResponse;
1488
+ // @public
1489
+ export type PagedScheduleOutput = Paged<ScheduleOutput>;
1548
1490
 
1549
- // @public (undocumented)
1550
- export function isUnexpected(response: DevBoxesCreateDevBox200Response | DevBoxesCreateDevBox201Response | DevBoxesCreateDevBoxDefaultResponse): response is DevBoxesCreateDevBoxDefaultResponse;
1491
+ // @public
1492
+ export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1551
1493
 
1552
- // @public (undocumented)
1553
- export function isUnexpected(response: DevBoxesDeleteDevBox202Response | DevBoxesDeleteDevBox204Response | DevBoxesDeleteDevBoxDefaultResponse): response is DevBoxesDeleteDevBoxDefaultResponse;
1494
+ // @public
1495
+ export type PaginateReturn<TResult> = TResult extends {
1496
+ body: {
1497
+ value?: infer TPage;
1498
+ };
1499
+ } ? GetArrayType<TPage> : Array<unknown>;
1554
1500
 
1555
- // @public (undocumented)
1556
- export function isUnexpected(response: DevBoxesStartDevBox202Response | DevBoxesStartDevBoxDefaultResponse): response is DevBoxesStartDevBoxDefaultResponse;
1501
+ // @public
1502
+ export interface PagingOptions<TResponse> {
1503
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1504
+ }
1557
1505
 
1558
- // @public (undocumented)
1559
- export function isUnexpected(response: DevBoxesStopDevBox202Response | DevBoxesStopDevBoxDefaultResponse): response is DevBoxesStopDevBoxDefaultResponse;
1506
+ // @public
1507
+ export interface PoolOutput {
1508
+ hardwareProfile?: HardwareProfileOutput;
1509
+ healthStatus: string;
1510
+ hibernateSupport?: string;
1511
+ imageReference?: ImageReferenceOutput;
1512
+ localAdministrator?: string;
1513
+ location: string;
1514
+ readonly name: string;
1515
+ osType?: string;
1516
+ stopOnDisconnect?: StopOnDisconnectConfigurationOutput;
1517
+ storageProfile?: StorageProfileOutput;
1518
+ }
1560
1519
 
1561
- // @public (undocumented)
1562
- export function isUnexpected(response: DevBoxesGetRemoteConnection200Response | DevBoxesGetRemoteConnectionDefaultResponse): response is DevBoxesGetRemoteConnectionDefaultResponse;
1520
+ // @public
1521
+ export interface ProjectOutput {
1522
+ description?: string;
1523
+ maxDevBoxesPerUser?: number;
1524
+ readonly name: string;
1525
+ }
1563
1526
 
1564
- // @public (undocumented)
1565
- export function isUnexpected(response: DevBoxesListUpcomingActions200Response | DevBoxesListUpcomingActionsDefaultResponse): response is DevBoxesListUpcomingActionsDefaultResponse;
1527
+ // @public
1528
+ export interface RemoteConnectionOutput {
1529
+ rdpConnectionUrl?: string;
1530
+ webUrl?: string;
1531
+ }
1566
1532
 
1567
1533
  // @public (undocumented)
1568
- export function isUnexpected(response: DevBoxesGetUpcomingAction200Response | DevBoxesGetUpcomingActionDefaultResponse): response is DevBoxesGetUpcomingActionDefaultResponse;
1534
+ export interface RestartDevBox {
1535
+ post(options?: RestartDevBoxParameters): StreamableMethod<RestartDevBox202Response | RestartDevBoxDefaultResponse>;
1536
+ }
1569
1537
 
1570
1538
  // @public (undocumented)
1571
- export function isUnexpected(response: DevBoxesSkipUpcomingAction204Response | DevBoxesSkipUpcomingActionDefaultResponse): response is DevBoxesSkipUpcomingActionDefaultResponse;
1539
+ export interface RestartDevBox202Headers {
1540
+ "operation-location": string;
1541
+ }
1572
1542
 
1573
- // @public (undocumented)
1574
- export function isUnexpected(response: DevBoxesDelayUpcomingAction200Response | DevBoxesDelayUpcomingActionDefaultResponse): response is DevBoxesDelayUpcomingActionDefaultResponse;
1543
+ // @public
1544
+ export interface RestartDevBox202Response extends HttpResponse {
1545
+ // (undocumented)
1546
+ body: OperationStatusOutput;
1547
+ // (undocumented)
1548
+ headers: RawHttpHeaders & RestartDevBox202Headers;
1549
+ // (undocumented)
1550
+ status: "202";
1551
+ }
1575
1552
 
1576
1553
  // @public (undocumented)
1577
- export function isUnexpected(response: EnvironmentsListEnvironments200Response | EnvironmentsListEnvironmentsDefaultResponse): response is EnvironmentsListEnvironmentsDefaultResponse;
1554
+ export interface RestartDevBoxDefaultHeaders {
1555
+ "x-ms-error-code"?: string;
1556
+ }
1578
1557
 
1579
1558
  // @public (undocumented)
1580
- export function isUnexpected(response: EnvironmentsListEnvironmentsByUser200Response | EnvironmentsListEnvironmentsByUserDefaultResponse): response is EnvironmentsListEnvironmentsByUserDefaultResponse;
1559
+ export interface RestartDevBoxDefaultResponse extends HttpResponse {
1560
+ // (undocumented)
1561
+ body: ErrorResponse;
1562
+ // (undocumented)
1563
+ headers: RawHttpHeaders & RestartDevBoxDefaultHeaders;
1564
+ // (undocumented)
1565
+ status: string;
1566
+ }
1581
1567
 
1582
- // @public (undocumented)
1583
- export function isUnexpected(response: EnvironmentsGetEnvironmentByUser200Response | EnvironmentsGetEnvironmentByUserDefaultResponse): response is EnvironmentsGetEnvironmentByUserDefaultResponse;
1568
+ // @public
1569
+ export interface RestartDevBoxLogicalResponse extends HttpResponse {
1570
+ // (undocumented)
1571
+ body: OperationStatusOutput;
1572
+ // (undocumented)
1573
+ status: "200";
1574
+ }
1584
1575
 
1585
1576
  // @public (undocumented)
1586
- export function isUnexpected(response: EnvironmentsCreateOrUpdateEnvironment200Response | EnvironmentsCreateOrUpdateEnvironment201Response | EnvironmentsCreateOrUpdateEnvironmentDefaultResponse): response is EnvironmentsCreateOrUpdateEnvironmentDefaultResponse;
1577
+ export type RestartDevBoxParameters = RequestParameters;
1587
1578
 
1588
1579
  // @public (undocumented)
1589
- export function isUnexpected(response: EnvironmentsUpdateEnvironment200Response | EnvironmentsUpdateEnvironmentDefaultResponse): response is EnvironmentsUpdateEnvironmentDefaultResponse;
1580
+ export interface Routes {
1581
+ (path: "/projects"): ListProjects;
1582
+ (path: "/projects/{projectName}", projectName: string): GetProject;
1583
+ (path: "/projects/{projectName}/operationstatuses/{operationId}", projectName: string, operationId: string): GetProjectOperationStatus;
1584
+ (path: "/projects/{projectName}/pools", projectName: string): ListPools;
1585
+ (path: "/projects/{projectName}/pools/{poolName}", projectName: string, poolName: string): GetPool;
1586
+ (path: "/projects/{projectName}/pools/{poolName}/schedules", projectName: string, poolName: string): ListSchedules;
1587
+ (path: "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}", projectName: string, poolName: string, scheduleName: string): GetSchedule;
1588
+ (path: "/projects/{projectName}/users/{userId}/devboxes", projectName: string, userId: string): ListDevBoxes;
1589
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}", projectName: string, userId: string, devBoxName: string): GetDevBox;
1590
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start", projectName: string, userId: string, devBoxName: string): StartDevBox;
1591
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): StopDevBox;
1592
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restart", projectName: string, userId: string, devBoxName: string): RestartDevBox;
1593
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection", projectName: string, userId: string, devBoxName: string): GetRemoteConnection;
1594
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions", projectName: string, userId: string, devBoxName: string): ListDevBoxActions;
1595
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}", projectName: string, userId: string, devBoxName: string, actionName: string): GetDevBoxAction;
1596
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:skip", projectName: string, userId: string, devBoxName: string, actionName: string): SkipAction;
1597
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:delay", projectName: string, userId: string, devBoxName: string, actionName: string): DelayAction;
1598
+ (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions:delay", projectName: string, userId: string, devBoxName: string): DelayAllActions;
1599
+ (path: "/devboxes"): ListAllDevBoxes;
1600
+ (path: "/users/{userId}/devboxes", userId: string): ListAllDevBoxesByUser;
1601
+ (path: "/projects/{projectName}/environments", projectName: string): ListAllEnvironments;
1602
+ (path: "/projects/{projectName}/users/{userId}/environments", projectName: string, userId: string): ListEnvironments;
1603
+ (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): GetEnvironment;
1604
+ (path: "/projects/{projectName}/catalogs", projectName: string): ListCatalogs;
1605
+ (path: "/projects/{projectName}/catalogs/{catalogName}", projectName: string, catalogName: string): GetCatalog;
1606
+ (path: "/projects/{projectName}/environmentDefinitions", projectName: string): ListEnvironmentDefinitions;
1607
+ (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions", projectName: string, catalogName: string): ListEnvironmentDefinitionsByCatalog;
1608
+ (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName}", projectName: string, catalogName: string, definitionName: string): GetEnvironmentDefinition;
1609
+ (path: "/projects/{projectName}/environmentTypes", projectName: string): ListEnvironmentTypes;
1610
+ }
1590
1611
 
1591
- // @public (undocumented)
1592
- export function isUnexpected(response: EnvironmentsDeleteEnvironment200Response | EnvironmentsDeleteEnvironment202Response | EnvironmentsDeleteEnvironment204Response | EnvironmentsDeleteEnvironmentDefaultResponse): response is EnvironmentsDeleteEnvironmentDefaultResponse;
1612
+ // @public
1613
+ export interface ScheduleOutput {
1614
+ frequency: string;
1615
+ readonly name: string;
1616
+ time: string;
1617
+ timeZone: string;
1618
+ type: string;
1619
+ }
1593
1620
 
1594
1621
  // @public (undocumented)
1595
- export function isUnexpected(response: EnvironmentsDeployEnvironmentAction200Response | EnvironmentsDeployEnvironmentAction202Response | EnvironmentsDeployEnvironmentActionDefaultResponse): response is EnvironmentsDeployEnvironmentActionDefaultResponse;
1622
+ export interface SkipAction {
1623
+ post(options?: SkipActionParameters): StreamableMethod<SkipAction204Response | SkipActionDefaultResponse>;
1624
+ }
1596
1625
 
1597
- // @public (undocumented)
1598
- export function isUnexpected(response: EnvironmentsCustomEnvironmentAction200Response | EnvironmentsCustomEnvironmentAction202Response | EnvironmentsCustomEnvironmentActionDefaultResponse): response is EnvironmentsCustomEnvironmentActionDefaultResponse;
1626
+ // @public
1627
+ export interface SkipAction204Response extends HttpResponse {
1628
+ // (undocumented)
1629
+ status: "204";
1630
+ }
1599
1631
 
1600
1632
  // @public (undocumented)
1601
- export function isUnexpected(response: EnvironmentsListCatalogItems200Response | EnvironmentsListCatalogItemsDefaultResponse): response is EnvironmentsListCatalogItemsDefaultResponse;
1633
+ export interface SkipActionDefaultHeaders {
1634
+ "x-ms-error-code"?: string;
1635
+ }
1602
1636
 
1603
1637
  // @public (undocumented)
1604
- export function isUnexpected(response: EnvironmentsGetCatalogItem200Response | EnvironmentsGetCatalogItemDefaultResponse): response is EnvironmentsGetCatalogItemDefaultResponse;
1638
+ export interface SkipActionDefaultResponse extends HttpResponse {
1639
+ // (undocumented)
1640
+ body: ErrorResponse;
1641
+ // (undocumented)
1642
+ headers: RawHttpHeaders & SkipActionDefaultHeaders;
1643
+ // (undocumented)
1644
+ status: string;
1645
+ }
1605
1646
 
1606
1647
  // @public (undocumented)
1607
- export function isUnexpected(response: EnvironmentsListCatalogItemVersions200Response | EnvironmentsListCatalogItemVersionsDefaultResponse): response is EnvironmentsListCatalogItemVersionsDefaultResponse;
1648
+ export type SkipActionParameters = RequestParameters;
1608
1649
 
1609
1650
  // @public (undocumented)
1610
- export function isUnexpected(response: EnvironmentsGetCatalogItemVersion200Response | EnvironmentsGetCatalogItemVersionDefaultResponse): response is EnvironmentsGetCatalogItemVersionDefaultResponse;
1651
+ export interface StartDevBox {
1652
+ post(options?: StartDevBoxParameters): StreamableMethod<StartDevBox202Response | StartDevBoxDefaultResponse>;
1653
+ }
1611
1654
 
1612
1655
  // @public (undocumented)
1613
- export function isUnexpected(response: EnvironmentsListEnvironmentTypes200Response | EnvironmentsListEnvironmentTypesDefaultResponse): response is EnvironmentsListEnvironmentTypesDefaultResponse;
1614
-
1615
- // @public
1616
- export interface OSDisk {
1617
- diskSizeGB?: number;
1656
+ export interface StartDevBox202Headers {
1657
+ "operation-location": string;
1618
1658
  }
1619
1659
 
1620
1660
  // @public
1621
- export interface OSDiskOutput {
1622
- diskSizeGB?: number;
1661
+ export interface StartDevBox202Response extends HttpResponse {
1662
+ // (undocumented)
1663
+ body: OperationStatusOutput;
1664
+ // (undocumented)
1665
+ headers: RawHttpHeaders & StartDevBox202Headers;
1666
+ // (undocumented)
1667
+ status: "202";
1623
1668
  }
1624
1669
 
1625
- // @public
1626
- export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1627
-
1628
- // @public
1629
- export type PaginateReturn<TResult> = TResult extends {
1630
- body: {
1631
- value?: infer TPage;
1632
- };
1633
- } ? GetArrayType<TPage> : Array<unknown>;
1634
-
1635
- // @public
1636
- export interface PagingOptions<TResponse> {
1637
- customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1670
+ // @public (undocumented)
1671
+ export interface StartDevBoxDefaultHeaders {
1672
+ "x-ms-error-code"?: string;
1638
1673
  }
1639
1674
 
1640
- // @public
1641
- export interface PoolListResultOutput {
1642
- nextLink?: string;
1643
- value: Array<PoolOutput>;
1675
+ // @public (undocumented)
1676
+ export interface StartDevBoxDefaultResponse extends HttpResponse {
1677
+ // (undocumented)
1678
+ body: ErrorResponse;
1679
+ // (undocumented)
1680
+ headers: RawHttpHeaders & StartDevBoxDefaultHeaders;
1681
+ // (undocumented)
1682
+ status: string;
1644
1683
  }
1645
1684
 
1646
1685
  // @public
1647
- export interface PoolOutput {
1648
- hardwareProfile?: HardwareProfileOutput;
1649
- hibernateSupport?: "Disabled" | "Enabled";
1650
- imageReference?: ImageReferenceOutput;
1651
- localAdministrator?: "Enabled" | "Disabled";
1652
- location?: string;
1653
- name?: string;
1654
- osType?: "Windows";
1655
- storageProfile?: StorageProfileOutput;
1686
+ export interface StartDevBoxLogicalResponse extends HttpResponse {
1687
+ // (undocumented)
1688
+ body: OperationStatusOutput;
1689
+ // (undocumented)
1690
+ status: "200";
1656
1691
  }
1657
1692
 
1658
- // @public
1659
- export interface ProjectListResultOutput {
1660
- nextLink?: string;
1661
- value: Array<ProjectOutput>;
1662
- }
1693
+ // @public (undocumented)
1694
+ export type StartDevBoxParameters = RequestParameters;
1663
1695
 
1664
- // @public
1665
- export interface ProjectOutput {
1666
- description?: string;
1667
- name?: string;
1696
+ // @public (undocumented)
1697
+ export interface StopDevBox {
1698
+ post(options?: StopDevBoxParameters): StreamableMethod<StopDevBox202Response | StopDevBoxDefaultResponse>;
1668
1699
  }
1669
1700
 
1670
- // @public
1671
- export interface ProvisioningError {
1672
- code?: string;
1673
- message?: string;
1701
+ // @public (undocumented)
1702
+ export interface StopDevBox202Headers {
1703
+ "operation-location": string;
1674
1704
  }
1675
1705
 
1676
1706
  // @public
1677
- export interface ProvisioningErrorOutput {
1678
- code?: string;
1679
- message?: string;
1707
+ export interface StopDevBox202Response extends HttpResponse {
1708
+ // (undocumented)
1709
+ body: OperationStatusOutput;
1710
+ // (undocumented)
1711
+ headers: RawHttpHeaders & StopDevBox202Headers;
1712
+ // (undocumented)
1713
+ status: "202";
1680
1714
  }
1681
1715
 
1682
- // @public
1683
- export interface RemoteConnectionOutput {
1684
- rdpConnectionUrl?: string;
1685
- webUrl?: string;
1716
+ // @public (undocumented)
1717
+ export interface StopDevBoxDefaultHeaders {
1718
+ "x-ms-error-code"?: string;
1686
1719
  }
1687
1720
 
1688
1721
  // @public (undocumented)
1689
- export interface Routes {
1690
- (path: "/projects"): DevCenterListProjects;
1691
- (path: "/projects/{projectName}", projectName: string): DevCenterGetProject;
1692
- (path: "/devboxes"): DevCenterListAllDevBoxes;
1693
- (path: "/users/{userId}/devboxes", userId: string): DevCenterListAllDevBoxesByUser;
1694
- (path: "/projects/{projectName}/pools", projectName: string): DevBoxesListPools;
1695
- (path: "/projects/{projectName}/pools/{poolName}", projectName: string, poolName: string): DevBoxesGetPool;
1696
- (path: "/projects/{projectName}/pools/{poolName}/schedules", projectName: string, poolName: string): DevBoxesListSchedulesByPool;
1697
- (path: "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}", projectName: string, poolName: string, scheduleName: string): DevBoxesGetScheduleByPool;
1698
- (path: "/projects/{projectName}/users/{userId}/devboxes", projectName: string, userId: string): DevBoxesListDevBoxesByUser;
1699
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}", projectName: string, userId: string, devBoxName: string): DevBoxesGetDevBoxByUser;
1700
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start", projectName: string, userId: string, devBoxName: string): DevBoxesStartDevBox;
1701
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): DevBoxesStopDevBox;
1702
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection", projectName: string, userId: string, devBoxName: string): DevBoxesGetRemoteConnection;
1703
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions", projectName: string, userId: string, devBoxName: string): DevBoxesListUpcomingActions;
1704
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}", projectName: string, userId: string, devBoxName: string, upcomingActionId: string): DevBoxesGetUpcomingAction;
1705
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}:skip", projectName: string, userId: string, devBoxName: string, upcomingActionId: string): DevBoxesSkipUpcomingAction;
1706
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}:delay", projectName: string, userId: string, devBoxName: string, upcomingActionId: string): DevBoxesDelayUpcomingAction;
1707
- (path: "/projects/{projectName}/environments", projectName: string): EnvironmentsListEnvironments;
1708
- (path: "/projects/{projectName}/users/{userId}/environments", projectName: string, userId: string): EnvironmentsListEnvironmentsByUser;
1709
- (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): EnvironmentsGetEnvironmentByUser;
1710
- (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}:deploy", projectName: string, userId: string, environmentName: string): EnvironmentsDeployEnvironmentAction;
1711
- (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}:custom", projectName: string, userId: string, environmentName: string): EnvironmentsCustomEnvironmentAction;
1712
- (path: "/projects/{projectName}/catalogItems", projectName: string): EnvironmentsListCatalogItems;
1713
- (path: "/projects/{projectName}/catalogItems/{catalogItemId}", projectName: string, catalogItemId: string): EnvironmentsGetCatalogItem;
1714
- (path: "/projects/{projectName}/catalogItems/{catalogItemId}/versions", projectName: string, catalogItemId: string): EnvironmentsListCatalogItemVersions;
1715
- (path: "/projects/{projectName}/catalogItems/{catalogItemId}/versions/{version}", projectName: string, catalogItemId: string, version: string): EnvironmentsGetCatalogItemVersion;
1716
- (path: "/projects/{projectName}/environmentTypes", projectName: string): EnvironmentsListEnvironmentTypes;
1722
+ export interface StopDevBoxDefaultResponse extends HttpResponse {
1723
+ // (undocumented)
1724
+ body: ErrorResponse;
1725
+ // (undocumented)
1726
+ headers: RawHttpHeaders & StopDevBoxDefaultHeaders;
1727
+ // (undocumented)
1728
+ status: string;
1717
1729
  }
1718
1730
 
1719
1731
  // @public
1720
- export interface ScheduledTask {
1721
- enabled?: "Enabled" | "Disabled";
1722
- startTime: Date | string;
1723
- type: "AutoExpire";
1732
+ export interface StopDevBoxLogicalResponse extends HttpResponse {
1733
+ // (undocumented)
1734
+ body: OperationStatusOutput;
1735
+ // (undocumented)
1736
+ status: "200";
1724
1737
  }
1725
1738
 
1726
- // @public
1727
- export interface ScheduledTaskOutput {
1728
- enabled?: "Enabled" | "Disabled";
1729
- startTime: string;
1730
- type: "AutoExpire";
1739
+ // @public (undocumented)
1740
+ export type StopDevBoxParameters = StopDevBoxQueryParam & RequestParameters;
1741
+
1742
+ // @public (undocumented)
1743
+ export interface StopDevBoxQueryParam {
1744
+ // (undocumented)
1745
+ queryParameters?: StopDevBoxQueryParamProperties;
1731
1746
  }
1732
1747
 
1733
- // @public
1734
- export interface ScheduleListResultOutput {
1735
- nextLink?: string;
1736
- value: Array<ScheduleOutput>;
1748
+ // @public (undocumented)
1749
+ export interface StopDevBoxQueryParamProperties {
1750
+ hibernate?: boolean;
1737
1751
  }
1738
1752
 
1739
1753
  // @public
1740
- export interface ScheduleOutput {
1741
- frequency?: "Daily";
1742
- name?: string;
1743
- time?: string;
1744
- timeZone?: string;
1745
- type?: "StopDevBox";
1754
+ export interface StopOnDisconnectConfigurationOutput {
1755
+ gracePeriodMinutes?: number;
1756
+ status: string;
1746
1757
  }
1747
1758
 
1748
1759
  // @public
@@ -1755,22 +1766,6 @@ export interface StorageProfileOutput {
1755
1766
  osDisk?: OSDiskOutput;
1756
1767
  }
1757
1768
 
1758
- // @public
1759
- export interface UpcomingActionOutput {
1760
- actionType?: "Stop";
1761
- id?: string;
1762
- originalScheduledTime?: string;
1763
- reason?: "Schedule";
1764
- scheduledTime?: string;
1765
- sourceId?: string;
1766
- }
1767
-
1768
- // @public
1769
- export interface UpcomingActionsListResultOutput {
1770
- nextLink?: string;
1771
- value: Array<UpcomingActionOutput>;
1772
- }
1773
-
1774
1769
  // (No @packageDocumentation comment for this package)
1775
1770
 
1776
1771
  ```