@azure-rest/developer-devcenter 1.0.1-alpha.20241218.1 → 1.0.1-alpha.20241219.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +83 -0
  2. package/LICENSE +1 -1
  3. package/dist/browser/azureDeveloperDevCenter.d.ts +6 -1
  4. package/dist/browser/azureDeveloperDevCenter.d.ts.map +1 -1
  5. package/dist/browser/azureDeveloperDevCenter.js +19 -5
  6. package/dist/browser/azureDeveloperDevCenter.js.map +1 -1
  7. package/dist/browser/models.d.ts +12 -8
  8. package/dist/browser/models.d.ts.map +1 -1
  9. package/dist/browser/models.js.map +1 -1
  10. package/dist/browser/outputModels.d.ts +176 -59
  11. package/dist/browser/outputModels.d.ts.map +1 -1
  12. package/dist/browser/outputModels.js.map +1 -1
  13. package/dist/browser/paginateHelper.d.ts +27 -2
  14. package/dist/browser/paginateHelper.d.ts.map +1 -1
  15. package/dist/browser/paginateHelper.js +98 -1
  16. package/dist/browser/paginateHelper.js.map +1 -1
  17. package/dist/browser/parameters.d.ts +2 -2
  18. package/dist/browser/parameters.d.ts.map +1 -1
  19. package/dist/browser/parameters.js.map +1 -1
  20. package/dist/commonjs/azureDeveloperDevCenter.d.ts +6 -1
  21. package/dist/commonjs/azureDeveloperDevCenter.d.ts.map +1 -1
  22. package/dist/commonjs/azureDeveloperDevCenter.js +19 -5
  23. package/dist/commonjs/azureDeveloperDevCenter.js.map +1 -1
  24. package/dist/commonjs/models.d.ts +12 -8
  25. package/dist/commonjs/models.d.ts.map +1 -1
  26. package/dist/commonjs/models.js.map +1 -1
  27. package/dist/commonjs/outputModels.d.ts +176 -59
  28. package/dist/commonjs/outputModels.d.ts.map +1 -1
  29. package/dist/commonjs/outputModels.js.map +1 -1
  30. package/dist/commonjs/paginateHelper.d.ts +27 -2
  31. package/dist/commonjs/paginateHelper.d.ts.map +1 -1
  32. package/dist/commonjs/paginateHelper.js +99 -2
  33. package/dist/commonjs/paginateHelper.js.map +1 -1
  34. package/dist/commonjs/parameters.d.ts +2 -2
  35. package/dist/commonjs/parameters.d.ts.map +1 -1
  36. package/dist/commonjs/parameters.js.map +1 -1
  37. package/dist/esm/azureDeveloperDevCenter.d.ts +6 -1
  38. package/dist/esm/azureDeveloperDevCenter.d.ts.map +1 -1
  39. package/dist/esm/azureDeveloperDevCenter.js +19 -5
  40. package/dist/esm/azureDeveloperDevCenter.js.map +1 -1
  41. package/dist/esm/models.d.ts +12 -8
  42. package/dist/esm/models.d.ts.map +1 -1
  43. package/dist/esm/models.js.map +1 -1
  44. package/dist/esm/outputModels.d.ts +176 -59
  45. package/dist/esm/outputModels.d.ts.map +1 -1
  46. package/dist/esm/outputModels.js.map +1 -1
  47. package/dist/esm/paginateHelper.d.ts +27 -2
  48. package/dist/esm/paginateHelper.d.ts.map +1 -1
  49. package/dist/esm/paginateHelper.js +98 -1
  50. package/dist/esm/paginateHelper.js.map +1 -1
  51. package/dist/esm/parameters.d.ts +2 -2
  52. package/dist/esm/parameters.d.ts.map +1 -1
  53. package/dist/esm/parameters.js.map +1 -1
  54. package/dist/react-native/azureDeveloperDevCenter.d.ts +6 -1
  55. package/dist/react-native/azureDeveloperDevCenter.d.ts.map +1 -1
  56. package/dist/react-native/azureDeveloperDevCenter.js +19 -5
  57. package/dist/react-native/azureDeveloperDevCenter.js.map +1 -1
  58. package/dist/react-native/models.d.ts +12 -8
  59. package/dist/react-native/models.d.ts.map +1 -1
  60. package/dist/react-native/models.js.map +1 -1
  61. package/dist/react-native/outputModels.d.ts +176 -59
  62. package/dist/react-native/outputModels.d.ts.map +1 -1
  63. package/dist/react-native/outputModels.js.map +1 -1
  64. package/dist/react-native/paginateHelper.d.ts +27 -2
  65. package/dist/react-native/paginateHelper.d.ts.map +1 -1
  66. package/dist/react-native/paginateHelper.js +98 -1
  67. package/dist/react-native/paginateHelper.js.map +1 -1
  68. package/dist/react-native/parameters.d.ts +2 -2
  69. package/dist/react-native/parameters.d.ts.map +1 -1
  70. package/dist/react-native/parameters.js.map +1 -1
  71. package/package.json +34 -40
  72. package/review/developer-devcenter.api.md +82 -37
@@ -1,5 +1,11 @@
1
- import type { Paged } from "@azure/core-paging";
2
1
  import type { ErrorModel } from "@azure-rest/core-client";
2
+ /** Paged collection of Project items */
3
+ export interface PagedProjectOutput {
4
+ /** The Project items on this page */
5
+ value: Array<ProjectOutput>;
6
+ /** The link to the next page of items */
7
+ nextLink?: string;
8
+ }
3
9
  /** Project details. */
4
10
  export interface ProjectOutput {
5
11
  /** Name of the project. */
@@ -18,13 +24,17 @@ export interface OperationStatusOutput {
18
24
  readonly id: string;
19
25
  /** The operation id name. */
20
26
  readonly name: string;
21
- /** Provisioning state of the resource. */
27
+ /**
28
+ * Provisioning state of the resource.
29
+ *
30
+ * Possible values: "NotStarted", "Running", "Succeeded", "Failed", "Canceled"
31
+ */
22
32
  status: OperationStateOutput;
23
33
  /** The id of the resource. */
24
34
  resourceId?: string;
25
- /** The start time of the operation. */
35
+ /** The start time of the operation, in RFC3339 format. */
26
36
  startTime?: string;
27
- /** The end time of the operation. */
37
+ /** The end time of the operation, in RFC3339 format. */
28
38
  endTime?: string;
29
39
  /** Percent of the operation that is complete. */
30
40
  percentComplete?: number;
@@ -33,17 +43,32 @@ export interface OperationStatusOutput {
33
43
  /** Operation Error message. */
34
44
  error?: ErrorModel;
35
45
  }
46
+ /** Paged collection of Pool items */
47
+ export interface PagedPoolOutput {
48
+ /** The Pool items on this page */
49
+ value: Array<PoolOutput>;
50
+ /** The link to the next page of items */
51
+ nextLink?: string;
52
+ }
36
53
  /** A pool of Dev Boxes. */
37
54
  export interface PoolOutput {
38
55
  /** Pool name. */
39
56
  readonly name: string;
40
57
  /** Azure region where Dev Boxes in the pool are located. */
41
58
  location: string;
42
- /** The operating system type of Dev Boxes in this pool. */
59
+ /**
60
+ * The operating system type of Dev Boxes in this pool.
61
+ *
62
+ * Possible values: "Windows"
63
+ */
43
64
  osType?: OsTypeOutput;
44
65
  /** Hardware settings for the Dev Boxes created in this pool. */
45
66
  hardwareProfile?: HardwareProfileOutput;
46
- /** Indicates whether hibernate is enabled/disabled or unknown. */
67
+ /**
68
+ * Indicates whether hibernate is enabled/disabled or unknown.
69
+ *
70
+ * Possible values: "Enabled", "Disabled", "OsUnsupported"
71
+ */
47
72
  hibernateSupport?: HibernateSupportOutput;
48
73
  /** Storage settings for Dev Box created in this pool. */
49
74
  storageProfile?: StorageProfileOutput;
@@ -52,6 +77,8 @@ export interface PoolOutput {
52
77
  /**
53
78
  * Indicates whether owners of Dev Boxes in this pool are local administrators on
54
79
  * the Dev Boxes.
80
+ *
81
+ * Possible values: "Enabled", "Disabled"
55
82
  */
56
83
  localAdministrator?: LocalAdminStatusOutput;
57
84
  /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */
@@ -59,12 +86,18 @@ export interface PoolOutput {
59
86
  /**
60
87
  * Overall health status of the Pool. Indicates whether or not the Pool is
61
88
  * available to create Dev Boxes.
89
+ *
90
+ * Possible values: "Unknown", "Pending", "Healthy", "Warning", "Unhealthy"
62
91
  */
63
92
  healthStatus: PoolHealthStatusOutput;
64
93
  }
65
94
  /** Hardware specifications for the Dev Box. */
66
95
  export interface HardwareProfileOutput {
67
- /** The name of the SKU. */
96
+ /**
97
+ * The name of the SKU.
98
+ *
99
+ * Possible values: "general_i_8c32gb256ssd_v2", "general_i_8c32gb512ssd_v2", "general_i_8c32gb1024ssd_v2", "general_i_8c32gb2048ssd_v2", "general_i_16c64gb256ssd_v2", "general_i_16c64gb512ssd_v2", "general_i_16c64gb1024ssd_v2", "general_i_16c64gb2048ssd_v2", "general_i_32c128gb512ssd_v2", "general_i_32c128gb1024ssd_v2", "general_i_32c128gb2048ssd_v2", "general_a_8c32gb256ssd_v2", "general_a_8c32gb512ssd_v2", "general_a_8c32gb1024ssd_v2", "general_a_8c32gb2048ssd_v2", "general_a_16c64gb256ssd_v2", "general_a_16c64gb512ssd_v2", "general_a_16c64gb1024ssd_v2", "general_a_16c64gb2048ssd_v2", "general_a_32c128gb512ssd_v2", "general_a_32c128gb1024ssd_v2", "general_a_32c128gb2048ssd_v2"
100
+ */
68
101
  readonly skuName?: SkuNameOutput;
69
102
  /** The number of vCPUs available for the Dev Box. */
70
103
  readonly vCPUs?: number;
@@ -91,7 +124,7 @@ export interface ImageReferenceOutput {
91
124
  readonly operatingSystem?: string;
92
125
  /** The operating system build number of the image. */
93
126
  readonly osBuildNumber?: string;
94
- /** The datetime that the backing image version was published. */
127
+ /** The datetime that the backing image version was published, in RFC3339 format. */
95
128
  readonly publishedDate?: string;
96
129
  }
97
130
  /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */
@@ -99,6 +132,8 @@ export interface StopOnDisconnectConfigurationOutput {
99
132
  /**
100
133
  * Indicates whether the feature to stop the devbox on disconnect once the grace
101
134
  * period has lapsed is enabled.
135
+ *
136
+ * Possible values: "Enabled", "Disabled"
102
137
  */
103
138
  status: StopOnDisconnectEnableStatusOutput;
104
139
  /**
@@ -107,6 +142,13 @@ export interface StopOnDisconnectConfigurationOutput {
107
142
  */
108
143
  gracePeriodMinutes?: number;
109
144
  }
145
+ /** Paged collection of DevBox items */
146
+ export interface PagedDevBoxOutput {
147
+ /** The DevBox items on this page */
148
+ value: Array<DevBoxOutput>;
149
+ /** The link to the next page of items */
150
+ nextLink?: string;
151
+ }
110
152
  /** A Dev Box. */
111
153
  export interface DevBoxOutput {
112
154
  /** Display name for the Dev Box. */
@@ -115,16 +157,28 @@ export interface DevBoxOutput {
115
157
  readonly projectName?: string;
116
158
  /** The name of the Dev Box pool this machine belongs to. */
117
159
  poolName: string;
118
- /** Indicates whether hibernate is enabled/disabled or unknown. */
160
+ /**
161
+ * Indicates whether hibernate is enabled/disabled or unknown.
162
+ *
163
+ * Possible values: "Enabled", "Disabled", "OsUnsupported"
164
+ */
119
165
  readonly hibernateSupport?: HibernateSupportOutput;
120
- /** The current provisioning state of the Dev Box. */
166
+ /**
167
+ * The current provisioning state of the Dev Box.
168
+ *
169
+ * Possible values: "Succeeded", "Failed", "Canceled", "Creating", "Deleting", "Updating", "Starting", "Stopping", "Provisioning", "ProvisionedWithWarning", "InGracePeriod", "NotProvisioned"
170
+ */
121
171
  readonly provisioningState?: DevBoxProvisioningStateOutput;
122
172
  /**
123
173
  * The current action state of the Dev Box. This is state is based on previous
124
174
  * action performed by user.
125
175
  */
126
176
  readonly actionState?: string;
127
- /** The current power state of the Dev Box. */
177
+ /**
178
+ * The current power state of the Dev Box.
179
+ *
180
+ * Possible values: "Unknown", "Running", "Deallocated", "PoweredOff", "Hibernated"
181
+ */
128
182
  readonly powerState?: PowerStateOutput;
129
183
  /**
130
184
  * A unique identifier for the Dev Box. This is a GUID-formatted string (e.g.
@@ -138,7 +192,11 @@ export interface DevBoxOutput {
138
192
  * Virtual Network it is attached to.
139
193
  */
140
194
  readonly location?: string;
141
- /** The operating system type of this Dev Box. */
195
+ /**
196
+ * The operating system type of this Dev Box.
197
+ *
198
+ * Possible values: "Windows"
199
+ */
142
200
  readonly osType?: OsTypeOutput;
143
201
  /** The AAD object id of the user this Dev Box is assigned to. */
144
202
  readonly user?: string;
@@ -148,18 +206,37 @@ export interface DevBoxOutput {
148
206
  readonly storageProfile?: StorageProfileOutput;
149
207
  /** Information about the image used for this Dev Box. */
150
208
  readonly imageReference?: ImageReferenceOutput;
151
- /** Creation time of this Dev Box. */
209
+ /** Creation time of this Dev Box, in RFC3339 format. */
152
210
  readonly createdTime?: string;
153
- /** Indicates whether the owner of the Dev Box is a local administrator. */
211
+ /**
212
+ * Indicates whether the owner of the Dev Box is a local administrator.
213
+ *
214
+ * Possible values: "Enabled", "Disabled"
215
+ */
154
216
  localAdministrator?: LocalAdminStatusOutput;
155
217
  }
218
+ /** Paged collection of Schedule items */
219
+ export interface PagedScheduleOutput {
220
+ /** The Schedule items on this page */
221
+ value: Array<ScheduleOutput>;
222
+ /** The link to the next page of items */
223
+ nextLink?: string;
224
+ }
156
225
  /** A Schedule to execute action. */
157
226
  export interface ScheduleOutput {
158
227
  /** Display name for the Schedule. */
159
228
  readonly name: string;
160
- /** Supported type this scheduled task represents. */
229
+ /**
230
+ * Supported type this scheduled task represents.
231
+ *
232
+ * Possible values: "StopDevBox"
233
+ */
161
234
  type: ScheduledTypeOutput;
162
- /** The frequency of this scheduled task. */
235
+ /**
236
+ * The frequency of this scheduled task.
237
+ *
238
+ * Possible values: "Daily"
239
+ */
163
240
  frequency: ScheduledFrequencyOutput;
164
241
  /** The target time to trigger the action. The format is HH:MM. */
165
242
  time: string;
@@ -173,35 +250,64 @@ export interface RemoteConnectionOutput {
173
250
  /** Link to open a Remote Desktop session. */
174
251
  rdpConnectionUrl?: string;
175
252
  }
253
+ /** Paged collection of DevBoxAction items */
254
+ export interface PagedDevBoxActionOutput {
255
+ /** The DevBoxAction items on this page */
256
+ value: Array<DevBoxActionOutput>;
257
+ /** The link to the next page of items */
258
+ nextLink?: string;
259
+ }
176
260
  /** An action which will take place on a Dev Box. */
177
261
  export interface DevBoxActionOutput {
178
262
  /** The name of the action. */
179
263
  readonly name: string;
180
- /** The action that will be taken. */
264
+ /**
265
+ * The action that will be taken.
266
+ *
267
+ * Possible values: "Stop"
268
+ */
181
269
  actionType: DevBoxActionTypeOutput;
182
270
  /** The id of the resource which triggered this action. */
183
271
  sourceId: string;
184
- /** The earliest time that the action could occur (UTC). */
272
+ /** The earliest time that the action could occur (UTC), in RFC3339 format. */
185
273
  suspendedUntil?: string;
186
274
  /** Details about the next run of this action. */
187
275
  next?: DevBoxNextActionOutput;
188
276
  }
189
277
  /** Details about the next run of an action. */
190
278
  export interface DevBoxNextActionOutput {
191
- /** The time the action will be triggered (UTC). */
279
+ /** The time the action will be triggered (UTC), in RFC3339 format. */
192
280
  scheduledTime: string;
193
281
  }
282
+ /** Paged collection of DevBoxActionDelayResult items */
283
+ export interface PagedDevBoxActionDelayResultOutput {
284
+ /** The DevBoxActionDelayResult items on this page */
285
+ value: Array<DevBoxActionDelayResultOutput>;
286
+ /** The link to the next page of items */
287
+ nextLink?: string;
288
+ }
194
289
  /** The action delay result. */
195
290
  export interface DevBoxActionDelayResultOutput {
196
291
  /** The name of the action. */
197
292
  name: string;
198
- /** The result of the delay operation on this action. */
293
+ /**
294
+ * The result of the delay operation on this action.
295
+ *
296
+ * Possible values: "Succeeded", "Failed"
297
+ */
199
298
  result: DevBoxActionDelayResultStatusOutput;
200
299
  /** The delayed action. */
201
300
  action?: DevBoxActionOutput;
202
301
  /** Information about the error that occurred. Only populated on error. */
203
302
  error?: ErrorModel;
204
303
  }
304
+ /** Paged collection of Environment items */
305
+ export interface PagedEnvironmentOutput {
306
+ /** The Environment items on this page */
307
+ value: Array<EnvironmentOutput>;
308
+ /** The link to the next page of items */
309
+ nextLink?: string;
310
+ }
205
311
  /** Properties of an environment. */
206
312
  export interface EnvironmentOutput {
207
313
  /** Parameters object for the environment. */
@@ -212,7 +318,11 @@ export interface EnvironmentOutput {
212
318
  environmentType: string;
213
319
  /** The AAD object id of the owner of this Environment. */
214
320
  readonly user?: string;
215
- /** The provisioning state of the environment. */
321
+ /**
322
+ * The provisioning state of the environment.
323
+ *
324
+ * Possible values: "Succeeded", "Failed", "Canceled", "Creating", "Accepted", "Deleting", "Updating", "Preparing", "Running", "Syncing", "MovingResources", "TransientFailure", "StorageProvisioningFailed"
325
+ */
216
326
  readonly provisioningState?: EnvironmentProvisioningStateOutput;
217
327
  /** The identifier of the resource group containing the environment's resources. */
218
328
  readonly resourceGroupId?: string;
@@ -223,11 +333,25 @@ export interface EnvironmentOutput {
223
333
  /** Provisioning error details. Populated only for error states. */
224
334
  readonly error?: ErrorModel;
225
335
  }
336
+ /** Paged collection of Catalog items */
337
+ export interface PagedCatalogOutput {
338
+ /** The Catalog items on this page */
339
+ value: Array<CatalogOutput>;
340
+ /** The link to the next page of items */
341
+ nextLink?: string;
342
+ }
226
343
  /** A catalog. */
227
344
  export interface CatalogOutput {
228
345
  /** Name of the catalog. */
229
346
  readonly name: string;
230
347
  }
348
+ /** Paged collection of EnvironmentDefinition items */
349
+ export interface PagedEnvironmentDefinitionOutput {
350
+ /** The EnvironmentDefinition items on this page */
351
+ value: Array<EnvironmentDefinitionOutput>;
352
+ /** The link to the next page of items */
353
+ nextLink?: string;
354
+ }
231
355
  /** An environment definition. */
232
356
  export interface EnvironmentDefinitionOutput {
233
357
  /** The ID of the environment definition. */
@@ -258,6 +382,8 @@ export interface EnvironmentDefinitionParameterOutput {
258
382
  /**
259
383
  * A string of one of the basic JSON types (number, integer, array, object,
260
384
  * boolean, string).
385
+ *
386
+ * Possible values: "array", "boolean", "integer", "number", "object", "string"
261
387
  */
262
388
  type: ParameterTypeOutput;
263
389
  /**
@@ -270,6 +396,13 @@ export interface EnvironmentDefinitionParameterOutput {
270
396
  /** An array of allowed values. */
271
397
  allowed?: string[];
272
398
  }
399
+ /** Paged collection of EnvironmentType items */
400
+ export interface PagedEnvironmentTypeOutput {
401
+ /** The EnvironmentType items on this page */
402
+ value: Array<EnvironmentTypeOutput>;
403
+ /** The link to the next page of items */
404
+ nextLink?: string;
405
+ }
273
406
  /** Properties of an environment type. */
274
407
  export interface EnvironmentTypeOutput {
275
408
  /** Name of the environment type. */
@@ -280,59 +413,43 @@ export interface EnvironmentTypeOutput {
280
413
  * or management group.
281
414
  */
282
415
  deploymentTargetId: string;
283
- /** Indicates whether this environment type is enabled for use in this project. */
416
+ /**
417
+ * Indicates whether this environment type is enabled for use in this project.
418
+ *
419
+ * Possible values: "Enabled", "Disabled"
420
+ */
284
421
  status: EnvironmentTypeEnableStatusOutput;
285
422
  }
286
- /** Paged collection of Project items */
287
- export type PagedProjectOutput = Paged<ProjectOutput>;
288
- /** Enum describing allowed operation states. */
289
- export type OperationStateOutput = "NotStarted" | "Running" | "Succeeded" | "Failed" | "Canceled";
290
- /** Paged collection of Pool items */
291
- export type PagedPoolOutput = Paged<PoolOutput>;
423
+ /** Alias for OperationStateOutput */
424
+ export type OperationStateOutput = string;
292
425
  /** Alias for OsTypeOutput */
293
- export type OsTypeOutput = "Windows" | string;
426
+ export type OsTypeOutput = string;
294
427
  /** Alias for SkuNameOutput */
295
- export type SkuNameOutput = "general_i_8c32gb256ssd_v2" | "general_i_8c32gb512ssd_v2" | "general_i_8c32gb1024ssd_v2" | "general_i_8c32gb2048ssd_v2" | "general_i_16c64gb256ssd_v2" | "general_i_16c64gb512ssd_v2" | "general_i_16c64gb1024ssd_v2" | "general_i_16c64gb2048ssd_v2" | "general_i_32c128gb512ssd_v2" | "general_i_32c128gb1024ssd_v2" | "general_i_32c128gb2048ssd_v2" | "general_a_8c32gb256ssd_v2" | "general_a_8c32gb512ssd_v2" | "general_a_8c32gb1024ssd_v2" | "general_a_8c32gb2048ssd_v2" | "general_a_16c64gb256ssd_v2" | "general_a_16c64gb512ssd_v2" | "general_a_16c64gb1024ssd_v2" | "general_a_16c64gb2048ssd_v2" | "general_a_32c128gb512ssd_v2" | "general_a_32c128gb1024ssd_v2" | "general_a_32c128gb2048ssd_v2" | string;
428
+ export type SkuNameOutput = string;
296
429
  /** Alias for HibernateSupportOutput */
297
- export type HibernateSupportOutput = "Enabled" | "Disabled" | "OsUnsupported" | string;
430
+ export type HibernateSupportOutput = string;
298
431
  /** Alias for LocalAdminStatusOutput */
299
- export type LocalAdminStatusOutput = "Enabled" | "Disabled" | string;
432
+ export type LocalAdminStatusOutput = string;
300
433
  /** Alias for StopOnDisconnectEnableStatusOutput */
301
- export type StopOnDisconnectEnableStatusOutput = "Enabled" | "Disabled" | string;
434
+ export type StopOnDisconnectEnableStatusOutput = string;
302
435
  /** Alias for PoolHealthStatusOutput */
303
- export type PoolHealthStatusOutput = "Unknown" | "Pending" | "Healthy" | "Warning" | "Unhealthy" | string;
304
- /** Paged collection of DevBox items */
305
- export type PagedDevBoxOutput = Paged<DevBoxOutput>;
436
+ export type PoolHealthStatusOutput = string;
306
437
  /** Alias for DevBoxProvisioningStateOutput */
307
- export type DevBoxProvisioningStateOutput = "Succeeded" | "Failed" | "Canceled" | "Creating" | "Deleting" | "Updating" | "Starting" | "Stopping" | "Provisioning" | "ProvisionedWithWarning" | "InGracePeriod" | "NotProvisioned" | string;
438
+ export type DevBoxProvisioningStateOutput = string;
308
439
  /** Alias for PowerStateOutput */
309
- export type PowerStateOutput = "Unknown" | "Running" | "Deallocated" | "PoweredOff" | "Hibernated" | string;
310
- /** Paged collection of Schedule items */
311
- export type PagedScheduleOutput = Paged<ScheduleOutput>;
440
+ export type PowerStateOutput = string;
312
441
  /** Alias for ScheduledTypeOutput */
313
- export type ScheduledTypeOutput = "StopDevBox" | string;
442
+ export type ScheduledTypeOutput = string;
314
443
  /** Alias for ScheduledFrequencyOutput */
315
- export type ScheduledFrequencyOutput = "Daily" | string;
316
- /** Paged collection of DevBoxAction items */
317
- export type PagedDevBoxActionOutput = Paged<DevBoxActionOutput>;
444
+ export type ScheduledFrequencyOutput = string;
318
445
  /** Alias for DevBoxActionTypeOutput */
319
- export type DevBoxActionTypeOutput = "Stop" | string;
320
- /** Paged collection of DevBoxActionDelayResult items */
321
- export type PagedDevBoxActionDelayResultOutput = Paged<DevBoxActionDelayResultOutput>;
446
+ export type DevBoxActionTypeOutput = string;
322
447
  /** Alias for DevBoxActionDelayResultStatusOutput */
323
- export type DevBoxActionDelayResultStatusOutput = "Succeeded" | "Failed" | string;
324
- /** Paged collection of Environment items */
325
- export type PagedEnvironmentOutput = Paged<EnvironmentOutput>;
448
+ export type DevBoxActionDelayResultStatusOutput = string;
326
449
  /** Alias for EnvironmentProvisioningStateOutput */
327
- export type EnvironmentProvisioningStateOutput = "Succeeded" | "Failed" | "Canceled" | "Creating" | "Accepted" | "Deleting" | "Updating" | "Preparing" | "Running" | "Syncing" | "MovingResources" | "TransientFailure" | "StorageProvisioningFailed" | string;
328
- /** Paged collection of Catalog items */
329
- export type PagedCatalogOutput = Paged<CatalogOutput>;
330
- /** Paged collection of EnvironmentDefinition items */
331
- export type PagedEnvironmentDefinitionOutput = Paged<EnvironmentDefinitionOutput>;
450
+ export type EnvironmentProvisioningStateOutput = string;
332
451
  /** Alias for ParameterTypeOutput */
333
- export type ParameterTypeOutput = "array" | "boolean" | "integer" | "number" | "object" | "string" | string;
334
- /** Paged collection of EnvironmentType items */
335
- export type PagedEnvironmentTypeOutput = Paged<EnvironmentTypeOutput>;
452
+ export type ParameterTypeOutput = string;
336
453
  /** Alias for EnvironmentTypeEnableStatusOutput */
337
- export type EnvironmentTypeEnableStatusOutput = "Enabled" | "Disabled" | string;
454
+ export type EnvironmentTypeEnableStatusOutput = string;
338
455
  //# sourceMappingURL=outputModels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,uBAAuB;AACvB,MAAM,WAAW,aAAa;IAC5B,2BAA2B;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,gDAAgD;AAChD,MAAM,WAAW,qBAAqB;IACpC,mDAAmD;IACnD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,6BAA6B;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,0CAA0C;IAC1C,MAAM,EAAE,oBAAoB,CAAC;IAC7B,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iDAAiD;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,+BA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GAAG,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { Paged } from \"@azure/core-paging\";\nimport type { ErrorModel } from \"@azure-rest/core-client\";\n\n/** Project details. */\nexport interface ProjectOutput {\n /** Name of the project. */\n readonly name: string;\n /** Description of the project. */\n description?: string;\n /**\n * When specified, indicates the maximum number of Dev Boxes a single user can\n * create across all pools in the project.\n */\n maxDevBoxesPerUser?: number;\n}\n\n/** The current status of an async operation. */\nexport interface OperationStatusOutput {\n /** Fully qualified ID for the operation status. */\n readonly id: string;\n /** The operation id name. */\n readonly name: string;\n /** Provisioning state of the resource. */\n status: OperationStateOutput;\n /** The id of the resource. */\n resourceId?: string;\n /** The start time of the operation. */\n startTime?: string;\n /** The end time of the operation. */\n endTime?: string;\n /** Percent of the operation that is complete. */\n percentComplete?: number;\n /** Custom operation properties, populated only for a successful operation. */\n properties?: any;\n /** Operation Error message. */\n error?: ErrorModel;\n}\n\n/** A pool of Dev Boxes. */\nexport interface PoolOutput {\n /** Pool name. */\n readonly name: string;\n /** Azure region where Dev Boxes in the pool are located. */\n location: string;\n /** The operating system type of Dev Boxes in this pool. */\n osType?: OsTypeOutput;\n /** Hardware settings for the Dev Boxes created in this pool. */\n hardwareProfile?: HardwareProfileOutput;\n /** Indicates whether hibernate is enabled/disabled or unknown. */\n hibernateSupport?: HibernateSupportOutput;\n /** Storage settings for Dev Box created in this pool. */\n storageProfile?: StorageProfileOutput;\n /** Image settings for Dev Boxes create in this pool. */\n imageReference?: ImageReferenceOutput;\n /**\n * Indicates whether owners of Dev Boxes in this pool are local administrators on\n * the Dev Boxes.\n */\n localAdministrator?: LocalAdminStatusOutput;\n /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */\n stopOnDisconnect?: StopOnDisconnectConfigurationOutput;\n /**\n * Overall health status of the Pool. Indicates whether or not the Pool is\n * available to create Dev Boxes.\n */\n healthStatus: PoolHealthStatusOutput;\n}\n\n/** Hardware specifications for the Dev Box. */\nexport interface HardwareProfileOutput {\n /** The name of the SKU. */\n readonly skuName?: SkuNameOutput;\n /** The number of vCPUs available for the Dev Box. */\n readonly vCPUs?: number;\n /** The amount of memory available for the Dev Box. */\n readonly memoryGB?: number;\n}\n\n/** Storage settings for the Dev Box's disks. */\nexport interface StorageProfileOutput {\n /** Settings for the operating system disk. */\n osDisk?: OsDiskOutput;\n}\n\n/** Settings for the operating system disk. */\nexport interface OsDiskOutput {\n /** The size of the OS Disk in gigabytes. */\n readonly diskSizeGB?: number;\n}\n\n/** Specifies information about the image used. */\nexport interface ImageReferenceOutput {\n /** The name of the image used. */\n readonly name?: string;\n /** The version of the image. */\n readonly version?: string;\n /** The operating system of the image. */\n readonly operatingSystem?: string;\n /** The operating system build number of the image. */\n readonly osBuildNumber?: string;\n /** The datetime that the backing image version was published. */\n readonly publishedDate?: string;\n}\n\n/** Stop on disconnect configuration settings for Dev Boxes created in this pool. */\nexport interface StopOnDisconnectConfigurationOutput {\n /**\n * Indicates whether the feature to stop the devbox on disconnect once the grace\n * period has lapsed is enabled.\n */\n status: StopOnDisconnectEnableStatusOutput;\n /**\n * The specified time in minutes to wait before stopping a Dev Box once disconnect\n * is detected.\n */\n gracePeriodMinutes?: number;\n}\n\n/** A Dev Box. */\nexport interface DevBoxOutput {\n /** Display name for the Dev Box. */\n readonly name: string;\n /** Name of the project this Dev Box belongs to. */\n readonly projectName?: string;\n /** The name of the Dev Box pool this machine belongs to. */\n poolName: string;\n /** Indicates whether hibernate is enabled/disabled or unknown. */\n readonly hibernateSupport?: HibernateSupportOutput;\n /** The current provisioning state of the Dev Box. */\n readonly provisioningState?: DevBoxProvisioningStateOutput;\n /**\n * The current action state of the Dev Box. This is state is based on previous\n * action performed by user.\n */\n readonly actionState?: string;\n /** The current power state of the Dev Box. */\n readonly powerState?: PowerStateOutput;\n /**\n * A unique identifier for the Dev Box. This is a GUID-formatted string (e.g.\n * 00000000-0000-0000-0000-000000000000).\n */\n readonly uniqueId?: string;\n /** Provisioning or action error details. Populated only for error states. */\n readonly error?: ErrorModel;\n /**\n * Azure region where this Dev Box is located. This will be the same region as the\n * Virtual Network it is attached to.\n */\n readonly location?: string;\n /** The operating system type of this Dev Box. */\n readonly osType?: OsTypeOutput;\n /** The AAD object id of the user this Dev Box is assigned to. */\n readonly user?: string;\n /** Information about the Dev Box's hardware resources. */\n readonly hardwareProfile?: HardwareProfileOutput;\n /** Storage settings for this Dev Box. */\n readonly storageProfile?: StorageProfileOutput;\n /** Information about the image used for this Dev Box. */\n readonly imageReference?: ImageReferenceOutput;\n /** Creation time of this Dev Box. */\n readonly createdTime?: string;\n /** Indicates whether the owner of the Dev Box is a local administrator. */\n localAdministrator?: LocalAdminStatusOutput;\n}\n\n/** A Schedule to execute action. */\nexport interface ScheduleOutput {\n /** Display name for the Schedule. */\n readonly name: string;\n /** Supported type this scheduled task represents. */\n type: ScheduledTypeOutput;\n /** The frequency of this scheduled task. */\n frequency: ScheduledFrequencyOutput;\n /** The target time to trigger the action. The format is HH:MM. */\n time: string;\n /** The IANA timezone id at which the schedule should execute. */\n timeZone: string;\n}\n\n/** Provides remote connection information for a Dev Box. */\nexport interface RemoteConnectionOutput {\n /** URL to open a browser based RDP session. */\n webUrl?: string;\n /** Link to open a Remote Desktop session. */\n rdpConnectionUrl?: string;\n}\n\n/** An action which will take place on a Dev Box. */\nexport interface DevBoxActionOutput {\n /** The name of the action. */\n readonly name: string;\n /** The action that will be taken. */\n actionType: DevBoxActionTypeOutput;\n /** The id of the resource which triggered this action. */\n sourceId: string;\n /** The earliest time that the action could occur (UTC). */\n suspendedUntil?: string;\n /** Details about the next run of this action. */\n next?: DevBoxNextActionOutput;\n}\n\n/** Details about the next run of an action. */\nexport interface DevBoxNextActionOutput {\n /** The time the action will be triggered (UTC). */\n scheduledTime: string;\n}\n\n/** The action delay result. */\nexport interface DevBoxActionDelayResultOutput {\n /** The name of the action. */\n name: string;\n /** The result of the delay operation on this action. */\n result: DevBoxActionDelayResultStatusOutput;\n /** The delayed action. */\n action?: DevBoxActionOutput;\n /** Information about the error that occurred. Only populated on error. */\n error?: ErrorModel;\n}\n\n/** Properties of an environment. */\nexport interface EnvironmentOutput {\n /** Parameters object for the environment. */\n parameters?: Record<string, any>;\n /** Environment name. */\n readonly name: string;\n /** Environment type. */\n environmentType: string;\n /** The AAD object id of the owner of this Environment. */\n readonly user?: string;\n /** The provisioning state of the environment. */\n readonly provisioningState?: EnvironmentProvisioningStateOutput;\n /** The identifier of the resource group containing the environment's resources. */\n readonly resourceGroupId?: string;\n /** Name of the catalog. */\n catalogName: string;\n /** Name of the environment definition. */\n environmentDefinitionName: string;\n /** Provisioning error details. Populated only for error states. */\n readonly error?: ErrorModel;\n}\n\n/** A catalog. */\nexport interface CatalogOutput {\n /** Name of the catalog. */\n readonly name: string;\n}\n\n/** An environment definition. */\nexport interface EnvironmentDefinitionOutput {\n /** The ID of the environment definition. */\n id: string;\n /** Name of the environment definition. */\n readonly name: string;\n /** Name of the catalog. */\n catalogName: string;\n /** A short description of the environment definition. */\n description?: string;\n /** Input parameters passed to an environment. */\n parameters?: Array<EnvironmentDefinitionParameterOutput>;\n /** JSON schema defining the parameters object passed to an environment. */\n parametersSchema?: string;\n /** Path to the Environment Definition entrypoint file. */\n templatePath?: string;\n}\n\n/** Properties of an Environment Definition parameter */\nexport interface EnvironmentDefinitionParameterOutput {\n /** Unique ID of the parameter. */\n id: string;\n /** Display name of the parameter. */\n name?: string;\n /** Description of the parameter. */\n description?: string;\n /** Default value of the parameter. */\n default?: string;\n /**\n * A string of one of the basic JSON types (number, integer, array, object,\n * boolean, string).\n */\n type: ParameterTypeOutput;\n /**\n * Whether or not this parameter is read-only. If true, default should have a\n * value.\n */\n readOnly?: boolean;\n /** Whether or not this parameter is required. */\n required: boolean;\n /** An array of allowed values. */\n allowed?: string[];\n}\n\n/** Properties of an environment type. */\nexport interface EnvironmentTypeOutput {\n /** Name of the environment type. */\n readonly name: string;\n /**\n * Id of a subscription or management group that the environment type will be\n * mapped to. The environment's resources will be deployed into this subscription\n * or management group.\n */\n deploymentTargetId: string;\n /** Indicates whether this environment type is enabled for use in this project. */\n status: EnvironmentTypeEnableStatusOutput;\n}\n\n/** Paged collection of Project items */\nexport type PagedProjectOutput = Paged<ProjectOutput>;\n/** Enum describing allowed operation states. */\nexport type OperationStateOutput = \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\" | \"Canceled\";\n/** Paged collection of Pool items */\nexport type PagedPoolOutput = Paged<PoolOutput>;\n/** Alias for OsTypeOutput */\nexport type OsTypeOutput = \"Windows\" | string;\n/** Alias for SkuNameOutput */\nexport type SkuNameOutput =\n | \"general_i_8c32gb256ssd_v2\"\n | \"general_i_8c32gb512ssd_v2\"\n | \"general_i_8c32gb1024ssd_v2\"\n | \"general_i_8c32gb2048ssd_v2\"\n | \"general_i_16c64gb256ssd_v2\"\n | \"general_i_16c64gb512ssd_v2\"\n | \"general_i_16c64gb1024ssd_v2\"\n | \"general_i_16c64gb2048ssd_v2\"\n | \"general_i_32c128gb512ssd_v2\"\n | \"general_i_32c128gb1024ssd_v2\"\n | \"general_i_32c128gb2048ssd_v2\"\n | \"general_a_8c32gb256ssd_v2\"\n | \"general_a_8c32gb512ssd_v2\"\n | \"general_a_8c32gb1024ssd_v2\"\n | \"general_a_8c32gb2048ssd_v2\"\n | \"general_a_16c64gb256ssd_v2\"\n | \"general_a_16c64gb512ssd_v2\"\n | \"general_a_16c64gb1024ssd_v2\"\n | \"general_a_16c64gb2048ssd_v2\"\n | \"general_a_32c128gb512ssd_v2\"\n | \"general_a_32c128gb1024ssd_v2\"\n | \"general_a_32c128gb2048ssd_v2\"\n | string;\n/** Alias for HibernateSupportOutput */\nexport type HibernateSupportOutput = \"Enabled\" | \"Disabled\" | \"OsUnsupported\" | string;\n/** Alias for LocalAdminStatusOutput */\nexport type LocalAdminStatusOutput = \"Enabled\" | \"Disabled\" | string;\n/** Alias for StopOnDisconnectEnableStatusOutput */\nexport type StopOnDisconnectEnableStatusOutput = \"Enabled\" | \"Disabled\" | string;\n/** Alias for PoolHealthStatusOutput */\nexport type PoolHealthStatusOutput =\n | \"Unknown\"\n | \"Pending\"\n | \"Healthy\"\n | \"Warning\"\n | \"Unhealthy\"\n | string;\n/** Paged collection of DevBox items */\nexport type PagedDevBoxOutput = Paged<DevBoxOutput>;\n/** Alias for DevBoxProvisioningStateOutput */\nexport type DevBoxProvisioningStateOutput =\n | \"Succeeded\"\n | \"Failed\"\n | \"Canceled\"\n | \"Creating\"\n | \"Deleting\"\n | \"Updating\"\n | \"Starting\"\n | \"Stopping\"\n | \"Provisioning\"\n | \"ProvisionedWithWarning\"\n | \"InGracePeriod\"\n | \"NotProvisioned\"\n | string;\n/** Alias for PowerStateOutput */\nexport type PowerStateOutput =\n | \"Unknown\"\n | \"Running\"\n | \"Deallocated\"\n | \"PoweredOff\"\n | \"Hibernated\"\n | string;\n/** Paged collection of Schedule items */\nexport type PagedScheduleOutput = Paged<ScheduleOutput>;\n/** Alias for ScheduledTypeOutput */\nexport type ScheduledTypeOutput = \"StopDevBox\" | string;\n/** Alias for ScheduledFrequencyOutput */\nexport type ScheduledFrequencyOutput = \"Daily\" | string;\n/** Paged collection of DevBoxAction items */\nexport type PagedDevBoxActionOutput = Paged<DevBoxActionOutput>;\n/** Alias for DevBoxActionTypeOutput */\nexport type DevBoxActionTypeOutput = \"Stop\" | string;\n/** Paged collection of DevBoxActionDelayResult items */\nexport type PagedDevBoxActionDelayResultOutput = Paged<DevBoxActionDelayResultOutput>;\n/** Alias for DevBoxActionDelayResultStatusOutput */\nexport type DevBoxActionDelayResultStatusOutput = \"Succeeded\" | \"Failed\" | string;\n/** Paged collection of Environment items */\nexport type PagedEnvironmentOutput = Paged<EnvironmentOutput>;\n/** Alias for EnvironmentProvisioningStateOutput */\nexport type EnvironmentProvisioningStateOutput =\n | \"Succeeded\"\n | \"Failed\"\n | \"Canceled\"\n | \"Creating\"\n | \"Accepted\"\n | \"Deleting\"\n | \"Updating\"\n | \"Preparing\"\n | \"Running\"\n | \"Syncing\"\n | \"MovingResources\"\n | \"TransientFailure\"\n | \"StorageProvisioningFailed\"\n | string;\n/** Paged collection of Catalog items */\nexport type PagedCatalogOutput = Paged<CatalogOutput>;\n/** Paged collection of EnvironmentDefinition items */\nexport type PagedEnvironmentDefinitionOutput = Paged<EnvironmentDefinitionOutput>;\n/** Alias for ParameterTypeOutput */\nexport type ParameterTypeOutput =\n | \"array\"\n | \"boolean\"\n | \"integer\"\n | \"number\"\n | \"object\"\n | \"string\"\n | string;\n/** Paged collection of EnvironmentType items */\nexport type PagedEnvironmentTypeOutput = Paged<EnvironmentTypeOutput>;\n/** Alias for EnvironmentTypeEnableStatusOutput */\nexport type EnvironmentTypeEnableStatusOutput = \"Enabled\" | \"Disabled\" | string;\n"]}
1
+ {"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ErrorModel } from \"@azure-rest/core-client\";\n\n/** Paged collection of Project items */\nexport interface PagedProjectOutput {\n /** The Project items on this page */\n value: Array<ProjectOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** Project details. */\nexport interface ProjectOutput {\n /** Name of the project. */\n readonly name: string;\n /** Description of the project. */\n description?: string;\n /**\n * When specified, indicates the maximum number of Dev Boxes a single user can\n * create across all pools in the project.\n */\n maxDevBoxesPerUser?: number;\n}\n\n/** The current status of an async operation. */\nexport interface OperationStatusOutput {\n /** Fully qualified ID for the operation status. */\n readonly id: string;\n /** The operation id name. */\n readonly name: string;\n /**\n * Provisioning state of the resource.\n *\n * Possible values: \"NotStarted\", \"Running\", \"Succeeded\", \"Failed\", \"Canceled\"\n */\n status: OperationStateOutput;\n /** The id of the resource. */\n resourceId?: string;\n /** The start time of the operation, in RFC3339 format. */\n startTime?: string;\n /** The end time of the operation, in RFC3339 format. */\n endTime?: string;\n /** Percent of the operation that is complete. */\n percentComplete?: number;\n /** Custom operation properties, populated only for a successful operation. */\n properties?: any;\n /** Operation Error message. */\n error?: ErrorModel;\n}\n\n/** Paged collection of Pool items */\nexport interface PagedPoolOutput {\n /** The Pool items on this page */\n value: Array<PoolOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** A pool of Dev Boxes. */\nexport interface PoolOutput {\n /** Pool name. */\n readonly name: string;\n /** Azure region where Dev Boxes in the pool are located. */\n location: string;\n /**\n * The operating system type of Dev Boxes in this pool.\n *\n * Possible values: \"Windows\"\n */\n osType?: OsTypeOutput;\n /** Hardware settings for the Dev Boxes created in this pool. */\n hardwareProfile?: HardwareProfileOutput;\n /**\n * Indicates whether hibernate is enabled/disabled or unknown.\n *\n * Possible values: \"Enabled\", \"Disabled\", \"OsUnsupported\"\n */\n hibernateSupport?: HibernateSupportOutput;\n /** Storage settings for Dev Box created in this pool. */\n storageProfile?: StorageProfileOutput;\n /** Image settings for Dev Boxes create in this pool. */\n imageReference?: ImageReferenceOutput;\n /**\n * Indicates whether owners of Dev Boxes in this pool are local administrators on\n * the Dev Boxes.\n *\n * Possible values: \"Enabled\", \"Disabled\"\n */\n localAdministrator?: LocalAdminStatusOutput;\n /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */\n stopOnDisconnect?: StopOnDisconnectConfigurationOutput;\n /**\n * Overall health status of the Pool. Indicates whether or not the Pool is\n * available to create Dev Boxes.\n *\n * Possible values: \"Unknown\", \"Pending\", \"Healthy\", \"Warning\", \"Unhealthy\"\n */\n healthStatus: PoolHealthStatusOutput;\n}\n\n/** Hardware specifications for the Dev Box. */\nexport interface HardwareProfileOutput {\n /**\n * The name of the SKU.\n *\n * Possible values: \"general_i_8c32gb256ssd_v2\", \"general_i_8c32gb512ssd_v2\", \"general_i_8c32gb1024ssd_v2\", \"general_i_8c32gb2048ssd_v2\", \"general_i_16c64gb256ssd_v2\", \"general_i_16c64gb512ssd_v2\", \"general_i_16c64gb1024ssd_v2\", \"general_i_16c64gb2048ssd_v2\", \"general_i_32c128gb512ssd_v2\", \"general_i_32c128gb1024ssd_v2\", \"general_i_32c128gb2048ssd_v2\", \"general_a_8c32gb256ssd_v2\", \"general_a_8c32gb512ssd_v2\", \"general_a_8c32gb1024ssd_v2\", \"general_a_8c32gb2048ssd_v2\", \"general_a_16c64gb256ssd_v2\", \"general_a_16c64gb512ssd_v2\", \"general_a_16c64gb1024ssd_v2\", \"general_a_16c64gb2048ssd_v2\", \"general_a_32c128gb512ssd_v2\", \"general_a_32c128gb1024ssd_v2\", \"general_a_32c128gb2048ssd_v2\"\n */\n readonly skuName?: SkuNameOutput;\n /** The number of vCPUs available for the Dev Box. */\n readonly vCPUs?: number;\n /** The amount of memory available for the Dev Box. */\n readonly memoryGB?: number;\n}\n\n/** Storage settings for the Dev Box's disks. */\nexport interface StorageProfileOutput {\n /** Settings for the operating system disk. */\n osDisk?: OsDiskOutput;\n}\n\n/** Settings for the operating system disk. */\nexport interface OsDiskOutput {\n /** The size of the OS Disk in gigabytes. */\n readonly diskSizeGB?: number;\n}\n\n/** Specifies information about the image used. */\nexport interface ImageReferenceOutput {\n /** The name of the image used. */\n readonly name?: string;\n /** The version of the image. */\n readonly version?: string;\n /** The operating system of the image. */\n readonly operatingSystem?: string;\n /** The operating system build number of the image. */\n readonly osBuildNumber?: string;\n /** The datetime that the backing image version was published, in RFC3339 format. */\n readonly publishedDate?: string;\n}\n\n/** Stop on disconnect configuration settings for Dev Boxes created in this pool. */\nexport interface StopOnDisconnectConfigurationOutput {\n /**\n * Indicates whether the feature to stop the devbox on disconnect once the grace\n * period has lapsed is enabled.\n *\n * Possible values: \"Enabled\", \"Disabled\"\n */\n status: StopOnDisconnectEnableStatusOutput;\n /**\n * The specified time in minutes to wait before stopping a Dev Box once disconnect\n * is detected.\n */\n gracePeriodMinutes?: number;\n}\n\n/** Paged collection of DevBox items */\nexport interface PagedDevBoxOutput {\n /** The DevBox items on this page */\n value: Array<DevBoxOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** A Dev Box. */\nexport interface DevBoxOutput {\n /** Display name for the Dev Box. */\n readonly name: string;\n /** Name of the project this Dev Box belongs to. */\n readonly projectName?: string;\n /** The name of the Dev Box pool this machine belongs to. */\n poolName: string;\n /**\n * Indicates whether hibernate is enabled/disabled or unknown.\n *\n * Possible values: \"Enabled\", \"Disabled\", \"OsUnsupported\"\n */\n readonly hibernateSupport?: HibernateSupportOutput;\n /**\n * The current provisioning state of the Dev Box.\n *\n * Possible values: \"Succeeded\", \"Failed\", \"Canceled\", \"Creating\", \"Deleting\", \"Updating\", \"Starting\", \"Stopping\", \"Provisioning\", \"ProvisionedWithWarning\", \"InGracePeriod\", \"NotProvisioned\"\n */\n readonly provisioningState?: DevBoxProvisioningStateOutput;\n /**\n * The current action state of the Dev Box. This is state is based on previous\n * action performed by user.\n */\n readonly actionState?: string;\n /**\n * The current power state of the Dev Box.\n *\n * Possible values: \"Unknown\", \"Running\", \"Deallocated\", \"PoweredOff\", \"Hibernated\"\n */\n readonly powerState?: PowerStateOutput;\n /**\n * A unique identifier for the Dev Box. This is a GUID-formatted string (e.g.\n * 00000000-0000-0000-0000-000000000000).\n */\n readonly uniqueId?: string;\n /** Provisioning or action error details. Populated only for error states. */\n readonly error?: ErrorModel;\n /**\n * Azure region where this Dev Box is located. This will be the same region as the\n * Virtual Network it is attached to.\n */\n readonly location?: string;\n /**\n * The operating system type of this Dev Box.\n *\n * Possible values: \"Windows\"\n */\n readonly osType?: OsTypeOutput;\n /** The AAD object id of the user this Dev Box is assigned to. */\n readonly user?: string;\n /** Information about the Dev Box's hardware resources. */\n readonly hardwareProfile?: HardwareProfileOutput;\n /** Storage settings for this Dev Box. */\n readonly storageProfile?: StorageProfileOutput;\n /** Information about the image used for this Dev Box. */\n readonly imageReference?: ImageReferenceOutput;\n /** Creation time of this Dev Box, in RFC3339 format. */\n readonly createdTime?: string;\n /**\n * Indicates whether the owner of the Dev Box is a local administrator.\n *\n * Possible values: \"Enabled\", \"Disabled\"\n */\n localAdministrator?: LocalAdminStatusOutput;\n}\n\n/** Paged collection of Schedule items */\nexport interface PagedScheduleOutput {\n /** The Schedule items on this page */\n value: Array<ScheduleOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** A Schedule to execute action. */\nexport interface ScheduleOutput {\n /** Display name for the Schedule. */\n readonly name: string;\n /**\n * Supported type this scheduled task represents.\n *\n * Possible values: \"StopDevBox\"\n */\n type: ScheduledTypeOutput;\n /**\n * The frequency of this scheduled task.\n *\n * Possible values: \"Daily\"\n */\n frequency: ScheduledFrequencyOutput;\n /** The target time to trigger the action. The format is HH:MM. */\n time: string;\n /** The IANA timezone id at which the schedule should execute. */\n timeZone: string;\n}\n\n/** Provides remote connection information for a Dev Box. */\nexport interface RemoteConnectionOutput {\n /** URL to open a browser based RDP session. */\n webUrl?: string;\n /** Link to open a Remote Desktop session. */\n rdpConnectionUrl?: string;\n}\n\n/** Paged collection of DevBoxAction items */\nexport interface PagedDevBoxActionOutput {\n /** The DevBoxAction items on this page */\n value: Array<DevBoxActionOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** An action which will take place on a Dev Box. */\nexport interface DevBoxActionOutput {\n /** The name of the action. */\n readonly name: string;\n /**\n * The action that will be taken.\n *\n * Possible values: \"Stop\"\n */\n actionType: DevBoxActionTypeOutput;\n /** The id of the resource which triggered this action. */\n sourceId: string;\n /** The earliest time that the action could occur (UTC), in RFC3339 format. */\n suspendedUntil?: string;\n /** Details about the next run of this action. */\n next?: DevBoxNextActionOutput;\n}\n\n/** Details about the next run of an action. */\nexport interface DevBoxNextActionOutput {\n /** The time the action will be triggered (UTC), in RFC3339 format. */\n scheduledTime: string;\n}\n\n/** Paged collection of DevBoxActionDelayResult items */\nexport interface PagedDevBoxActionDelayResultOutput {\n /** The DevBoxActionDelayResult items on this page */\n value: Array<DevBoxActionDelayResultOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** The action delay result. */\nexport interface DevBoxActionDelayResultOutput {\n /** The name of the action. */\n name: string;\n /**\n * The result of the delay operation on this action.\n *\n * Possible values: \"Succeeded\", \"Failed\"\n */\n result: DevBoxActionDelayResultStatusOutput;\n /** The delayed action. */\n action?: DevBoxActionOutput;\n /** Information about the error that occurred. Only populated on error. */\n error?: ErrorModel;\n}\n\n/** Paged collection of Environment items */\nexport interface PagedEnvironmentOutput {\n /** The Environment items on this page */\n value: Array<EnvironmentOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** Properties of an environment. */\nexport interface EnvironmentOutput {\n /** Parameters object for the environment. */\n parameters?: Record<string, any>;\n /** Environment name. */\n readonly name: string;\n /** Environment type. */\n environmentType: string;\n /** The AAD object id of the owner of this Environment. */\n readonly user?: string;\n /**\n * The provisioning state of the environment.\n *\n * Possible values: \"Succeeded\", \"Failed\", \"Canceled\", \"Creating\", \"Accepted\", \"Deleting\", \"Updating\", \"Preparing\", \"Running\", \"Syncing\", \"MovingResources\", \"TransientFailure\", \"StorageProvisioningFailed\"\n */\n readonly provisioningState?: EnvironmentProvisioningStateOutput;\n /** The identifier of the resource group containing the environment's resources. */\n readonly resourceGroupId?: string;\n /** Name of the catalog. */\n catalogName: string;\n /** Name of the environment definition. */\n environmentDefinitionName: string;\n /** Provisioning error details. Populated only for error states. */\n readonly error?: ErrorModel;\n}\n\n/** Paged collection of Catalog items */\nexport interface PagedCatalogOutput {\n /** The Catalog items on this page */\n value: Array<CatalogOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** A catalog. */\nexport interface CatalogOutput {\n /** Name of the catalog. */\n readonly name: string;\n}\n\n/** Paged collection of EnvironmentDefinition items */\nexport interface PagedEnvironmentDefinitionOutput {\n /** The EnvironmentDefinition items on this page */\n value: Array<EnvironmentDefinitionOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** An environment definition. */\nexport interface EnvironmentDefinitionOutput {\n /** The ID of the environment definition. */\n id: string;\n /** Name of the environment definition. */\n readonly name: string;\n /** Name of the catalog. */\n catalogName: string;\n /** A short description of the environment definition. */\n description?: string;\n /** Input parameters passed to an environment. */\n parameters?: Array<EnvironmentDefinitionParameterOutput>;\n /** JSON schema defining the parameters object passed to an environment. */\n parametersSchema?: string;\n /** Path to the Environment Definition entrypoint file. */\n templatePath?: string;\n}\n\n/** Properties of an Environment Definition parameter */\nexport interface EnvironmentDefinitionParameterOutput {\n /** Unique ID of the parameter. */\n id: string;\n /** Display name of the parameter. */\n name?: string;\n /** Description of the parameter. */\n description?: string;\n /** Default value of the parameter. */\n default?: string;\n /**\n * A string of one of the basic JSON types (number, integer, array, object,\n * boolean, string).\n *\n * Possible values: \"array\", \"boolean\", \"integer\", \"number\", \"object\", \"string\"\n */\n type: ParameterTypeOutput;\n /**\n * Whether or not this parameter is read-only. If true, default should have a\n * value.\n */\n readOnly?: boolean;\n /** Whether or not this parameter is required. */\n required: boolean;\n /** An array of allowed values. */\n allowed?: string[];\n}\n\n/** Paged collection of EnvironmentType items */\nexport interface PagedEnvironmentTypeOutput {\n /** The EnvironmentType items on this page */\n value: Array<EnvironmentTypeOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** Properties of an environment type. */\nexport interface EnvironmentTypeOutput {\n /** Name of the environment type. */\n readonly name: string;\n /**\n * Id of a subscription or management group that the environment type will be\n * mapped to. The environment's resources will be deployed into this subscription\n * or management group.\n */\n deploymentTargetId: string;\n /**\n * Indicates whether this environment type is enabled for use in this project.\n *\n * Possible values: \"Enabled\", \"Disabled\"\n */\n status: EnvironmentTypeEnableStatusOutput;\n}\n\n/** Alias for OperationStateOutput */\nexport type OperationStateOutput = string;\n/** Alias for OsTypeOutput */\nexport type OsTypeOutput = string;\n/** Alias for SkuNameOutput */\nexport type SkuNameOutput = string;\n/** Alias for HibernateSupportOutput */\nexport type HibernateSupportOutput = string;\n/** Alias for LocalAdminStatusOutput */\nexport type LocalAdminStatusOutput = string;\n/** Alias for StopOnDisconnectEnableStatusOutput */\nexport type StopOnDisconnectEnableStatusOutput = string;\n/** Alias for PoolHealthStatusOutput */\nexport type PoolHealthStatusOutput = string;\n/** Alias for DevBoxProvisioningStateOutput */\nexport type DevBoxProvisioningStateOutput = string;\n/** Alias for PowerStateOutput */\nexport type PowerStateOutput = string;\n/** Alias for ScheduledTypeOutput */\nexport type ScheduledTypeOutput = string;\n/** Alias for ScheduledFrequencyOutput */\nexport type ScheduledFrequencyOutput = string;\n/** Alias for DevBoxActionTypeOutput */\nexport type DevBoxActionTypeOutput = string;\n/** Alias for DevBoxActionDelayResultStatusOutput */\nexport type DevBoxActionDelayResultStatusOutput = string;\n/** Alias for EnvironmentProvisioningStateOutput */\nexport type EnvironmentProvisioningStateOutput = string;\n/** Alias for ParameterTypeOutput */\nexport type ParameterTypeOutput = string;\n/** Alias for EnvironmentTypeEnableStatusOutput */\nexport type EnvironmentTypeEnableStatusOutput = string;\n"]}
@@ -1,5 +1,30 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
1
  import type { Client, PathUncheckedResponse } from "@azure-rest/core-client";
2
+ /**
3
+ * An interface that tracks the settings for paged iteration
4
+ */
5
+ export interface PageSettings {
6
+ /**
7
+ * The token that keeps track of where to continue the iterator
8
+ */
9
+ continuationToken?: string;
10
+ }
11
+ /**
12
+ * An interface that allows async iterable iteration both to completion and by page.
13
+ */
14
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
15
+ /**
16
+ * The next method, part of the iteration protocol
17
+ */
18
+ next(): Promise<IteratorResult<TElement>>;
19
+ /**
20
+ * The connection to the async iterator, part of the iteration protocol
21
+ */
22
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
23
+ /**
24
+ * Return an AsyncIterableIterator that works a page at a time
25
+ */
26
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
27
+ }
3
28
  /**
4
29
  * Helper type to extract the type of an array
5
30
  */
@@ -7,7 +32,7 @@ export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
7
32
  /**
8
33
  * The type of a custom function that defines how to get a page and a link to the next one if any.
9
34
  */
10
- export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
35
+ export type GetPage<TPage> = (pageLink: string) => Promise<{
11
36
  page: TPage;
12
37
  nextPageLink?: string;
13
38
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"paginateHelper.d.ts","sourceRoot":"","sources":["../../src/paginateHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAe,MAAM,oBAAoB,CAAC;AAElF,OAAO,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAG7E;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,CAAC,MAAM,KAAK,CAAC,GAAG,KAAK,GAAG,KAAK,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,OAAO,CAAC,KAAK,IAAI,CAC3B,QAAQ,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,MAAM,KACjB,OAAO,CAAC;IACX,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,SAAS;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;CACtD;AAED;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,CAAC,OAAO,IAAI,OAAO,SAAS;IACpD,IAAI,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,KAAK,CAAA;KAAE,CAAC;CAC/B,GACG,YAAY,CAAC,KAAK,CAAC,GACnB,K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