@azure-rest/developer-devcenter 1.0.0-beta.3 → 1.0.0

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 (200) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/azureDeveloperDevCenter.d.ts +11 -0
  3. package/dist/browser/azureDeveloperDevCenter.d.ts.map +1 -0
  4. package/dist/browser/azureDeveloperDevCenter.js +29 -0
  5. package/dist/browser/azureDeveloperDevCenter.js.map +1 -0
  6. package/dist/browser/clientDefinitions.d.ts +191 -0
  7. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  8. package/dist/browser/clientDefinitions.js.map +1 -0
  9. package/dist/browser/index.d.ts +12 -0
  10. package/dist/browser/index.d.ts.map +1 -0
  11. package/dist/browser/index.js +14 -0
  12. package/dist/browser/index.js.map +1 -0
  13. package/dist/browser/isUnexpected.d.ts +35 -0
  14. package/dist/browser/isUnexpected.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/isUnexpected.js +5 -5
  16. package/dist/browser/isUnexpected.js.map +1 -0
  17. package/dist/browser/logger.d.ts +2 -0
  18. package/dist/browser/logger.d.ts.map +1 -0
  19. package/dist/browser/models.d.ts +47 -0
  20. package/dist/browser/models.d.ts.map +1 -0
  21. package/dist/browser/models.js.map +1 -0
  22. package/dist/browser/outputModels.d.ts +338 -0
  23. package/dist/browser/outputModels.d.ts.map +1 -0
  24. package/dist/browser/outputModels.js.map +1 -0
  25. package/dist/browser/package.json +3 -0
  26. package/dist/browser/paginateHelper.d.ts +43 -0
  27. package/dist/browser/paginateHelper.d.ts.map +1 -0
  28. package/dist/browser/paginateHelper.js.map +1 -0
  29. package/dist/browser/parameters.d.ts +65 -0
  30. package/dist/browser/parameters.d.ts.map +1 -0
  31. package/dist/browser/parameters.js.map +1 -0
  32. package/dist/browser/pollingHelper.d.ts +83 -0
  33. package/dist/browser/pollingHelper.d.ts.map +1 -0
  34. package/dist/browser/pollingHelper.js +97 -0
  35. package/dist/browser/pollingHelper.js.map +1 -0
  36. package/dist/browser/responses.d.ts +547 -0
  37. package/dist/browser/responses.d.ts.map +1 -0
  38. package/dist/browser/responses.js.map +1 -0
  39. package/dist/commonjs/azureDeveloperDevCenter.d.ts +11 -0
  40. package/dist/commonjs/azureDeveloperDevCenter.d.ts.map +1 -0
  41. package/dist/commonjs/azureDeveloperDevCenter.js +32 -0
  42. package/dist/commonjs/azureDeveloperDevCenter.js.map +1 -0
  43. package/dist/commonjs/clientDefinitions.d.ts +191 -0
  44. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  45. package/dist/commonjs/clientDefinitions.js +5 -0
  46. package/dist/commonjs/clientDefinitions.js.map +1 -0
  47. package/dist/commonjs/index.d.ts +12 -0
  48. package/dist/commonjs/index.d.ts.map +1 -0
  49. package/dist/commonjs/index.js +17 -0
  50. package/dist/commonjs/index.js.map +1 -0
  51. package/dist/commonjs/isUnexpected.d.ts +35 -0
  52. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  53. package/dist/commonjs/isUnexpected.js +114 -0
  54. package/dist/commonjs/isUnexpected.js.map +1 -0
  55. package/dist/commonjs/logger.d.ts +2 -0
  56. package/dist/commonjs/logger.d.ts.map +1 -0
  57. package/dist/commonjs/logger.js +8 -0
  58. package/dist/commonjs/logger.js.map +1 -0
  59. package/dist/commonjs/models.d.ts +47 -0
  60. package/dist/commonjs/models.d.ts.map +1 -0
  61. package/dist/commonjs/models.js +5 -0
  62. package/dist/commonjs/models.js.map +1 -0
  63. package/dist/commonjs/outputModels.d.ts +338 -0
  64. package/dist/commonjs/outputModels.d.ts.map +1 -0
  65. package/dist/commonjs/outputModels.js +5 -0
  66. package/dist/commonjs/outputModels.js.map +1 -0
  67. package/dist/commonjs/package.json +3 -0
  68. package/dist/commonjs/paginateHelper.d.ts +43 -0
  69. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  70. package/dist/commonjs/paginateHelper.js +73 -0
  71. package/dist/commonjs/paginateHelper.js.map +1 -0
  72. package/dist/commonjs/parameters.d.ts +65 -0
  73. package/dist/commonjs/parameters.d.ts.map +1 -0
  74. package/dist/commonjs/parameters.js +5 -0
  75. package/dist/commonjs/parameters.js.map +1 -0
  76. package/dist/commonjs/pollingHelper.d.ts +83 -0
  77. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  78. package/dist/commonjs/pollingHelper.js +100 -0
  79. package/dist/commonjs/pollingHelper.js.map +1 -0
  80. package/dist/commonjs/responses.d.ts +547 -0
  81. package/dist/commonjs/responses.d.ts.map +1 -0
  82. package/dist/commonjs/responses.js +5 -0
  83. package/dist/commonjs/responses.js.map +1 -0
  84. package/dist/commonjs/tsdoc-metadata.json +11 -0
  85. package/dist/esm/azureDeveloperDevCenter.d.ts +11 -0
  86. package/dist/esm/azureDeveloperDevCenter.d.ts.map +1 -0
  87. package/dist/esm/azureDeveloperDevCenter.js +29 -0
  88. package/dist/esm/azureDeveloperDevCenter.js.map +1 -0
  89. package/dist/esm/clientDefinitions.d.ts +191 -0
  90. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  91. package/dist/esm/clientDefinitions.js +4 -0
  92. package/dist/esm/clientDefinitions.js.map +1 -0
  93. package/dist/esm/index.d.ts +12 -0
  94. package/dist/esm/index.d.ts.map +1 -0
  95. package/dist/esm/index.js +14 -0
  96. package/dist/esm/index.js.map +1 -0
  97. package/dist/esm/isUnexpected.d.ts +35 -0
  98. package/dist/esm/isUnexpected.d.ts.map +1 -0
  99. package/dist/esm/isUnexpected.js +111 -0
  100. package/dist/esm/isUnexpected.js.map +1 -0
  101. package/dist/esm/logger.d.ts +2 -0
  102. package/dist/esm/logger.d.ts.map +1 -0
  103. package/dist/esm/logger.js +5 -0
  104. package/dist/esm/logger.js.map +1 -0
  105. package/dist/esm/models.d.ts +47 -0
  106. package/dist/esm/models.d.ts.map +1 -0
  107. package/dist/esm/models.js +4 -0
  108. package/dist/esm/models.js.map +1 -0
  109. package/dist/esm/outputModels.d.ts +338 -0
  110. package/dist/esm/outputModels.d.ts.map +1 -0
  111. package/dist/esm/outputModels.js +4 -0
  112. package/dist/esm/outputModels.js.map +1 -0
  113. package/dist/esm/package.json +3 -0
  114. package/dist/esm/paginateHelper.d.ts +43 -0
  115. package/dist/esm/paginateHelper.d.ts.map +1 -0
  116. package/dist/esm/paginateHelper.js +70 -0
  117. package/dist/esm/paginateHelper.js.map +1 -0
  118. package/dist/esm/parameters.d.ts +65 -0
  119. package/dist/esm/parameters.d.ts.map +1 -0
  120. package/dist/esm/parameters.js +4 -0
  121. package/dist/esm/parameters.js.map +1 -0
  122. package/dist/esm/pollingHelper.d.ts +83 -0
  123. package/dist/esm/pollingHelper.d.ts.map +1 -0
  124. package/dist/esm/pollingHelper.js +97 -0
  125. package/dist/esm/pollingHelper.js.map +1 -0
  126. package/dist/esm/responses.d.ts +547 -0
  127. package/dist/esm/responses.d.ts.map +1 -0
  128. package/dist/esm/responses.js +4 -0
  129. package/dist/esm/responses.js.map +1 -0
  130. package/dist/react-native/azureDeveloperDevCenter.d.ts +11 -0
  131. package/dist/react-native/azureDeveloperDevCenter.d.ts.map +1 -0
  132. package/dist/react-native/azureDeveloperDevCenter.js +29 -0
  133. package/dist/react-native/azureDeveloperDevCenter.js.map +1 -0
  134. package/dist/react-native/clientDefinitions.d.ts +191 -0
  135. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  136. package/dist/react-native/clientDefinitions.js +4 -0
  137. package/dist/react-native/clientDefinitions.js.map +1 -0
  138. package/dist/react-native/index.d.ts +12 -0
  139. package/dist/react-native/index.d.ts.map +1 -0
  140. package/dist/react-native/index.js +14 -0
  141. package/dist/react-native/index.js.map +1 -0
  142. package/dist/react-native/isUnexpected.d.ts +35 -0
  143. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  144. package/dist/react-native/isUnexpected.js +111 -0
  145. package/dist/react-native/isUnexpected.js.map +1 -0
  146. package/dist/react-native/logger.d.ts +2 -0
  147. package/dist/react-native/logger.d.ts.map +1 -0
  148. package/dist/react-native/logger.js +5 -0
  149. package/dist/react-native/logger.js.map +1 -0
  150. package/dist/react-native/models.d.ts +47 -0
  151. package/dist/react-native/models.d.ts.map +1 -0
  152. package/dist/react-native/models.js +4 -0
  153. package/dist/react-native/models.js.map +1 -0
  154. package/dist/react-native/outputModels.d.ts +338 -0
  155. package/dist/react-native/outputModels.d.ts.map +1 -0
  156. package/dist/react-native/outputModels.js +4 -0
  157. package/dist/react-native/outputModels.js.map +1 -0
  158. package/dist/react-native/package.json +3 -0
  159. package/dist/react-native/paginateHelper.d.ts +43 -0
  160. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  161. package/dist/react-native/paginateHelper.js +70 -0
  162. package/dist/react-native/paginateHelper.js.map +1 -0
  163. package/dist/react-native/parameters.d.ts +65 -0
  164. package/dist/react-native/parameters.d.ts.map +1 -0
  165. package/dist/react-native/parameters.js +4 -0
  166. package/dist/react-native/parameters.js.map +1 -0
  167. package/dist/react-native/pollingHelper.d.ts +83 -0
  168. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  169. package/dist/react-native/pollingHelper.js +97 -0
  170. package/dist/react-native/pollingHelper.js.map +1 -0
  171. package/dist/react-native/responses.d.ts +547 -0
  172. package/dist/react-native/responses.d.ts.map +1 -0
  173. package/dist/react-native/responses.js +4 -0
  174. package/dist/react-native/responses.js.map +1 -0
  175. package/package.json +119 -100
  176. package/review/developer-devcenter.api.md +343 -395
  177. package/dist/index.js +0 -269
  178. package/dist/index.js.map +0 -1
  179. package/dist-esm/src/azureDeveloperDevCenter.js +0 -29
  180. package/dist-esm/src/azureDeveloperDevCenter.js.map +0 -1
  181. package/dist-esm/src/clientDefinitions.js.map +0 -1
  182. package/dist-esm/src/index.js +0 -14
  183. package/dist-esm/src/index.js.map +0 -1
  184. package/dist-esm/src/isUnexpected.js.map +0 -1
  185. package/dist-esm/src/models.js.map +0 -1
  186. package/dist-esm/src/outputModels.js.map +0 -1
  187. package/dist-esm/src/paginateHelper.js.map +0 -1
  188. package/dist-esm/src/parameters.js.map +0 -1
  189. package/dist-esm/src/pollingHelper.js +0 -43
  190. package/dist-esm/src/pollingHelper.js.map +0 -1
  191. package/dist-esm/src/responses.js.map +0 -1
  192. package/types/developer-devcenter.d.ts +0 -1696
  193. /package/{dist-esm/src → dist/browser}/clientDefinitions.js +0 -0
  194. /package/{dist-esm/src → dist/browser}/logger.js +0 -0
  195. /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
  196. /package/{dist-esm/src → dist/browser}/models.js +0 -0
  197. /package/{dist-esm/src → dist/browser}/outputModels.js +0 -0
  198. /package/{dist-esm/src → dist/browser}/paginateHelper.js +0 -0
  199. /package/{dist-esm/src → dist/browser}/parameters.js +0 -0
  200. /package/{dist-esm/src → dist/browser}/responses.js +0 -0
@@ -1,1696 +0,0 @@
1
- import { Client } from '@azure-rest/core-client';
2
- import { ClientOptions } from '@azure-rest/core-client';
3
- import { CreateHttpPollerOptions } from '@azure/core-lro';
4
- import { ErrorModel } from '@azure-rest/core-client';
5
- import { ErrorResponse } from '@azure-rest/core-client';
6
- import { HttpResponse } from '@azure-rest/core-client';
7
- import { OperationState } from '@azure/core-lro';
8
- import { Paged } from '@azure/core-paging';
9
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
- import { PathUncheckedResponse } from '@azure-rest/core-client';
11
- import { RawHttpHeaders } from '@azure/core-rest-pipeline';
12
- import { RequestParameters } from '@azure-rest/core-client';
13
- import { SimplePollerLike } from '@azure/core-lro';
14
- import { StreamableMethod } from '@azure-rest/core-client';
15
- import { TokenCredential } from '@azure/core-auth';
16
-
17
- export declare type AzureDeveloperDevCenterClient = Client & {
18
- path: Routes;
19
- };
20
-
21
- /** A catalog. */
22
- export declare interface CatalogOutput {
23
- /** Name of the catalog. */
24
- name: string;
25
- }
26
-
27
- /**
28
- * Initialize a new instance of `AzureDeveloperDevCenterClient`
29
- * @param endpoint - The DevCenter-specific URI to operate on.
30
- * @param credentials - uniquely identify client credential
31
- * @param options - the parameter for all optional parameters
32
- */
33
- declare function createClient(endpoint: string, credentials: TokenCredential, options?: ClientOptions): AzureDeveloperDevCenterClient;
34
- export default createClient;
35
-
36
- /** The request has succeeded. */
37
- export declare interface CreateDevBox200Response extends HttpResponse {
38
- status: "200";
39
- body: DevBoxOutput;
40
- }
41
-
42
- export declare interface CreateDevBox201Headers {
43
- location: string;
44
- "operation-location": string;
45
- }
46
-
47
- /** The request has succeeded and a new resource has been created as a result. */
48
- export declare interface CreateDevBox201Response extends HttpResponse {
49
- status: "201";
50
- body: DevBoxOutput;
51
- headers: RawHttpHeaders & CreateDevBox201Headers;
52
- }
53
-
54
- export declare interface CreateDevBoxBodyParam {
55
- /** Represents a environment. */
56
- body: DevBox;
57
- }
58
-
59
- export declare interface CreateDevBoxDefaultHeaders {
60
- /** String error code indicating what went wrong. */
61
- "x-ms-error-code"?: string;
62
- }
63
-
64
- export declare interface CreateDevBoxDefaultResponse extends HttpResponse {
65
- status: string;
66
- body: ErrorResponse;
67
- headers: RawHttpHeaders & CreateDevBoxDefaultHeaders;
68
- }
69
-
70
- /** The final response for long-running CreateDevBox operation */
71
- export declare interface CreateDevBoxLogicalResponse extends HttpResponse {
72
- status: "200";
73
- body: DevBoxOutput;
74
- }
75
-
76
- export declare type CreateDevBoxParameters = CreateDevBoxBodyParam & RequestParameters;
77
-
78
- export declare interface CreateOrUpdateEnvironment201Headers {
79
- "operation-location": string;
80
- }
81
-
82
- /** The request has succeeded and a new resource has been created as a result. */
83
- export declare interface CreateOrUpdateEnvironment201Response extends HttpResponse {
84
- status: "201";
85
- body: EnvironmentOutput;
86
- headers: RawHttpHeaders & CreateOrUpdateEnvironment201Headers;
87
- }
88
-
89
- export declare interface CreateOrUpdateEnvironmentBodyParam {
90
- /** Represents an environment. */
91
- body: Environment;
92
- }
93
-
94
- export declare interface CreateOrUpdateEnvironmentDefaultHeaders {
95
- /** String error code indicating what went wrong. */
96
- "x-ms-error-code"?: string;
97
- }
98
-
99
- export declare interface CreateOrUpdateEnvironmentDefaultResponse extends HttpResponse {
100
- status: string;
101
- body: ErrorResponse;
102
- headers: RawHttpHeaders & CreateOrUpdateEnvironmentDefaultHeaders;
103
- }
104
-
105
- /** The final response for long-running CreateOrUpdateEnvironment operation */
106
- export declare interface CreateOrUpdateEnvironmentLogicalResponse extends HttpResponse {
107
- status: "200";
108
- body: EnvironmentOutput;
109
- }
110
-
111
- export declare type CreateOrUpdateEnvironmentParameters = CreateOrUpdateEnvironmentBodyParam & RequestParameters;
112
-
113
- export declare interface DelayAction {
114
- /** Delays the occurrence of an action. */
115
- post(options: DelayActionParameters): StreamableMethod<DelayAction200Response | DelayActionDefaultResponse>;
116
- }
117
-
118
- /** The request has succeeded. */
119
- export declare interface DelayAction200Response extends HttpResponse {
120
- status: "200";
121
- body: DevBoxActionOutput;
122
- }
123
-
124
- export declare interface DelayActionDefaultHeaders {
125
- /** String error code indicating what went wrong. */
126
- "x-ms-error-code"?: string;
127
- }
128
-
129
- export declare interface DelayActionDefaultResponse extends HttpResponse {
130
- status: string;
131
- body: ErrorResponse;
132
- headers: RawHttpHeaders & DelayActionDefaultHeaders;
133
- }
134
-
135
- export declare type DelayActionParameters = DelayActionQueryParam & RequestParameters;
136
-
137
- export declare interface DelayActionQueryParam {
138
- queryParameters: DelayActionQueryParamProperties;
139
- }
140
-
141
- export declare interface DelayActionQueryParamProperties {
142
- /** The time to delay the Dev Box action or actions until. */
143
- until: Date | string;
144
- }
145
-
146
- export declare interface DelayAllActions {
147
- /** Delays all actions. */
148
- post(options: DelayAllActionsParameters): StreamableMethod<DelayAllActions200Response | DelayAllActionsDefaultResponse>;
149
- }
150
-
151
- /** The request has succeeded. */
152
- export declare interface DelayAllActions200Response extends HttpResponse {
153
- status: "200";
154
- body: PagedDevBoxActionDelayResultOutput;
155
- }
156
-
157
- export declare interface DelayAllActionsDefaultHeaders {
158
- /** String error code indicating what went wrong. */
159
- "x-ms-error-code"?: string;
160
- }
161
-
162
- export declare interface DelayAllActionsDefaultResponse extends HttpResponse {
163
- status: string;
164
- body: ErrorResponse;
165
- headers: RawHttpHeaders & DelayAllActionsDefaultHeaders;
166
- }
167
-
168
- export declare type DelayAllActionsParameters = DelayAllActionsQueryParam & RequestParameters;
169
-
170
- export declare interface DelayAllActionsQueryParam {
171
- queryParameters: DelayAllActionsQueryParamProperties;
172
- }
173
-
174
- export declare interface DelayAllActionsQueryParamProperties {
175
- /** The time to delay the Dev Box action or actions until. */
176
- until: Date | string;
177
- }
178
-
179
- export declare interface DeleteDevBox202Headers {
180
- location: string;
181
- "operation-location": string;
182
- }
183
-
184
- /** The request has been accepted for processing, but processing has not yet completed. */
185
- export declare interface DeleteDevBox202Response extends HttpResponse {
186
- status: "202";
187
- body: OperationStatusOutput;
188
- headers: RawHttpHeaders & DeleteDevBox202Headers;
189
- }
190
-
191
- /** There is no content to send for this request, but the headers may be useful. */
192
- export declare interface DeleteDevBox204Response extends HttpResponse {
193
- status: "204";
194
- }
195
-
196
- export declare interface DeleteDevBoxDefaultHeaders {
197
- /** String error code indicating what went wrong. */
198
- "x-ms-error-code"?: string;
199
- }
200
-
201
- export declare interface DeleteDevBoxDefaultResponse extends HttpResponse {
202
- status: string;
203
- body: ErrorResponse;
204
- headers: RawHttpHeaders & DeleteDevBoxDefaultHeaders;
205
- }
206
-
207
- /** The final response for long-running DeleteDevBox operation */
208
- export declare interface DeleteDevBoxLogicalResponse extends HttpResponse {
209
- status: "200";
210
- body: OperationStatusOutput;
211
- }
212
-
213
- export declare type DeleteDevBoxParameters = RequestParameters;
214
-
215
- export declare interface DeleteEnvironment202Headers {
216
- location: string;
217
- "operation-location": string;
218
- }
219
-
220
- /** The request has been accepted for processing, but processing has not yet completed. */
221
- export declare interface DeleteEnvironment202Response extends HttpResponse {
222
- status: "202";
223
- body: OperationStatusOutput;
224
- headers: RawHttpHeaders & DeleteEnvironment202Headers;
225
- }
226
-
227
- /** There is no content to send for this request, but the headers may be useful. */
228
- export declare interface DeleteEnvironment204Response extends HttpResponse {
229
- status: "204";
230
- }
231
-
232
- export declare interface DeleteEnvironmentDefaultHeaders {
233
- /** String error code indicating what went wrong. */
234
- "x-ms-error-code"?: string;
235
- }
236
-
237
- export declare interface DeleteEnvironmentDefaultResponse extends HttpResponse {
238
- status: string;
239
- body: ErrorResponse;
240
- headers: RawHttpHeaders & DeleteEnvironmentDefaultHeaders;
241
- }
242
-
243
- /** The final response for long-running DeleteEnvironment operation */
244
- export declare interface DeleteEnvironmentLogicalResponse extends HttpResponse {
245
- status: "200";
246
- body: OperationStatusOutput;
247
- }
248
-
249
- export declare type DeleteEnvironmentParameters = RequestParameters;
250
-
251
- /** A Dev Box */
252
- export declare interface DevBox {
253
- /** The name of the Dev Box pool this machine belongs to. */
254
- poolName: string;
255
- /**
256
- * Indicates whether the owner of the Dev Box is a local administrator.
257
- *
258
- * Possible values: Enabled, Disabled
259
- */
260
- localAdministrator?: string;
261
- }
262
-
263
- /** The action delay result */
264
- export declare interface DevBoxActionDelayResultOutput {
265
- /** The name of the action. */
266
- name: string;
267
- /**
268
- * The result of the delay operation on this action.
269
- *
270
- * Possible values: Succeeded, Failed
271
- */
272
- result: string;
273
- /** The delayed action */
274
- action?: DevBoxActionOutput;
275
- /** Information about the error that occurred. Only populated on error. */
276
- error?: ErrorModel;
277
- }
278
-
279
- /** An action which will take place on a Dev Box. */
280
- export declare interface DevBoxActionOutput {
281
- /** The name of the action. */
282
- readonly name: string;
283
- /**
284
- * The action that will be taken.
285
- *
286
- * Possible values: Stop
287
- */
288
- actionType: string;
289
- /** The id of the resource which triggered this action */
290
- sourceId: string;
291
- /** The earliest time that the action could occur (UTC). */
292
- suspendedUntil?: string;
293
- /** Details about the next run of this action. */
294
- next?: DevBoxNextActionOutput;
295
- }
296
-
297
- /** Details about the next run of an action. */
298
- export declare interface DevBoxNextActionOutput {
299
- /** The time the action will be triggered (UTC). */
300
- scheduledTime: string;
301
- }
302
-
303
- /** A Dev Box */
304
- export declare interface DevBoxOutput {
305
- /** Display name for the Dev Box */
306
- readonly name: string;
307
- /** Name of the project this Dev Box belongs to */
308
- readonly projectName?: string;
309
- /** The name of the Dev Box pool this machine belongs to. */
310
- poolName: string;
311
- /**
312
- * Indicates whether hibernate is enabled/disabled or unknown.
313
- *
314
- * Possible values: Enabled, Disabled, OsUnsupported
315
- */
316
- readonly hibernateSupport?: string;
317
- /** The current provisioning state of the Dev Box. */
318
- readonly provisioningState?: string;
319
- /**
320
- * The current action state of the Dev Box. This is state is based on previous
321
- * action performed by user.
322
- */
323
- readonly actionState?: string;
324
- /**
325
- * The current power state of the Dev Box.
326
- *
327
- * Possible values: Unknown, Running, Deallocated, PoweredOff, Hibernated
328
- */
329
- readonly powerState?: string;
330
- /**
331
- * A unique identifier for the Dev Box. This is a GUID-formatted string (e.g.
332
- * 00000000-0000-0000-0000-000000000000).
333
- */
334
- readonly uniqueId?: string;
335
- /** Provisioning or action error details. Populated only for error states. */
336
- readonly error?: ErrorModel;
337
- /**
338
- * Azure region where this Dev Box is located. This will be the same region as the
339
- * Virtual Network it is attached to.
340
- */
341
- readonly location?: string;
342
- /**
343
- * The operating system type of this Dev Box.
344
- *
345
- * Possible values: Windows
346
- */
347
- readonly osType?: string;
348
- /** The AAD object id of the user this Dev Box is assigned to. */
349
- readonly user?: string;
350
- /** Information about the Dev Box's hardware resources */
351
- readonly hardwareProfile?: HardwareProfileOutput;
352
- /** Storage settings for this Dev Box */
353
- readonly storageProfile?: StorageProfileOutput;
354
- /** Information about the image used for this Dev Box */
355
- readonly imageReference?: ImageReferenceOutput;
356
- /** Creation time of this Dev Box */
357
- readonly createdTime?: string;
358
- /**
359
- * Indicates whether the owner of the Dev Box is a local administrator.
360
- *
361
- * Possible values: Enabled, Disabled
362
- */
363
- localAdministrator?: string;
364
- }
365
-
366
- /** Properties of an environment. */
367
- export declare interface Environment {
368
- /** Parameters object for the environment. */
369
- parameters?: unknown;
370
- /** Environment type. */
371
- environmentType: string;
372
- /** Name of the catalog. */
373
- catalogName: string;
374
- /** Name of the environment definition. */
375
- environmentDefinitionName: string;
376
- }
377
-
378
- /** An environment definition. */
379
- export declare interface EnvironmentDefinitionOutput {
380
- /** The ID of the environment definition. */
381
- id: string;
382
- /** Name of the environment definition. */
383
- name: string;
384
- /** Name of the catalog. */
385
- catalogName: string;
386
- /** A short description of the environment definition. */
387
- description?: string;
388
- /** Input parameters passed to an environment. */
389
- parameters?: Array<EnvironmentDefinitionParameterOutput>;
390
- /** JSON schema defining the parameters object passed to an environment. */
391
- parametersSchema?: string;
392
- /** Path to the Environment Definition entrypoint file. */
393
- templatePath?: string;
394
- }
395
-
396
- /** Properties of an Environment Definition parameter */
397
- export declare interface EnvironmentDefinitionParameterOutput {
398
- /** Unique ID of the parameter */
399
- id: string;
400
- /** Display name of the parameter */
401
- name?: string;
402
- /** Description of the parameter */
403
- description?: string;
404
- /** Default value of the parameter */
405
- default?: string;
406
- /**
407
- * A string of one of the basic JSON types (number, integer, array, object,
408
- * boolean, string)
409
- *
410
- * Possible values: array, boolean, integer, number, object, string
411
- */
412
- type: string;
413
- /**
414
- * Whether or not this parameter is read-only. If true, default should have a
415
- * value.
416
- */
417
- readOnly?: boolean;
418
- /** Whether or not this parameter is required */
419
- required: boolean;
420
- /** An array of allowed values */
421
- allowed?: string[];
422
- }
423
-
424
- /** Properties of an environment. */
425
- export declare interface EnvironmentOutput {
426
- /** Parameters object for the environment. */
427
- parameters?: any;
428
- /** Environment name. */
429
- readonly name?: string;
430
- /** Environment type. */
431
- environmentType: string;
432
- /** The AAD object id of the owner of this Environment. */
433
- readonly user?: string;
434
- /** The provisioning state of the environment. */
435
- readonly provisioningState?: string;
436
- /** The identifier of the resource group containing the environment's resources. */
437
- readonly resourceGroupId?: string;
438
- /** Name of the catalog. */
439
- catalogName: string;
440
- /** Name of the environment definition. */
441
- environmentDefinitionName: string;
442
- /** Provisioning error details. Populated only for error states. */
443
- readonly error?: ErrorModel;
444
- }
445
-
446
- /** Properties of an environment type. */
447
- export declare interface EnvironmentTypeOutput {
448
- /** Name of the environment type */
449
- name: string;
450
- /**
451
- * Id of a subscription or management group that the environment type will be
452
- * mapped to. The environment's resources will be deployed into this subscription
453
- * or management group.
454
- */
455
- deploymentTargetId: string;
456
- /**
457
- * Indicates whether this environment type is enabled for use in this project.
458
- *
459
- * Possible values: Enabled, Disabled
460
- */
461
- status: string;
462
- }
463
-
464
- /**
465
- * Helper type to extract the type of an array
466
- */
467
- export declare type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
468
-
469
- export declare interface GetCatalog {
470
- /** Gets the specified catalog within the project */
471
- get(options?: GetCatalogParameters): StreamableMethod<GetCatalog200Response | GetCatalogDefaultResponse>;
472
- }
473
-
474
- /** The request has succeeded. */
475
- export declare interface GetCatalog200Response extends HttpResponse {
476
- status: "200";
477
- body: CatalogOutput;
478
- }
479
-
480
- export declare interface GetCatalogDefaultHeaders {
481
- /** String error code indicating what went wrong. */
482
- "x-ms-error-code"?: string;
483
- }
484
-
485
- export declare interface GetCatalogDefaultResponse extends HttpResponse {
486
- status: string;
487
- body: ErrorResponse;
488
- headers: RawHttpHeaders & GetCatalogDefaultHeaders;
489
- }
490
-
491
- export declare type GetCatalogParameters = RequestParameters;
492
-
493
- export declare interface GetDevBox {
494
- /** Gets a Dev Box */
495
- get(options?: GetDevBoxParameters): StreamableMethod<GetDevBox200Response | GetDevBoxDefaultResponse>;
496
- /** Creates or replaces a Dev Box. */
497
- put(options: CreateDevBoxParameters): StreamableMethod<CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse>;
498
- /** Deletes a Dev Box. */
499
- delete(options?: DeleteDevBoxParameters): StreamableMethod<DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse>;
500
- }
501
-
502
- /** The request has succeeded. */
503
- export declare interface GetDevBox200Response extends HttpResponse {
504
- status: "200";
505
- body: DevBoxOutput;
506
- }
507
-
508
- export declare interface GetDevBoxAction {
509
- /** Gets an action. */
510
- get(options?: GetDevBoxActionParameters): StreamableMethod<GetDevBoxAction200Response | GetDevBoxActionDefaultResponse>;
511
- }
512
-
513
- /** The request has succeeded. */
514
- export declare interface GetDevBoxAction200Response extends HttpResponse {
515
- status: "200";
516
- body: DevBoxActionOutput;
517
- }
518
-
519
- export declare interface GetDevBoxActionDefaultHeaders {
520
- /** String error code indicating what went wrong. */
521
- "x-ms-error-code"?: string;
522
- }
523
-
524
- export declare interface GetDevBoxActionDefaultResponse extends HttpResponse {
525
- status: string;
526
- body: ErrorResponse;
527
- headers: RawHttpHeaders & GetDevBoxActionDefaultHeaders;
528
- }
529
-
530
- export declare type GetDevBoxActionParameters = RequestParameters;
531
-
532
- export declare interface GetDevBoxDefaultHeaders {
533
- /** String error code indicating what went wrong. */
534
- "x-ms-error-code"?: string;
535
- }
536
-
537
- export declare interface GetDevBoxDefaultResponse extends HttpResponse {
538
- status: string;
539
- body: ErrorResponse;
540
- headers: RawHttpHeaders & GetDevBoxDefaultHeaders;
541
- }
542
-
543
- export declare type GetDevBoxParameters = RequestParameters;
544
-
545
- export declare interface GetEnvironment {
546
- /** Gets an environment */
547
- get(options?: GetEnvironmentParameters): StreamableMethod<GetEnvironment200Response | GetEnvironmentDefaultResponse>;
548
- /** Creates or updates an environment. */
549
- put(options: CreateOrUpdateEnvironmentParameters): StreamableMethod<CreateOrUpdateEnvironment201Response | CreateOrUpdateEnvironmentDefaultResponse>;
550
- /** Deletes an environment and all its associated resources */
551
- delete(options?: DeleteEnvironmentParameters): StreamableMethod<DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse>;
552
- }
553
-
554
- /** The request has succeeded. */
555
- export declare interface GetEnvironment200Response extends HttpResponse {
556
- status: "200";
557
- body: EnvironmentOutput;
558
- }
559
-
560
- export declare interface GetEnvironmentDefaultHeaders {
561
- /** String error code indicating what went wrong. */
562
- "x-ms-error-code"?: string;
563
- }
564
-
565
- export declare interface GetEnvironmentDefaultResponse extends HttpResponse {
566
- status: string;
567
- body: ErrorResponse;
568
- headers: RawHttpHeaders & GetEnvironmentDefaultHeaders;
569
- }
570
-
571
- export declare interface GetEnvironmentDefinition {
572
- /** Get an environment definition from a catalog. */
573
- get(options?: GetEnvironmentDefinitionParameters): StreamableMethod<GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse>;
574
- }
575
-
576
- /** The request has succeeded. */
577
- export declare interface GetEnvironmentDefinition200Response extends HttpResponse {
578
- status: "200";
579
- body: EnvironmentDefinitionOutput;
580
- }
581
-
582
- export declare interface GetEnvironmentDefinitionDefaultHeaders {
583
- /** String error code indicating what went wrong. */
584
- "x-ms-error-code"?: string;
585
- }
586
-
587
- export declare interface GetEnvironmentDefinitionDefaultResponse extends HttpResponse {
588
- status: string;
589
- body: ErrorResponse;
590
- headers: RawHttpHeaders & GetEnvironmentDefinitionDefaultHeaders;
591
- }
592
-
593
- export declare type GetEnvironmentDefinitionParameters = RequestParameters;
594
-
595
- export declare type GetEnvironmentParameters = RequestParameters;
596
-
597
- /**
598
- * Helper function that builds a Poller object to help polling a long running operation.
599
- * @param client - Client to use for sending the request to get additional pages.
600
- * @param initialResponse - The initial response.
601
- * @param options - Options to set a resume state or custom polling interval.
602
- * @returns - A poller object to poll for operation state updates and eventually get the final response.
603
- */
604
- export declare function getLongRunningPoller<TResult extends CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse>(client: Client, initialResponse: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
605
-
606
- export declare function getLongRunningPoller<TResult extends DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse>(client: Client, initialResponse: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
607
-
608
- export declare function getLongRunningPoller<TResult extends StartDevBoxLogicalResponse | StartDevBoxDefaultResponse>(client: Client, initialResponse: StartDevBox202Response | StartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
609
-
610
- export declare function getLongRunningPoller<TResult extends StopDevBoxLogicalResponse | StopDevBoxDefaultResponse>(client: Client, initialResponse: StopDevBox202Response | StopDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
611
-
612
- export declare function getLongRunningPoller<TResult extends RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse>(client: Client, initialResponse: RestartDevBox202Response | RestartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
613
-
614
- export declare function getLongRunningPoller<TResult extends CreateOrUpdateEnvironmentLogicalResponse | CreateOrUpdateEnvironmentDefaultResponse>(client: Client, initialResponse: CreateOrUpdateEnvironment201Response | CreateOrUpdateEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
615
-
616
- export declare function getLongRunningPoller<TResult extends DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse>(client: Client, initialResponse: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
617
-
618
- /**
619
- * The type of a custom function that defines how to get a page and a link to the next one if any.
620
- */
621
- export declare type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
622
- page: TPage;
623
- nextPageLink?: string;
624
- }>;
625
-
626
- export declare interface GetPool {
627
- /** Gets a pool */
628
- get(options?: GetPoolParameters): StreamableMethod<GetPool200Response | GetPoolDefaultResponse>;
629
- }
630
-
631
- /** The request has succeeded. */
632
- export declare interface GetPool200Response extends HttpResponse {
633
- status: "200";
634
- body: PoolOutput;
635
- }
636
-
637
- export declare interface GetPoolDefaultHeaders {
638
- /** String error code indicating what went wrong. */
639
- "x-ms-error-code"?: string;
640
- }
641
-
642
- export declare interface GetPoolDefaultResponse extends HttpResponse {
643
- status: string;
644
- body: ErrorResponse;
645
- headers: RawHttpHeaders & GetPoolDefaultHeaders;
646
- }
647
-
648
- export declare type GetPoolParameters = RequestParameters;
649
-
650
- export declare interface GetProject {
651
- /** Gets a project. */
652
- get(options?: GetProjectParameters): StreamableMethod<GetProject200Response | GetProjectDefaultResponse>;
653
- }
654
-
655
- /** The request has succeeded. */
656
- export declare interface GetProject200Response extends HttpResponse {
657
- status: "200";
658
- body: ProjectOutput;
659
- }
660
-
661
- export declare interface GetProjectDefaultHeaders {
662
- /** String error code indicating what went wrong. */
663
- "x-ms-error-code"?: string;
664
- }
665
-
666
- export declare interface GetProjectDefaultResponse extends HttpResponse {
667
- status: string;
668
- body: ErrorResponse;
669
- headers: RawHttpHeaders & GetProjectDefaultHeaders;
670
- }
671
-
672
- export declare interface GetProjectOperationStatus {
673
- /** Get the status of an operation. */
674
- get(options?: GetProjectOperationStatusParameters): StreamableMethod<GetProjectOperationStatus200Response | GetProjectOperationStatusDefaultResponse>;
675
- }
676
-
677
- /** The request has succeeded. */
678
- export declare interface GetProjectOperationStatus200Response extends HttpResponse {
679
- status: "200";
680
- body: OperationStatusOutput;
681
- }
682
-
683
- export declare interface GetProjectOperationStatusDefaultHeaders {
684
- /** String error code indicating what went wrong. */
685
- "x-ms-error-code"?: string;
686
- }
687
-
688
- export declare interface GetProjectOperationStatusDefaultResponse extends HttpResponse {
689
- status: string;
690
- body: ErrorResponse;
691
- headers: RawHttpHeaders & GetProjectOperationStatusDefaultHeaders;
692
- }
693
-
694
- export declare type GetProjectOperationStatusParameters = RequestParameters;
695
-
696
- export declare type GetProjectParameters = RequestParameters;
697
-
698
- export declare interface GetRemoteConnection {
699
- /** Gets RDP Connection info */
700
- get(options?: GetRemoteConnectionParameters): StreamableMethod<GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse>;
701
- }
702
-
703
- /** The request has succeeded. */
704
- export declare interface GetRemoteConnection200Response extends HttpResponse {
705
- status: "200";
706
- body: RemoteConnectionOutput;
707
- }
708
-
709
- export declare interface GetRemoteConnectionDefaultHeaders {
710
- /** String error code indicating what went wrong. */
711
- "x-ms-error-code"?: string;
712
- }
713
-
714
- export declare interface GetRemoteConnectionDefaultResponse extends HttpResponse {
715
- status: string;
716
- body: ErrorResponse;
717
- headers: RawHttpHeaders & GetRemoteConnectionDefaultHeaders;
718
- }
719
-
720
- export declare type GetRemoteConnectionParameters = RequestParameters;
721
-
722
- export declare interface GetSchedule {
723
- /** Gets a schedule. */
724
- get(options?: GetScheduleParameters): StreamableMethod<GetSchedule200Response | GetScheduleDefaultResponse>;
725
- }
726
-
727
- /** The request has succeeded. */
728
- export declare interface GetSchedule200Response extends HttpResponse {
729
- status: "200";
730
- body: ScheduleOutput;
731
- }
732
-
733
- export declare interface GetScheduleDefaultHeaders {
734
- /** String error code indicating what went wrong. */
735
- "x-ms-error-code"?: string;
736
- }
737
-
738
- export declare interface GetScheduleDefaultResponse extends HttpResponse {
739
- status: string;
740
- body: ErrorResponse;
741
- headers: RawHttpHeaders & GetScheduleDefaultHeaders;
742
- }
743
-
744
- export declare type GetScheduleParameters = RequestParameters;
745
-
746
- /** Hardware specifications for the Dev Box. */
747
- export declare interface HardwareProfile {
748
- }
749
-
750
- /** Hardware specifications for the Dev Box. */
751
- export declare interface HardwareProfileOutput {
752
- /** The name of the SKU */
753
- readonly skuName?: string;
754
- /** The number of vCPUs available for the Dev Box. */
755
- readonly vCPUs?: number;
756
- /** The amount of memory available for the Dev Box. */
757
- readonly memoryGB?: number;
758
- }
759
-
760
- /** Specifies information about the image used */
761
- export declare interface ImageReference {
762
- }
763
-
764
- /** Specifies information about the image used */
765
- export declare interface ImageReferenceOutput {
766
- /** The name of the image used. */
767
- readonly name?: string;
768
- /** The version of the image. */
769
- readonly version?: string;
770
- /** The operating system of the image. */
771
- readonly operatingSystem?: string;
772
- /** The operating system build number of the image. */
773
- readonly osBuildNumber?: string;
774
- /** The datetime that the backing image version was published. */
775
- readonly publishedDate?: string;
776
- }
777
-
778
- export declare function isUnexpected(response: ListProjects200Response | ListProjectsDefaultResponse): response is ListProjectsDefaultResponse;
779
-
780
- export declare function isUnexpected(response: GetProject200Response | GetProjectDefaultResponse): response is GetProjectDefaultResponse;
781
-
782
- export declare function isUnexpected(response: GetProjectOperationStatus200Response | GetProjectOperationStatusDefaultResponse): response is GetProjectOperationStatusDefaultResponse;
783
-
784
- export declare function isUnexpected(response: ListPools200Response | ListPoolsDefaultResponse): response is ListPoolsDefaultResponse;
785
-
786
- export declare function isUnexpected(response: GetPool200Response | GetPoolDefaultResponse): response is GetPoolDefaultResponse;
787
-
788
- export declare function isUnexpected(response: ListSchedules200Response | ListSchedulesDefaultResponse): response is ListSchedulesDefaultResponse;
789
-
790
- export declare function isUnexpected(response: GetSchedule200Response | GetScheduleDefaultResponse): response is GetScheduleDefaultResponse;
791
-
792
- export declare function isUnexpected(response: ListDevBoxes200Response | ListDevBoxesDefaultResponse): response is ListDevBoxesDefaultResponse;
793
-
794
- export declare function isUnexpected(response: GetDevBox200Response | GetDevBoxDefaultResponse): response is GetDevBoxDefaultResponse;
795
-
796
- export declare function isUnexpected(response: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse): response is CreateDevBoxDefaultResponse;
797
-
798
- export declare function isUnexpected(response: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse): response is DeleteDevBoxDefaultResponse;
799
-
800
- export declare function isUnexpected(response: StartDevBox202Response | StartDevBoxLogicalResponse | StartDevBoxDefaultResponse): response is StartDevBoxDefaultResponse;
801
-
802
- export declare function isUnexpected(response: StopDevBox202Response | StopDevBoxLogicalResponse | StopDevBoxDefaultResponse): response is StopDevBoxDefaultResponse;
803
-
804
- export declare function isUnexpected(response: RestartDevBox202Response | RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse): response is RestartDevBoxDefaultResponse;
805
-
806
- export declare function isUnexpected(response: GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse): response is GetRemoteConnectionDefaultResponse;
807
-
808
- export declare function isUnexpected(response: ListDevBoxActions200Response | ListDevBoxActionsDefaultResponse): response is ListDevBoxActionsDefaultResponse;
809
-
810
- export declare function isUnexpected(response: GetDevBoxAction200Response | GetDevBoxActionDefaultResponse): response is GetDevBoxActionDefaultResponse;
811
-
812
- export declare function isUnexpected(response: SkipAction204Response | SkipActionDefaultResponse): response is SkipActionDefaultResponse;
813
-
814
- export declare function isUnexpected(response: DelayAction200Response | DelayActionDefaultResponse): response is DelayActionDefaultResponse;
815
-
816
- export declare function isUnexpected(response: DelayAllActions200Response | DelayAllActionsDefaultResponse): response is DelayAllActionsDefaultResponse;
817
-
818
- export declare function isUnexpected(response: ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse): response is ListAllDevBoxesDefaultResponse;
819
-
820
- export declare function isUnexpected(response: ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse): response is ListAllDevBoxesByUserDefaultResponse;
821
-
822
- export declare function isUnexpected(response: ListAllEnvironments200Response | ListAllEnvironmentsDefaultResponse): response is ListAllEnvironmentsDefaultResponse;
823
-
824
- export declare function isUnexpected(response: ListEnvironments200Response | ListEnvironmentsDefaultResponse): response is ListEnvironmentsDefaultResponse;
825
-
826
- export declare function isUnexpected(response: GetEnvironment200Response | GetEnvironmentDefaultResponse): response is GetEnvironmentDefaultResponse;
827
-
828
- export declare function isUnexpected(response: CreateOrUpdateEnvironment201Response | CreateOrUpdateEnvironmentLogicalResponse | CreateOrUpdateEnvironmentDefaultResponse): response is CreateOrUpdateEnvironmentDefaultResponse;
829
-
830
- export declare function isUnexpected(response: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse): response is DeleteEnvironmentDefaultResponse;
831
-
832
- export declare function isUnexpected(response: ListCatalogs200Response | ListCatalogsDefaultResponse): response is ListCatalogsDefaultResponse;
833
-
834
- export declare function isUnexpected(response: GetCatalog200Response | GetCatalogDefaultResponse): response is GetCatalogDefaultResponse;
835
-
836
- export declare function isUnexpected(response: ListEnvironmentDefinitions200Response | ListEnvironmentDefinitionsDefaultResponse): response is ListEnvironmentDefinitionsDefaultResponse;
837
-
838
- export declare function isUnexpected(response: ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse): response is ListEnvironmentDefinitionsByCatalogDefaultResponse;
839
-
840
- export declare function isUnexpected(response: GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse): response is GetEnvironmentDefinitionDefaultResponse;
841
-
842
- export declare function isUnexpected(response: ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse): response is ListEnvironmentTypesDefaultResponse;
843
-
844
- export declare interface ListAllDevBoxes {
845
- /** Lists Dev Boxes that the caller has access to in the DevCenter. */
846
- get(options?: ListAllDevBoxesParameters): StreamableMethod<ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse>;
847
- }
848
-
849
- /** The request has succeeded. */
850
- export declare interface ListAllDevBoxes200Response extends HttpResponse {
851
- status: "200";
852
- body: PagedDevBoxOutput;
853
- }
854
-
855
- export declare interface ListAllDevBoxesByUser {
856
- /** Lists Dev Boxes in the Dev Center for a particular user. */
857
- get(options?: ListAllDevBoxesByUserParameters): StreamableMethod<ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse>;
858
- }
859
-
860
- /** The request has succeeded. */
861
- export declare interface ListAllDevBoxesByUser200Response extends HttpResponse {
862
- status: "200";
863
- body: PagedDevBoxOutput;
864
- }
865
-
866
- export declare interface ListAllDevBoxesByUserDefaultHeaders {
867
- /** String error code indicating what went wrong. */
868
- "x-ms-error-code"?: string;
869
- }
870
-
871
- export declare interface ListAllDevBoxesByUserDefaultResponse extends HttpResponse {
872
- status: string;
873
- body: ErrorResponse;
874
- headers: RawHttpHeaders & ListAllDevBoxesByUserDefaultHeaders;
875
- }
876
-
877
- export declare type ListAllDevBoxesByUserParameters = ListAllDevBoxesByUserQueryParam & RequestParameters;
878
-
879
- export declare interface ListAllDevBoxesByUserQueryParam {
880
- queryParameters?: ListAllDevBoxesByUserQueryParamProperties;
881
- }
882
-
883
- export declare interface ListAllDevBoxesByUserQueryParamProperties {
884
- /** An OData filter clause to apply to the operation. */
885
- filter?: string;
886
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
887
- top?: number;
888
- }
889
-
890
- export declare interface ListAllDevBoxesDefaultHeaders {
891
- /** String error code indicating what went wrong. */
892
- "x-ms-error-code"?: string;
893
- }
894
-
895
- export declare interface ListAllDevBoxesDefaultResponse extends HttpResponse {
896
- status: string;
897
- body: ErrorResponse;
898
- headers: RawHttpHeaders & ListAllDevBoxesDefaultHeaders;
899
- }
900
-
901
- export declare type ListAllDevBoxesParameters = ListAllDevBoxesQueryParam & RequestParameters;
902
-
903
- export declare interface ListAllDevBoxesQueryParam {
904
- queryParameters?: ListAllDevBoxesQueryParamProperties;
905
- }
906
-
907
- export declare interface ListAllDevBoxesQueryParamProperties {
908
- /** An OData filter clause to apply to the operation. */
909
- filter?: string;
910
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
911
- top?: number;
912
- }
913
-
914
- export declare interface ListAllEnvironments {
915
- /** Lists the environments for a project. */
916
- get(options?: ListAllEnvironmentsParameters): StreamableMethod<ListAllEnvironments200Response | ListAllEnvironmentsDefaultResponse>;
917
- }
918
-
919
- /** The request has succeeded. */
920
- export declare interface ListAllEnvironments200Response extends HttpResponse {
921
- status: "200";
922
- body: PagedEnvironmentOutput;
923
- }
924
-
925
- export declare interface ListAllEnvironmentsDefaultHeaders {
926
- /** String error code indicating what went wrong. */
927
- "x-ms-error-code"?: string;
928
- }
929
-
930
- export declare interface ListAllEnvironmentsDefaultResponse extends HttpResponse {
931
- status: string;
932
- body: ErrorResponse;
933
- headers: RawHttpHeaders & ListAllEnvironmentsDefaultHeaders;
934
- }
935
-
936
- export declare type ListAllEnvironmentsParameters = ListAllEnvironmentsQueryParam & RequestParameters;
937
-
938
- export declare interface ListAllEnvironmentsQueryParam {
939
- queryParameters?: ListAllEnvironmentsQueryParamProperties;
940
- }
941
-
942
- export declare interface ListAllEnvironmentsQueryParamProperties {
943
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
944
- top?: number;
945
- }
946
-
947
- export declare interface ListCatalogs {
948
- /** Lists all of the catalogs available for a project. */
949
- get(options?: ListCatalogsParameters): StreamableMethod<ListCatalogs200Response | ListCatalogsDefaultResponse>;
950
- }
951
-
952
- /** The request has succeeded. */
953
- export declare interface ListCatalogs200Response extends HttpResponse {
954
- status: "200";
955
- body: PagedCatalogOutput;
956
- }
957
-
958
- export declare interface ListCatalogsDefaultHeaders {
959
- /** String error code indicating what went wrong. */
960
- "x-ms-error-code"?: string;
961
- }
962
-
963
- export declare interface ListCatalogsDefaultResponse extends HttpResponse {
964
- status: string;
965
- body: ErrorResponse;
966
- headers: RawHttpHeaders & ListCatalogsDefaultHeaders;
967
- }
968
-
969
- export declare type ListCatalogsParameters = ListCatalogsQueryParam & RequestParameters;
970
-
971
- export declare interface ListCatalogsQueryParam {
972
- queryParameters?: ListCatalogsQueryParamProperties;
973
- }
974
-
975
- export declare interface ListCatalogsQueryParamProperties {
976
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
977
- top?: number;
978
- }
979
-
980
- export declare interface ListDevBoxActions {
981
- /** Lists actions on a Dev Box. */
982
- get(options?: ListDevBoxActionsParameters): StreamableMethod<ListDevBoxActions200Response | ListDevBoxActionsDefaultResponse>;
983
- }
984
-
985
- /** The request has succeeded. */
986
- export declare interface ListDevBoxActions200Response extends HttpResponse {
987
- status: "200";
988
- body: PagedDevBoxActionOutput;
989
- }
990
-
991
- export declare interface ListDevBoxActionsDefaultHeaders {
992
- /** String error code indicating what went wrong. */
993
- "x-ms-error-code"?: string;
994
- }
995
-
996
- export declare interface ListDevBoxActionsDefaultResponse extends HttpResponse {
997
- status: string;
998
- body: ErrorResponse;
999
- headers: RawHttpHeaders & ListDevBoxActionsDefaultHeaders;
1000
- }
1001
-
1002
- export declare type ListDevBoxActionsParameters = RequestParameters;
1003
-
1004
- export declare interface ListDevBoxes {
1005
- /** Lists Dev Boxes in the project for a particular user. */
1006
- get(options?: ListDevBoxesParameters): StreamableMethod<ListDevBoxes200Response | ListDevBoxesDefaultResponse>;
1007
- }
1008
-
1009
- /** The request has succeeded. */
1010
- export declare interface ListDevBoxes200Response extends HttpResponse {
1011
- status: "200";
1012
- body: PagedDevBoxOutput;
1013
- }
1014
-
1015
- export declare interface ListDevBoxesDefaultHeaders {
1016
- /** String error code indicating what went wrong. */
1017
- "x-ms-error-code"?: string;
1018
- }
1019
-
1020
- export declare interface ListDevBoxesDefaultResponse extends HttpResponse {
1021
- status: string;
1022
- body: ErrorResponse;
1023
- headers: RawHttpHeaders & ListDevBoxesDefaultHeaders;
1024
- }
1025
-
1026
- export declare type ListDevBoxesParameters = ListDevBoxesQueryParam & RequestParameters;
1027
-
1028
- export declare interface ListDevBoxesQueryParam {
1029
- queryParameters?: ListDevBoxesQueryParamProperties;
1030
- }
1031
-
1032
- export declare interface ListDevBoxesQueryParamProperties {
1033
- /** An OData filter clause to apply to the operation. */
1034
- filter?: string;
1035
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
1036
- top?: number;
1037
- }
1038
-
1039
- export declare interface ListEnvironmentDefinitions {
1040
- /** Lists all environment definitions available for a project. */
1041
- get(options?: ListEnvironmentDefinitionsParameters): StreamableMethod<ListEnvironmentDefinitions200Response | ListEnvironmentDefinitionsDefaultResponse>;
1042
- }
1043
-
1044
- /** The request has succeeded. */
1045
- export declare interface ListEnvironmentDefinitions200Response extends HttpResponse {
1046
- status: "200";
1047
- body: PagedEnvironmentDefinitionOutput;
1048
- }
1049
-
1050
- export declare interface ListEnvironmentDefinitionsByCatalog {
1051
- /** Lists all environment definitions available within a catalog. */
1052
- get(options?: ListEnvironmentDefinitionsByCatalogParameters): StreamableMethod<ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse>;
1053
- }
1054
-
1055
- /** The request has succeeded. */
1056
- export declare interface ListEnvironmentDefinitionsByCatalog200Response extends HttpResponse {
1057
- status: "200";
1058
- body: PagedEnvironmentDefinitionOutput;
1059
- }
1060
-
1061
- export declare interface ListEnvironmentDefinitionsByCatalogDefaultHeaders {
1062
- /** String error code indicating what went wrong. */
1063
- "x-ms-error-code"?: string;
1064
- }
1065
-
1066
- export declare interface ListEnvironmentDefinitionsByCatalogDefaultResponse extends HttpResponse {
1067
- status: string;
1068
- body: ErrorResponse;
1069
- headers: RawHttpHeaders & ListEnvironmentDefinitionsByCatalogDefaultHeaders;
1070
- }
1071
-
1072
- export declare type ListEnvironmentDefinitionsByCatalogParameters = ListEnvironmentDefinitionsByCatalogQueryParam & RequestParameters;
1073
-
1074
- export declare interface ListEnvironmentDefinitionsByCatalogQueryParam {
1075
- queryParameters?: ListEnvironmentDefinitionsByCatalogQueryParamProperties;
1076
- }
1077
-
1078
- export declare interface ListEnvironmentDefinitionsByCatalogQueryParamProperties {
1079
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
1080
- top?: number;
1081
- }
1082
-
1083
- export declare interface ListEnvironmentDefinitionsDefaultHeaders {
1084
- /** String error code indicating what went wrong. */
1085
- "x-ms-error-code"?: string;
1086
- }
1087
-
1088
- export declare interface ListEnvironmentDefinitionsDefaultResponse extends HttpResponse {
1089
- status: string;
1090
- body: ErrorResponse;
1091
- headers: RawHttpHeaders & ListEnvironmentDefinitionsDefaultHeaders;
1092
- }
1093
-
1094
- export declare type ListEnvironmentDefinitionsParameters = ListEnvironmentDefinitionsQueryParam & RequestParameters;
1095
-
1096
- export declare interface ListEnvironmentDefinitionsQueryParam {
1097
- queryParameters?: ListEnvironmentDefinitionsQueryParamProperties;
1098
- }
1099
-
1100
- export declare interface ListEnvironmentDefinitionsQueryParamProperties {
1101
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
1102
- top?: number;
1103
- }
1104
-
1105
- export declare interface ListEnvironments {
1106
- /** Lists the environments for a project and user. */
1107
- get(options?: ListEnvironmentsParameters): StreamableMethod<ListEnvironments200Response | ListEnvironmentsDefaultResponse>;
1108
- }
1109
-
1110
- /** The request has succeeded. */
1111
- export declare interface ListEnvironments200Response extends HttpResponse {
1112
- status: "200";
1113
- body: PagedEnvironmentOutput;
1114
- }
1115
-
1116
- export declare interface ListEnvironmentsDefaultHeaders {
1117
- /** String error code indicating what went wrong. */
1118
- "x-ms-error-code"?: string;
1119
- }
1120
-
1121
- export declare interface ListEnvironmentsDefaultResponse extends HttpResponse {
1122
- status: string;
1123
- body: ErrorResponse;
1124
- headers: RawHttpHeaders & ListEnvironmentsDefaultHeaders;
1125
- }
1126
-
1127
- export declare type ListEnvironmentsParameters = ListEnvironmentsQueryParam & RequestParameters;
1128
-
1129
- export declare interface ListEnvironmentsQueryParam {
1130
- queryParameters?: ListEnvironmentsQueryParamProperties;
1131
- }
1132
-
1133
- export declare interface ListEnvironmentsQueryParamProperties {
1134
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
1135
- top?: number;
1136
- }
1137
-
1138
- export declare interface ListEnvironmentTypes {
1139
- /** Lists all environment types configured for a project. */
1140
- get(options?: ListEnvironmentTypesParameters): StreamableMethod<ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse>;
1141
- }
1142
-
1143
- /** The request has succeeded. */
1144
- export declare interface ListEnvironmentTypes200Response extends HttpResponse {
1145
- status: "200";
1146
- body: PagedEnvironmentTypeOutput;
1147
- }
1148
-
1149
- export declare interface ListEnvironmentTypesDefaultHeaders {
1150
- /** String error code indicating what went wrong. */
1151
- "x-ms-error-code"?: string;
1152
- }
1153
-
1154
- export declare interface ListEnvironmentTypesDefaultResponse extends HttpResponse {
1155
- status: string;
1156
- body: ErrorResponse;
1157
- headers: RawHttpHeaders & ListEnvironmentTypesDefaultHeaders;
1158
- }
1159
-
1160
- export declare type ListEnvironmentTypesParameters = ListEnvironmentTypesQueryParam & RequestParameters;
1161
-
1162
- export declare interface ListEnvironmentTypesQueryParam {
1163
- queryParameters?: ListEnvironmentTypesQueryParamProperties;
1164
- }
1165
-
1166
- export declare interface ListEnvironmentTypesQueryParamProperties {
1167
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
1168
- top?: number;
1169
- }
1170
-
1171
- export declare interface ListPools {
1172
- /** Lists available pools */
1173
- get(options?: ListPoolsParameters): StreamableMethod<ListPools200Response | ListPoolsDefaultResponse>;
1174
- }
1175
-
1176
- /** The request has succeeded. */
1177
- export declare interface ListPools200Response extends HttpResponse {
1178
- status: "200";
1179
- body: PagedPoolOutput;
1180
- }
1181
-
1182
- export declare interface ListPoolsDefaultHeaders {
1183
- /** String error code indicating what went wrong. */
1184
- "x-ms-error-code"?: string;
1185
- }
1186
-
1187
- export declare interface ListPoolsDefaultResponse extends HttpResponse {
1188
- status: string;
1189
- body: ErrorResponse;
1190
- headers: RawHttpHeaders & ListPoolsDefaultHeaders;
1191
- }
1192
-
1193
- export declare type ListPoolsParameters = ListPoolsQueryParam & RequestParameters;
1194
-
1195
- export declare interface ListPoolsQueryParam {
1196
- queryParameters?: ListPoolsQueryParamProperties;
1197
- }
1198
-
1199
- export declare interface ListPoolsQueryParamProperties {
1200
- /** An OData filter clause to apply to the operation. */
1201
- filter?: string;
1202
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
1203
- top?: number;
1204
- }
1205
-
1206
- export declare interface ListProjects {
1207
- /** Lists all projects. */
1208
- get(options?: ListProjectsParameters): StreamableMethod<ListProjects200Response | ListProjectsDefaultResponse>;
1209
- }
1210
-
1211
- /** The request has succeeded. */
1212
- export declare interface ListProjects200Response extends HttpResponse {
1213
- status: "200";
1214
- body: PagedProjectOutput;
1215
- }
1216
-
1217
- export declare interface ListProjectsDefaultHeaders {
1218
- /** String error code indicating what went wrong. */
1219
- "x-ms-error-code"?: string;
1220
- }
1221
-
1222
- export declare interface ListProjectsDefaultResponse extends HttpResponse {
1223
- status: string;
1224
- body: ErrorResponse;
1225
- headers: RawHttpHeaders & ListProjectsDefaultHeaders;
1226
- }
1227
-
1228
- export declare type ListProjectsParameters = ListProjectsQueryParam & RequestParameters;
1229
-
1230
- export declare interface ListProjectsQueryParam {
1231
- queryParameters?: ListProjectsQueryParamProperties;
1232
- }
1233
-
1234
- export declare interface ListProjectsQueryParamProperties {
1235
- /** An OData filter clause to apply to the operation. */
1236
- filter?: string;
1237
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
1238
- top?: number;
1239
- }
1240
-
1241
- export declare interface ListSchedules {
1242
- /** Lists available schedules for a pool. */
1243
- get(options?: ListSchedulesParameters): StreamableMethod<ListSchedules200Response | ListSchedulesDefaultResponse>;
1244
- }
1245
-
1246
- /** The request has succeeded. */
1247
- export declare interface ListSchedules200Response extends HttpResponse {
1248
- status: "200";
1249
- body: PagedScheduleOutput;
1250
- }
1251
-
1252
- export declare interface ListSchedulesDefaultHeaders {
1253
- /** String error code indicating what went wrong. */
1254
- "x-ms-error-code"?: string;
1255
- }
1256
-
1257
- export declare interface ListSchedulesDefaultResponse extends HttpResponse {
1258
- status: string;
1259
- body: ErrorResponse;
1260
- headers: RawHttpHeaders & ListSchedulesDefaultHeaders;
1261
- }
1262
-
1263
- export declare type ListSchedulesParameters = ListSchedulesQueryParam & RequestParameters;
1264
-
1265
- export declare interface ListSchedulesQueryParam {
1266
- queryParameters?: ListSchedulesQueryParamProperties;
1267
- }
1268
-
1269
- export declare interface ListSchedulesQueryParamProperties {
1270
- /** An OData filter clause to apply to the operation. */
1271
- filter?: string;
1272
- /** The maximum number of resources to return from the operation. Example: 'top=10'. */
1273
- top?: number;
1274
- }
1275
-
1276
- /** Operation Error message */
1277
- export declare interface OperationStatusErrorOutput {
1278
- /** The error code. */
1279
- code?: string;
1280
- /** The error message. */
1281
- message?: string;
1282
- }
1283
-
1284
- /** The current status of an async operation */
1285
- export declare interface OperationStatusOutput {
1286
- /** Fully qualified ID for the operation status. */
1287
- id?: string;
1288
- /** The operation id name */
1289
- name?: string;
1290
- /**
1291
- * Provisioning state of the resource.
1292
- *
1293
- * Possible values: Running, Completed, Canceled, Failed
1294
- */
1295
- status: string;
1296
- /** The id of the resource. */
1297
- resourceId?: string;
1298
- /** The start time of the operation */
1299
- startTime?: string;
1300
- /** The end time of the operation */
1301
- endTime?: string;
1302
- /** Percent of the operation that is complete */
1303
- percentComplete?: number;
1304
- /** Custom operation properties, populated only for a successful operation. */
1305
- properties?: any;
1306
- /** Operation Error message */
1307
- error?: OperationStatusErrorOutput;
1308
- }
1309
-
1310
- /** Settings for the operating system disk. */
1311
- export declare interface OSDisk {
1312
- }
1313
-
1314
- /** Settings for the operating system disk. */
1315
- export declare interface OSDiskOutput {
1316
- /** The size of the OS Disk in gigabytes. */
1317
- readonly diskSizeGB?: number;
1318
- }
1319
-
1320
- /** Results of the catalog list operation. */
1321
- export declare type PagedCatalogOutput = Paged<CatalogOutput>;
1322
-
1323
- /** The actions list result */
1324
- export declare type PagedDevBoxActionDelayResultOutput = Paged<DevBoxActionDelayResultOutput>;
1325
-
1326
- /** The actions list result */
1327
- export declare type PagedDevBoxActionOutput = Paged<DevBoxActionOutput>;
1328
-
1329
- /** The Dev Box list result */
1330
- export declare type PagedDevBoxOutput = Paged<DevBoxOutput>;
1331
-
1332
- /** Results of the environment definition list operation. */
1333
- export declare type PagedEnvironmentDefinitionOutput = Paged<EnvironmentDefinitionOutput>;
1334
-
1335
- /** Results of the environment list operation. */
1336
- export declare type PagedEnvironmentOutput = Paged<EnvironmentOutput>;
1337
-
1338
- /** Result of the environment type list operation. */
1339
- export declare type PagedEnvironmentTypeOutput = Paged<EnvironmentTypeOutput>;
1340
-
1341
- /** The Pool list result */
1342
- export declare type PagedPoolOutput = Paged<PoolOutput>;
1343
-
1344
- /** Results of the project list operation. */
1345
- export declare type PagedProjectOutput = Paged<ProjectOutput>;
1346
-
1347
- /** The Schedule list result */
1348
- export declare type PagedScheduleOutput = Paged<ScheduleOutput>;
1349
-
1350
- /**
1351
- * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
1352
- * @param client - Client to use for sending the next page requests
1353
- * @param initialResponse - Initial response containing the nextLink and current page of elements
1354
- * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
1355
- * @returns - PagedAsyncIterableIterator to iterate the elements
1356
- */
1357
- export declare function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1358
-
1359
- /**
1360
- * Helper type to infer the Type of the paged elements from the response type
1361
- * This type is generated based on the swagger information for x-ms-pageable
1362
- * specifically on the itemName property which indicates the property of the response
1363
- * where the page items are found. The default value is `value`.
1364
- * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter
1365
- */
1366
- export declare type PaginateReturn<TResult> = TResult extends {
1367
- body: {
1368
- value?: infer TPage;
1369
- };
1370
- } ? GetArrayType<TPage> : Array<unknown>;
1371
-
1372
- /**
1373
- * Options for the paging helper
1374
- */
1375
- export declare interface PagingOptions<TResponse> {
1376
- /**
1377
- * Custom function to extract pagination details for crating the PagedAsyncIterableIterator
1378
- */
1379
- customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1380
- }
1381
-
1382
- /** A pool of Dev Boxes. */
1383
- export declare interface PoolOutput {
1384
- /** Pool name */
1385
- readonly name: string;
1386
- /** Azure region where Dev Boxes in the pool are located */
1387
- location: string;
1388
- /**
1389
- * The operating system type of Dev Boxes in this pool
1390
- *
1391
- * Possible values: Windows
1392
- */
1393
- osType?: string;
1394
- /** Hardware settings for the Dev Boxes created in this pool */
1395
- hardwareProfile?: HardwareProfileOutput;
1396
- /**
1397
- * Indicates whether hibernate is enabled/disabled or unknown.
1398
- *
1399
- * Possible values: Enabled, Disabled, OsUnsupported
1400
- */
1401
- hibernateSupport?: string;
1402
- /** Storage settings for Dev Box created in this pool */
1403
- storageProfile?: StorageProfileOutput;
1404
- /** Image settings for Dev Boxes create in this pool */
1405
- imageReference?: ImageReferenceOutput;
1406
- /**
1407
- * Indicates whether owners of Dev Boxes in this pool are local administrators on
1408
- * the Dev Boxes.
1409
- *
1410
- * Possible values: Enabled, Disabled
1411
- */
1412
- localAdministrator?: string;
1413
- /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */
1414
- stopOnDisconnect?: StopOnDisconnectConfigurationOutput;
1415
- /**
1416
- * Overall health status of the Pool. Indicates whether or not the Pool is
1417
- * available to create Dev Boxes.
1418
- *
1419
- * Possible values: Unknown, Pending, Healthy, Warning, Unhealthy
1420
- */
1421
- healthStatus: string;
1422
- }
1423
-
1424
- /** Project details. */
1425
- export declare interface ProjectOutput {
1426
- /** Name of the project */
1427
- readonly name: string;
1428
- /** Description of the project. */
1429
- description?: string;
1430
- /**
1431
- * When specified, indicates the maximum number of Dev Boxes a single user can
1432
- * create across all pools in the project.
1433
- */
1434
- maxDevBoxesPerUser?: number;
1435
- }
1436
-
1437
- /** Provides remote connection information for a Dev Box. */
1438
- export declare interface RemoteConnectionOutput {
1439
- /** URL to open a browser based RDP session. */
1440
- webUrl?: string;
1441
- /** Link to open a Remote Desktop session. */
1442
- rdpConnectionUrl?: string;
1443
- }
1444
-
1445
- export declare interface RestartDevBox {
1446
- /** Restarts a Dev Box */
1447
- post(options?: RestartDevBoxParameters): StreamableMethod<RestartDevBox202Response | RestartDevBoxDefaultResponse>;
1448
- }
1449
-
1450
- export declare interface RestartDevBox202Headers {
1451
- /** The location for monitoring the operation state. */
1452
- "operation-location": string;
1453
- }
1454
-
1455
- /** The request has been accepted for processing, but processing has not yet completed. */
1456
- export declare interface RestartDevBox202Response extends HttpResponse {
1457
- status: "202";
1458
- body: OperationStatusOutput;
1459
- headers: RawHttpHeaders & RestartDevBox202Headers;
1460
- }
1461
-
1462
- export declare interface RestartDevBoxDefaultHeaders {
1463
- /** String error code indicating what went wrong. */
1464
- "x-ms-error-code"?: string;
1465
- }
1466
-
1467
- export declare interface RestartDevBoxDefaultResponse extends HttpResponse {
1468
- status: string;
1469
- body: ErrorResponse;
1470
- headers: RawHttpHeaders & RestartDevBoxDefaultHeaders;
1471
- }
1472
-
1473
- /** The final response for long-running RestartDevBox operation */
1474
- export declare interface RestartDevBoxLogicalResponse extends HttpResponse {
1475
- status: "200";
1476
- body: OperationStatusOutput;
1477
- }
1478
-
1479
- export declare type RestartDevBoxParameters = RequestParameters;
1480
-
1481
- export declare interface Routes {
1482
- /** Resource for '/projects' has methods for the following verbs: get */
1483
- (path: "/projects"): ListProjects;
1484
- /** Resource for '/projects/\{projectName\}' has methods for the following verbs: get */
1485
- (path: "/projects/{projectName}", projectName: string): GetProject;
1486
- /** Resource for '/projects/\{projectName\}/operationstatuses/\{operationId\}' has methods for the following verbs: get */
1487
- (path: "/projects/{projectName}/operationstatuses/{operationId}", projectName: string, operationId: string): GetProjectOperationStatus;
1488
- /** Resource for '/projects/\{projectName\}/pools' has methods for the following verbs: get */
1489
- (path: "/projects/{projectName}/pools", projectName: string): ListPools;
1490
- /** Resource for '/projects/\{projectName\}/pools/\{poolName\}' has methods for the following verbs: get */
1491
- (path: "/projects/{projectName}/pools/{poolName}", projectName: string, poolName: string): GetPool;
1492
- /** Resource for '/projects/\{projectName\}/pools/\{poolName\}/schedules' has methods for the following verbs: get */
1493
- (path: "/projects/{projectName}/pools/{poolName}/schedules", projectName: string, poolName: string): ListSchedules;
1494
- /** Resource for '/projects/\{projectName\}/pools/\{poolName\}/schedules/\{scheduleName\}' has methods for the following verbs: get */
1495
- (path: "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}", projectName: string, poolName: string, scheduleName: string): GetSchedule;
1496
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes' has methods for the following verbs: get */
1497
- (path: "/projects/{projectName}/users/{userId}/devboxes", projectName: string, userId: string): ListDevBoxes;
1498
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}' has methods for the following verbs: get, put, delete */
1499
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}", projectName: string, userId: string, devBoxName: string): GetDevBox;
1500
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}:start' has methods for the following verbs: post */
1501
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start", projectName: string, userId: string, devBoxName: string): StartDevBox;
1502
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}:stop' has methods for the following verbs: post */
1503
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): StopDevBox;
1504
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}:restart' has methods for the following verbs: post */
1505
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restart", projectName: string, userId: string, devBoxName: string): RestartDevBox;
1506
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/remoteConnection' has methods for the following verbs: get */
1507
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection", projectName: string, userId: string, devBoxName: string): GetRemoteConnection;
1508
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/actions' has methods for the following verbs: get */
1509
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions", projectName: string, userId: string, devBoxName: string): ListDevBoxActions;
1510
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/actions/\{actionName\}' has methods for the following verbs: get */
1511
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}", projectName: string, userId: string, devBoxName: string, actionName: string): GetDevBoxAction;
1512
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/actions/\{actionName\}:skip' has methods for the following verbs: post */
1513
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:skip", projectName: string, userId: string, devBoxName: string, actionName: string): SkipAction;
1514
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/actions/\{actionName\}:delay' has methods for the following verbs: post */
1515
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:delay", projectName: string, userId: string, devBoxName: string, actionName: string): DelayAction;
1516
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/devboxes/\{devBoxName\}/actions:delay' has methods for the following verbs: post */
1517
- (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions:delay", projectName: string, userId: string, devBoxName: string): DelayAllActions;
1518
- /** Resource for '/devboxes' has methods for the following verbs: get */
1519
- (path: "/devboxes"): ListAllDevBoxes;
1520
- /** Resource for '/users/\{userId\}/devboxes' has methods for the following verbs: get */
1521
- (path: "/users/{userId}/devboxes", userId: string): ListAllDevBoxesByUser;
1522
- /** Resource for '/projects/\{projectName\}/environments' has methods for the following verbs: get */
1523
- (path: "/projects/{projectName}/environments", projectName: string): ListAllEnvironments;
1524
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/environments' has methods for the following verbs: get */
1525
- (path: "/projects/{projectName}/users/{userId}/environments", projectName: string, userId: string): ListEnvironments;
1526
- /** Resource for '/projects/\{projectName\}/users/\{userId\}/environments/\{environmentName\}' has methods for the following verbs: get, put, delete */
1527
- (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): GetEnvironment;
1528
- /** Resource for '/projects/\{projectName\}/catalogs' has methods for the following verbs: get */
1529
- (path: "/projects/{projectName}/catalogs", projectName: string): ListCatalogs;
1530
- /** Resource for '/projects/\{projectName\}/catalogs/\{catalogName\}' has methods for the following verbs: get */
1531
- (path: "/projects/{projectName}/catalogs/{catalogName}", projectName: string, catalogName: string): GetCatalog;
1532
- /** Resource for '/projects/\{projectName\}/environmentDefinitions' has methods for the following verbs: get */
1533
- (path: "/projects/{projectName}/environmentDefinitions", projectName: string): ListEnvironmentDefinitions;
1534
- /** Resource for '/projects/\{projectName\}/catalogs/\{catalogName\}/environmentDefinitions' has methods for the following verbs: get */
1535
- (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions", projectName: string, catalogName: string): ListEnvironmentDefinitionsByCatalog;
1536
- /** Resource for '/projects/\{projectName\}/catalogs/\{catalogName\}/environmentDefinitions/\{definitionName\}' has methods for the following verbs: get */
1537
- (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName}", projectName: string, catalogName: string, definitionName: string): GetEnvironmentDefinition;
1538
- /** Resource for '/projects/\{projectName\}/environmentTypes' has methods for the following verbs: get */
1539
- (path: "/projects/{projectName}/environmentTypes", projectName: string): ListEnvironmentTypes;
1540
- }
1541
-
1542
- /** A Schedule to execute action. */
1543
- export declare interface ScheduleOutput {
1544
- /** Display name for the Schedule */
1545
- readonly name: string;
1546
- /**
1547
- * Supported type this scheduled task represents.
1548
- *
1549
- * Possible values: StopDevBox
1550
- */
1551
- type: string;
1552
- /**
1553
- * The frequency of this scheduled task.
1554
- *
1555
- * Possible values: Daily
1556
- */
1557
- frequency: string;
1558
- /** The target time to trigger the action. The format is HH:MM. */
1559
- time: string;
1560
- /** The IANA timezone id at which the schedule should execute. */
1561
- timeZone: string;
1562
- }
1563
-
1564
- export declare interface SkipAction {
1565
- /** Skips an occurrence of an action. */
1566
- post(options?: SkipActionParameters): StreamableMethod<SkipAction204Response | SkipActionDefaultResponse>;
1567
- }
1568
-
1569
- /** There is no content to send for this request, but the headers may be useful. */
1570
- export declare interface SkipAction204Response extends HttpResponse {
1571
- status: "204";
1572
- }
1573
-
1574
- export declare interface SkipActionDefaultHeaders {
1575
- /** String error code indicating what went wrong. */
1576
- "x-ms-error-code"?: string;
1577
- }
1578
-
1579
- export declare interface SkipActionDefaultResponse extends HttpResponse {
1580
- status: string;
1581
- body: ErrorResponse;
1582
- headers: RawHttpHeaders & SkipActionDefaultHeaders;
1583
- }
1584
-
1585
- export declare type SkipActionParameters = RequestParameters;
1586
-
1587
- export declare interface StartDevBox {
1588
- /** Starts a Dev Box */
1589
- post(options?: StartDevBoxParameters): StreamableMethod<StartDevBox202Response | StartDevBoxDefaultResponse>;
1590
- }
1591
-
1592
- export declare interface StartDevBox202Headers {
1593
- /** The location for monitoring the operation state. */
1594
- "operation-location": string;
1595
- }
1596
-
1597
- /** The request has been accepted for processing, but processing has not yet completed. */
1598
- export declare interface StartDevBox202Response extends HttpResponse {
1599
- status: "202";
1600
- body: OperationStatusOutput;
1601
- headers: RawHttpHeaders & StartDevBox202Headers;
1602
- }
1603
-
1604
- export declare interface StartDevBoxDefaultHeaders {
1605
- /** String error code indicating what went wrong. */
1606
- "x-ms-error-code"?: string;
1607
- }
1608
-
1609
- export declare interface StartDevBoxDefaultResponse extends HttpResponse {
1610
- status: string;
1611
- body: ErrorResponse;
1612
- headers: RawHttpHeaders & StartDevBoxDefaultHeaders;
1613
- }
1614
-
1615
- /** The final response for long-running StartDevBox operation */
1616
- export declare interface StartDevBoxLogicalResponse extends HttpResponse {
1617
- status: "200";
1618
- body: OperationStatusOutput;
1619
- }
1620
-
1621
- export declare type StartDevBoxParameters = RequestParameters;
1622
-
1623
- export declare interface StopDevBox {
1624
- /** Stops a Dev Box */
1625
- post(options?: StopDevBoxParameters): StreamableMethod<StopDevBox202Response | StopDevBoxDefaultResponse>;
1626
- }
1627
-
1628
- export declare interface StopDevBox202Headers {
1629
- /** The location for monitoring the operation state. */
1630
- "operation-location": string;
1631
- }
1632
-
1633
- /** The request has been accepted for processing, but processing has not yet completed. */
1634
- export declare interface StopDevBox202Response extends HttpResponse {
1635
- status: "202";
1636
- body: OperationStatusOutput;
1637
- headers: RawHttpHeaders & StopDevBox202Headers;
1638
- }
1639
-
1640
- export declare interface StopDevBoxDefaultHeaders {
1641
- /** String error code indicating what went wrong. */
1642
- "x-ms-error-code"?: string;
1643
- }
1644
-
1645
- export declare interface StopDevBoxDefaultResponse extends HttpResponse {
1646
- status: string;
1647
- body: ErrorResponse;
1648
- headers: RawHttpHeaders & StopDevBoxDefaultHeaders;
1649
- }
1650
-
1651
- /** The final response for long-running StopDevBox operation */
1652
- export declare interface StopDevBoxLogicalResponse extends HttpResponse {
1653
- status: "200";
1654
- body: OperationStatusOutput;
1655
- }
1656
-
1657
- export declare type StopDevBoxParameters = StopDevBoxQueryParam & RequestParameters;
1658
-
1659
- export declare interface StopDevBoxQueryParam {
1660
- queryParameters?: StopDevBoxQueryParamProperties;
1661
- }
1662
-
1663
- export declare interface StopDevBoxQueryParamProperties {
1664
- /** Optional parameter to hibernate the dev box. */
1665
- hibernate?: boolean;
1666
- }
1667
-
1668
- /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */
1669
- export declare interface StopOnDisconnectConfigurationOutput {
1670
- /**
1671
- * Indicates whether the feature to stop the devbox on disconnect once the grace
1672
- * period has lapsed is enabled.
1673
- *
1674
- * Possible values: Enabled, Disabled
1675
- */
1676
- status: string;
1677
- /**
1678
- * The specified time in minutes to wait before stopping a Dev Box once disconnect
1679
- * is detected.
1680
- */
1681
- gracePeriodMinutes?: number;
1682
- }
1683
-
1684
- /** Storage settings for the Dev Box's disks */
1685
- export declare interface StorageProfile {
1686
- /** Settings for the operating system disk. */
1687
- osDisk?: OSDisk;
1688
- }
1689
-
1690
- /** Storage settings for the Dev Box's disks */
1691
- export declare interface StorageProfileOutput {
1692
- /** Settings for the operating system disk. */
1693
- osDisk?: OSDiskOutput;
1694
- }
1695
-
1696
- export { }