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